On Tue, Sep 28, 2010 at 8:17 AM, Guido van Rossum wrote:
> On Mon, Sep 27, 2010 at 2:21 PM, "Martin v. Löwis" wrote:
>>> Someone with web server access may want to double check the
>>> modification dates of the .txt files relative to the generated .html
>>> files for other PEPs though.
>>
>> make
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
On Mon, 27 Sep 2010 23:45:45 -0400
Steve Holden wrote:
> On 9/27/2010 11:27 PM, Benjamin Peterson wrote:
> > 2010/9/27 Meador Inge :
> >> which, as seen in the trace, is because the 'detect_encoding' function in
> >> 'Lib/tokenize.py' searches for 'BOM_UTF8' (a 'bytes' object) in the string
> >> t
On 28/09/2010 12:19, Antoine Pitrou wrote:
On Mon, 27 Sep 2010 23:45:45 -0400
Steve Holden wrote:
On 9/27/2010 11:27 PM, Benjamin Peterson wrote:
2010/9/27 Meador Inge:
which, as seen in the trace, is because the 'detect_encoding' function in
'Lib/tokenize.py' searches for 'BOM_UTF8' (a 'byt
On 28 September 2010 12:29, Michael Foord wrote:
> On 28/09/2010 12:19, Antoine Pitrou wrote:
>
>> On Mon, 27 Sep 2010 23:45:45 -0400
>> Steve Holden wrote:
>>
>>> On 9/27/2010 11:27 PM, Benjamin Peterson wrote:
>>>
2010/9/27 Meador Inge:
> which, as seen in the trace, is because
On Tue, Sep 28, 2010 at 9:29 PM, Michael Foord
wrote:
> On 28/09/2010 12:19, Antoine Pitrou wrote:
>> On Mon, 27 Sep 2010 23:45:45 -0400
>> Steve Holden wrote:
>>> On 9/27/2010 11:27 PM, Benjamin Peterson wrote:
Tokenize only works on bytes. You can open a feature request if you
desire
On Tue, Sep 28, 2010 at 7:09 AM, Nick Coghlan wrote:
> A feature request on the tracker is the best way to make that happen.
>
Done - http://bugs.python.org/issue9969. Thanks for the feedback everyone.
-- Meador
___
Python-Dev mailing list
Python-Dev
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
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 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, 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, 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, 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
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 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/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
-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
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 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,
Am 28.09.2010 05:45, schrieb Steve Holden:
> On 9/27/2010 11:27 PM, Benjamin Peterson wrote:
>> 2010/9/27 Meador Inge :
>>> which, as seen in the trace, is because the 'detect_encoding' function in
>>> 'Lib/tokenize.py' searches for 'BOM_UTF8' (a 'bytes' object) in the string
>>> to tokenize 'first
> I certainly wouldn't be opposed to an API that accepts a string as well
> though.
Notice that this can't really work for Python 2 source code (but of
course, it doesn't need to).
In Python 2, if you have a string literal in the source code, you need
to know the source encoding in order to get t
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
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,
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
On 29 Sep 2010, at 00:22, "Martin v. Löwis" wrote:
>> I certainly wouldn't be opposed to an API that accepts a string as well
>> though.
>
> Notice that this can't really work for Python 2 source code (but of
> course, it doesn't need to).
>
> In Python 2, if you have a string literal in the s
I see that Atlassian have just taken over BitBucket, the Mercurial
hosting company. IIRC Atlassian offered to host our issue tracking on
JIRA, but in the end we decided to eat our own dog food and went with
roundup.
I'm wondering if they'd be similarly interested in supporting our Hg
server. Or is
26 matches
Mail list logo