Hi--sorry to be a little late to the discussion. I'm the putz who
backported capsules (and monkeyed with CObject) for 2.7.
On 09/27/2010 07:44 PM, Jesus Cea wrote:
http://bugs.python.org/issue9675
Long history sort: Python 2.7 backported Capsule support and
(incorrectly, in my opinion) ma
On Wed, Sep 29, 2010 at 9:03 AM, Jesus Cea wrote:
> About converting the deprecation warning to a py3k warning... Would a
> py3k warning be converted to an error when python is invoked as "-We"?.
> If that is the case, we are in the same situation.
To unpack Guido's response slightly, Py3k specif
On Tue, Sep 28, 2010 at 4:03 PM, Jesus Cea wrote:
> On 29/09/10 00:56, Guido van Rossum wrote:
>> On Tue, Sep 28, 2010 at 3:23 PM, Amaury Forgeot d'Arc
>> wrote:
>>> 2010/9/28 Nick Coghlan :
Converting to a Py3k warning sounds like the best option.
>>>
>>> Can someone please explain why conv
2010/9/28 Amaury Forgeot d'Arc :
> 2010/9/29 Guido van Rossum :
>>> Can someone please explain why converting to a PyCapsule object is not
>>> an option?
>>> PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
>>> work as before.
>>
>> Because bsddb is an external module?
>
> Yes,
2010/9/29 Guido van Rossum :
> On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc
> wrote:
>> 2010/9/29 Guido van Rossum :
Can someone please explain why converting to a PyCapsule object is not
an option?
PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 29/09/10 01:06, Guido van Rossum wrote:
>>> Because bsddb is an external module?
>>
>> Yes, bsddb is compiled in a separate .pyd or .so. But what does this change?
>
> Because it needs to support multiple Python versions from single source?
Well,
On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc
wrote:
> 2010/9/29 Guido van Rossum :
>>> Can someone please explain why converting to a PyCapsule object is not
>>> an option?
>>> PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
>>> work as before.
>>
>> Because bsddb is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 29/09/10 00:56, Guido van Rossum wrote:
> On Tue, Sep 28, 2010 at 3:23 PM, Amaury Forgeot d'Arc
> wrote:
>> 2010/9/28 Nick Coghlan :
>>> Converting to a Py3k warning sounds like the best option.
>>
>> Can someone please explain why converting to a
2010/9/29 Guido van Rossum :
>> Can someone please explain why converting to a PyCapsule object is not
>> an option?
>> PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
>> work as before.
>
> Because bsddb is an external module?
Yes, bsddb is compiled in a separate .pyd or .so
On Tue, Sep 28, 2010 at 3:23 PM, Amaury Forgeot d'Arc
wrote:
> 2010/9/28 Nick Coghlan :
>> Converting to a Py3k warning sounds like the best option.
>
> Can someone please explain why converting to a PyCapsule object is not
> an option?
> PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsule
2010/9/28 Nick Coghlan :
> Converting to a Py3k warning sounds like the best option.
Can someone please explain why converting to a PyCapsule object is not
an option?
PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
work as before.
--
Amaury Forgeot d'Arc
___
On Tue, Sep 28, 2010 at 11:49 PM, Guido van Rossum wrote:
> It strikes me that in general deprecation warnings in 2.7 don't do
> anybody any good unless they're Py3k warnings. It sounds to me that
> there is no shame in removing the warning in Python 2.7 (or turning it
> into a Py3k warning -- nob
On Tue, Sep 28, 2010 at 8:18 AM, David Malcolm wrote:
[...]
> This breaks quite a few third-party modules, some with segfaults; we (as
> in Fedora) ran into this building with 2.7 as the
> standard /usr/bin/python for Fedora 14.
>
> We fixed some of them, but are advising people not to turn on war
On Tue, 28 Sep 2010 04:44:08 +0200
Jesus Cea wrote:
>
> But in python 2.7 release, CObject is marked as deprecated (arg!), so
> when executing python with -We (mark warnings as errors), bsddb fails.
By "fails" you mean "crashes the interpreter".
While the deprecation warning can be discussed, bs
On Tue, 2010-09-28 at 11:18 -0400, David Malcolm wrote:
> On Tue, 2010-09-28 at 04:44 +0200, Jesus Cea wrote:
[snip]
> > Long history and links to previous pronouncements in
> > http://bugs.python.org/issue9675
Re-reading my post, I realize that my wording was really unclear; sorry.
> >
> > My
On Tue, 2010-09-28 at 04:44 +0200, Jesus Cea wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> http://bugs.python.org/issue9675
>
> Long history sort: Python 2.7 backported Capsule support and
> (incorrectly, in my opinion) marked CObject as deprecated.
>
> All C modules in the stdlib
On Mon, Sep 27, 2010 at 7:44 PM, Jesus Cea wrote:
> http://bugs.python.org/issue9675
>
> Long history sort: Python 2.7 backported Capsule support and
> (incorrectly, in my opinion) marked CObject as deprecated.
>
> All C modules in the stdlib were updated to Capsule (with a CObject
> compatibility
Hi,
2010/9/28 Jesus Cea :
> http://bugs.python.org/issue9675
>
> Long history sort: Python 2.7 backported Capsule support and
> (incorrectly, in my opinion) marked CObject as deprecated.
>
> All C modules in the stdlib were updated to Capsule (with a CObject
> compatibility layer), except BSDDB, b
18 matches
Mail list logo