Re: new SQLAlchemy dialect; Python 3?

Skip Montanaro <[email protected]> Wed, 5 Oct 2016 16:56:48 -0500
Newsgroups gmane.comp.python.sybase
Message-ID <CANc-5UymBkQ=N5wmytLXe27346nH0gFZyC-a8MbN63ri_zh+Vw@mail.gmail.com>
--===============4976917868601734321==
Content-Type: multipart/alternative; boundary=001a113dc44e020d93053e25415f

--001a113dc44e020d93053e25415f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks for the reply, S=C3=A9bastien. As I only have another couple days le=
ft at
my current job, I am unlikely to do much more with it. It still builds and
seems to run okay on Python 2. I get an early core dump from the Python 3
code. Valgrind complains about ctx_alloc I think. I don't have that output
in front of me at the moment. I'll pass along an error message tomorrow.

I did a checkout from the Subversion repo, so hopefully I am using the
latest code. I do notice that it still says "0.40" though.

Skip


On Tue, Apr 20, 2010 at 9:12 AM, S=C3=A9bastien Sabl=C3=A9 <
[email protected]> wrote:

> Hi Mic,
>
> great to hear about that SQLAlchemy will support Sybase.
>
> You should note that python-sybase is unfortunately not perfectly DBAPI
> compliant because of some limitations of sybase which make it hard to
> perfectly follow the specification (problems with nested requests
> notably). If you encounter such problem, and can reproduce it with a
> unitary test, I would be happy to help correct it in python-sybase.
>
> Also please note that the trunk has quite a lot of bug corrections
> compared to the last release, so I would suggest to use it rather than
> the latest official release (I should take some time to make a new
> release).
>
> The development of python-sybase is rather slow at the moment; I work on
> it for the needs of a legacy project at my work, but Sybase is not the
> priority at the moment and so I mostly do maintenance and small bug
> corrections. I didn't have time to make a proper release for a long
> time, though I hope to have more free time for that this summer.
>
> At some stage we will have to get the legacy project on which I work to
> support sybase in the latest version. When that will happen I will be
> able to dedicate a full month or 2 to improve python-sybase, mostly
> concerning performances (and unicode support). I should be able to also
> check Python 3 compatibility  at the same time. But in the meantime, I
> can only ensure small bugs corrections and answering to emails.
>
> regards
>
> --
> S=C3=A9bastien Sabl=C3=A9
>
>
>
> Michael Bayer a =C3=A9crit :
> > Hi there -
> >
> > I just wanted to give the developers a heads up that SQLAlchemy 0.6 wil=
l
> > feature a new Sybase ASE dialect that defaults to using Python-Sybase a=
s
> > its backend.  I finally got a test ASE server up over the weekend and
> > managed to get a rudimental Sybase conversation going on with this
> driver.
> >
> > Was also wondering about the development schedule of the driver, I see
> the
> > last release was in 2008.  Are there any plans to add Python 3 support =
to
> > this driver ?    When installing via Distribute, if the setup.py file
> > specifies a "2to3" flag then Distribute will automatically run the sour=
ce
> > code through the 2to3 tool before installing.   I've now created Python=
 3
> > versions of three different libraries (Mako, Beaker, SQLAlchemy) in thi=
s
> > way and its pretty straightforward.
> >
> > thanks for your efforts on this driver !
> >
> > - mike
> >
> > ------------------------------------------------------------
> ------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Python-sybase-misc mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc
> >
>
>
> ------------------------------------------------------------
> ------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Python-sybase-misc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/python-sybase-misc
>

--001a113dc44e020d93053e25415f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the reply, S=C3=A9bastien. As I only have anoth=
er couple days left at my current job, I am unlikely to do much more with i=
t. It still builds and seems to run okay on Python 2. I get an early core d=
ump from the Python 3 code. Valgrind complains about ctx_alloc I think. I d=
on&#39;t have that output in front of me at the moment. I&#39;ll pass along=
 an error message tomorrow.<div><br></div><div>I did a checkout from the Su=
bversion repo, so hopefully I am using the latest code. I do notice that it=
 still says &quot;0.40&quot; though.</div><div><br></div><div>Skip</div><di=
v><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>On Tue, Apr 20, 2010 at 9:12 AM, S=C3=A9bastien Sabl=C3=A9 <span dir=3D"lt=
r">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">sab=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">Hi Mic,<br>
<br>
great to hear about that SQLAlchemy will support Sybase.<br>
<br>
You should note that python-sybase is unfortunately not perfectly DBAPI<br>
compliant because of some limitations of sybase which make it hard to<br>
perfectly follow the specification (problems with nested requests<br>
notably). If you encounter such problem, and can reproduce it with a<br>
unitary test, I would be happy to help correct it in python-sybase.<br>
<br>
Also please note that the trunk has quite a lot of bug corrections<br>
compared to the last release, so I would suggest to use it rather than<br>
the latest official release (I should take some time to make a new release)=
.<br>
<br>
The development of python-sybase is rather slow at the moment; I work on<br=
>
it for the needs of a legacy project at my work, but Sybase is not the<br>
priority at the moment and so I mostly do maintenance and small bug<br>
corrections. I didn&#39;t have time to make a proper release for a long<br>
time, though I hope to have more free time for that this summer.<br>
<br>
At some stage we will have to get the legacy project on which I work to<br>
support sybase in the latest version. When that will happen I will be<br>
able to dedicate a full month or 2 to improve python-sybase, mostly<br>
concerning performances (and unicode support). I should be able to also<br>
check Python 3 compatibility=C2=A0 at the same time. But in the meantime, I=
<br>
can only ensure small bugs corrections and answering to emails.<br>
<br>
regards<br>
<br>
--<br>
S=C3=A9bastien Sabl=C3=A9<br>
<br>
<br>
<br>
Michael Bayer a =C3=A9crit :<br>
<div class=3D"HOEnZb"><div class=3D"h5">&gt; Hi there -<br>
&gt;<br>
&gt; I just wanted to give the developers a heads up that SQLAlchemy 0.6 wi=
ll<br>
&gt; feature a new Sybase ASE dialect that defaults to using Python-Sybase =
as<br>
&gt; its backend.=C2=A0 I finally got a test ASE server up over the weekend=
 and<br>
&gt; managed to get a rudimental Sybase conversation going on with this dri=
ver.<br>
&gt;<br>
&gt; Was also wondering about the development schedule of the driver, I see=
 the<br>
&gt; last release was in 2008.=C2=A0 Are there any plans to add Python 3 su=
pport to<br>
&gt; this driver ?=C2=A0 =C2=A0 When installing via Distribute, if the setu=
p.py file<br>
&gt; specifies a &quot;2to3&quot; flag then Distribute will automatically r=
un the source<br>
&gt; code through the 2to3 tool before installing.=C2=A0 =C2=A0I&#39;ve now=
 created Python 3<br>
&gt; versions of three different libraries (Mako, Beaker, SQLAlchemy) in th=
is<br>
&gt; way and its pretty straightforward.<br>
&gt;<br>
&gt; thanks for your efforts on this driver !<br>
&gt;<br>
&gt; - mike<br>
&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
------------------<br>
&gt; Download Intel&amp;#174; Parallel Studio Eval<br>
&gt; Try the new software tools for yourself. Speed compiling, find bugs<br=
>
&gt; proactively, and fine-tune applications for parallel performance.<br>
&gt; See why Intel Parallel Studio got high marks during beta.<br>
&gt; <a href=3D"http://p.sf.net/sfu/intel-sw-dev" rel=3D"noreferrer" target=
=3D"_blank">http://p.sf.net/sfu/intel-sw-<wbr>dev</a><br>
&gt; ______________________________<wbr>_________________<br>
&gt; Python-sybase-misc mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Python-syb=
ase-misc@lists.<wbr>sourceforge.net</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/python-sybase-=
misc" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<w=
br>lists/listinfo/python-sybase-<wbr>misc</a><br>
&gt;<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-------------<br>
Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href=3D"http://p.sf.net/sfu/intel-sw-dev" rel=3D"noreferrer" target=3D"_=
blank">http://p.sf.net/sfu/intel-sw-<wbr>dev</a><br>
______________________________<wbr>_________________<br>
Python-sybase-misc mailing list<br>
<a href=3D"mailto:[email protected]">Python-sybase-m=
isc@lists.<wbr>sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/python-sybase-misc"=
 rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>li=
sts/listinfo/python-sybase-<wbr>misc</a><br>
</div></div></blockquote></div><br></div>

--001a113dc44e020d93053e25415f--


--===============4976917868601734321==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============4976917868601734321==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Python-sybase-misc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-sybase-misc

--===============4976917868601734321==--