[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Sybase module 0.39pre1 released

Sébastien Sablé

2/12/2008 10:49:00 AM

WHAT IS IT:

The Sybase module provides a Python interface to the Sybase relational
database system. It supports all of the Python Database API, version
2.0 with extensions.

** This version is a pre-release not intended for production use **

The module is available here:

http://downloads.sourceforge.net/python-sybase/python-sybase-0.39p...

The module home page is here:

http://python-sybase.source...

MAJOR CHANGES SINCE 0.38:

* Added type mapping as proposed in
http://www.uniqsys.com/~carsten/ty... by Carsten Haese
* Handle engineer notation of numbers in numeric
* Added support for CS_DATE_TYPE
* Added support for python Decimal objects in databuf
* Possibility to use ct_cursor for some requests
* Refactoring - merged Fetchers, CTCursor and CmdCursor in Cursor
* Refactored _cancel_cmd
* Added a prepare method to Cursor
* Additional 'locale' argument to connect and Connection to set the
locale of the connection thanks to patch by Harri Pasanen
* Better compliance with DBAPI: returns None in nextset when no more
set
* Added conversion from string to int when assigning to a CS_INT_TYPE
DataBuf

BUGS CORRECTED SINCE 0.38:

* Corrected documentation about CS_CONTEXT Objects thanks to bug
report by Derek Harland (close tracker 1748109)
* Corrected bug in close() if connection killed from outside thanks to
patch by Derek Harland (close tracker 1746220)
* Corrected bug if inherit from Sybase.Connection thanks to patch by
Derek Harland (close tracker 1719789)
* Optimization in fetchall - using fetchmany instead of fetchone to
avoid locking time penalty, thanks to patch by Derek Harland (close
tracker 1746908)
* Corrections to compile with bcp-support against freetds thanks to
patch by Klaus-Martin Hansche (close tracker 1724088)
* Corrected documentation to compile with FreeTDS and Threads thanks
to Derek Harland (close tracker 1709043)
* Corrected bug in databuf_alloc: Sybase reports the wrong maxlength
for numeric type - verified with Sybase 12.5 - thanks to patch
provided by Phil Porter
* Better detection of Sybase libraries
* the C API to datetime only exists since python 2.4 - disable
datetime with previous versions
* Corrected python long handling (using CS_NUMERIC instead of CS_LONG
which is unspecified)
* Corrected various compilation warnings (some linked to python 2.5)

The full ChangeLog is here:

https://python-sybase.svn.sourceforge.net/svnroot/python-sybase/tags/r0_39pre1...

3 Answers

JohnB

10/16/2011 9:13:00 PM

0

On Oct 16, 9:37 pm, marcus <marcus...@yahoo.com> wrote:
> On Oct 16, 3:40 pm, Donna <tom.r...@ix.netcom.com> wrote:
>
>
>
>
>
>
>
>
>
> > On Oct 16, 1:53 pm, "who?" <yourimageunre...@sbcglobal.net> wrote:
>
> > > My youngest brother got the mumps. I walked to second grade and was
> > > sent home instantly with the measles.
> > > Which did you get? What song did you play?
>
> > What offbeat questions, but oh, well.  Mumps here.  My sister and I
> > had it together, and it's probably one of my earliest memories.  I
> > remember us jumping up and down on the bed while repeating, "The
> > mumps... the mumps... the mumps."  I can also hear "Goodbye Cruel
> > World" playing in the background as sunshine streamed into the room.
> > It amazes me that I can sometimes recall impressions from such an
> > early age.
>
> > Speaking of very early memories, I can also recall my mom feeding me
> > baby food from a jar as we sat in a park on a blanket.  And I can
> > remember grandpa pushing me in the baby swing, and also him getting
> > down on his knees with a smile and open arms, calling me by my first
> > and middle name.  I remember being in my crib and looking at the
> > decorative plaques on the wall... seeing the cat jump over the moon
> > and the dish running away with the spoon.  I remember my big sister
> > climbing into in the crib with me and making a tent with my blanket.
> > And I remember being in the car and going to a place that everyone
> > called Connecticut.  Looking up at the window, I saw us whizzing by a
> > lot of green trees.  What's astonishing to me is that I was under a
> > year old.
>
> That is simply amazing that you can remember that early in life.  I
> read an article recently stating that most people begin having a
> constant memory (that is they can remember something happening the day
> before etc) around age 4, whereas memories before that are not as
> clear.  I have a hazy memory of my father hanging me over our big
> kitchen sink trying to get me to spit up one of his cigarettes that i
> had in my mouth.  I had to be around 2 or so, as he quit smoking
> around then, and never smoked again.  But, my first clear memory is
> age 4 when the woman next door had a baby.  I remember running to her
> car as she and her husband came home with the newborn wrapped in a
> blanket.  I'm still friends with her sister, and today that "newborn
> baby" is 57 years old, and runs a mid-wife clinic...how ironic.

I struggle to really remember anything for certain before I was about
eight in that I can remember things but have no idea when they
occurred. I do know - because my parents told me - that over one
Christmas when I was about four, I had measles leading up to Christmas
day and my sister, a year younger, had chicken pox. Then on Christmas
day, we swapped. Probably the first things we ever exchanged at
Christmas :-)

Donna

10/16/2011 11:11:00 PM

0

On Oct 16, 4:37 pm, marcus <marcus...@yahoo.com> wrote:
>
> That is simply amazing that you can remember that early in life.  I
> read an article recently stating that most people begin having a
> constant memory (that is they can remember something happening the day
> before etc) around age 4, whereas memories before that are not as
> clear.  I have a hazy memory of my father hanging me over our big
> kitchen sink trying to get me to spit up one of his cigarettes that i
> had in my mouth.  I had to be around 2 or so, as he quit smoking
> around then, and never smoked again.

My gosh, you just brought back a few more memories. I remember being
bathed in our kitchen sink, so I must have been really small. And I
also just recalled a memory of everyone making a fuss because I passed
out while playing with my cousin. My dad heard me blowing a tiny,
plastic whistle (remember those?) a short time before fainting, so he
stuck his fingers down my throat, thinking that I had choked on it.


> But, my first clear memory is
> age 4 when the woman next door had a baby.  I remember running to her
> car as she and her husband came home with the newborn wrapped in a
> blanket.  I'm still friends with her sister, and today that "newborn
> baby" is 57 years old, and runs a mid-wife clinic...how ironic.-

Something similar happened to me, too, only I didn't make the
connection that my girlfriend was the infant that I saw until we were
both adults.

Before I end this, I just have to make a correction on my last post.
It was the COW who jumped over the moon, not the cat. He was too busy
playing his fiddle to be leaping around like that.

Donna

10/16/2011 11:14:00 PM

0

On Oct 16, 5:13 pm, JohnB <johnbo...@tinyworld.co.uk> wrote:
> On Oct 16, 9:37 pm, marcus <marcus...@yahoo.com> wrote:
>
> > That is simply amazing that you can remember that early in life.  I
> > read an article recently stating that most people begin having a
> > constant memory (that is they can remember something happening the day
> > before etc) around age 4, whereas memories before that are not as
> > clear.  I have a hazy memory of my father hanging me over our big
> > kitchen sink trying to get me to spit up one of his cigarettes that i
> > had in my mouth.  I had to be around 2 or so, as he quit smoking
> > around then, and never smoked again.  But, my first clear memory is
> > age 4 when the woman next door had a baby.  I remember running to her
> > car as she and her husband came home with the newborn wrapped in a
> > blanket.  I'm still friends with her sister, and today that "newborn
> > baby" is 57 years old, and runs a mid-wife clinic...how ironic.
>
> I struggle to really remember anything for certain before I was about
> eight in that I can remember things but have no idea when they
> occurred. I do know - because my parents told me - that over one
> Christmas when I was about four, I had measles leading up to Christmas
> day and my sister, a year younger, had chicken pox. Then on Christmas
> day, we swapped. Probably the first things we ever exchanged at
> Christmas :-)

That's cute. :)

And it's gift that keeps on giving.