[issue3809] test_logging leaving a 'test.blah' file behind

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Tue, Sep 9, 2008 at 6:43 AM, Vinay Sajip <[EMAIL PROTECTED]> wrote: > > Vinay Sajip <[EMAIL PROTECTED]> added the comment: > > Fix checked into trunk - revision 66337. > Did anyone do a code review for this?

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It was a (lame attempt at a) joke... sorry :D ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Bumping priority even further. This shouldn't make it past rc. -- priority: critical -> release blocker ___ Python tracker <[EMAIL PROTECTED]> _

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2008-09-09 Thread Forest Wilkinson
Changes by Forest Wilkinson <[EMAIL PROTECTED]>: -- nosy: +janssen ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue3472] Updates to "Macintosh Library Modules" Section 1.1

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Done in r66350. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2008-09-09 Thread Forest Wilkinson
Forest Wilkinson <[EMAIL PROTECTED]> added the comment: This problem also exists in the add-on ssl module for python < 2.6: http://pypi.python.org/pypi/ssl/ ___ Python tracker <[EMAIL PROTECTED]> _

[issue3818] ftplib.FTP.abort() should consider "225" a positive response code to ABOR

2008-09-09 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> ftplib: ABOR does not consider 225 response code ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1441530] socket read() can cause MemoryError in Windows

2008-09-09 Thread Anthony Lenton
Anthony Lenton <[EMAIL PROTECTED]> added the comment: I confirm that the bug occurs with Python 2.5.1 on Windows XP. Also, anglocelt's fix worked fine for me. -- nosy: +elachuni ___ Python tracker <[EMAIL PROTECTED]>

[issue3318] Documentation: timeit: "lower bound" should read "upper bound"

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Sadly, this is not mathematics. Else, I'd concur that the designation "lower bound" should be accurate with respect to a certain set. I fail to see what is missing in the explanation "the lowest value is a lower bound *in a typical case*". It a

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I noticed test_tarfile on py3k fails like this. == ERROR: test_directory_size (__main__.WriteTest) --

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66352. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2008-09-09 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> janssen ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-li

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Matthew Barnett
New submission from Matthew Barnett <[EMAIL PROTECTED]>: This is a major reworking of the re module in Python 2.5.2. Added atomic groups. Added possessive quantifiers. Lookbehinds can now be variable length. Typically x2 faster. More changes to follow. -- components: Regular Expression

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Rather than arguing about the necessity of including the license > of a 3rd party file that we intend to include in a wide-spread > software release, wouldn't it be easier to just add the file > and be done with it, like I suggested at the

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: There is a stand-alone installer for it, but I don't have the time to google for it right now (it was announced in earlier alpha releases, when the CRT wasn't included - it has "redistributable" in its name). Notice that this installer is not

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Alternatively, you can install 2.6 first. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ P

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Very interesting! Have you seen #3626? Another thing to note is that this will have to wait for 2.7 before it could potentially be integrated into the trunk. -- nosy: +benjamin.peterson versions: +Python 2.7 -Python 2.5 __

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Hi, This looks impressive. You should really work from the current SVN trunk, not from the 2.5 sources, as there were some additions to the re module (mainly, a bytecode verifier contributed by Google). Also, if it can be split into several

[issue3826] Self-reference in BaseHTTPRequestHandler descendants causes stuck connections

2008-09-09 Thread romkyns
New submission from romkyns <[EMAIL PROTECTED]>: See example code attached. A very basic http server responds with an XML document to any GET request. I think what happens is that the connection remains open at the end of the request, leading the browser to believe there's more data to come (and

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I think you should use the locale's encoding to process the data, ie. either mbstowcs, then Unicode from wchar_t, or decode with the nl_langinfo(CODESET) encoding. You might have to set the locale before this can work (which isn't thread-safe

[issue2859] sphinx and virtualenv

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This is a known issue with Jinja, and will hopefully be fixed in its next release. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: This sounds really neat. but as Anotine said it'll be several weeks before any of us can give this serious attention. Definitely update to trunk and base your work off of that. quick comments: Your _sre.c diff appears to remove and rep

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: weird typo: s/f lea/formats/ ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-09-09 23:09, Martin v. Löwis wrote: > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > >> Rather than arguing about the necessity of including the license >> of a 3rd party file that we intend to include in a wide-spread >

[issue3809] test_logging leaving a 'test.blah' file behind

2008-09-09 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Sorry, no - whoops. It was a minor test data change which introduced the problem...I didn't think it was worth wasting anyone's time (I ran regrtest, which passed, before checkin) but if you tell me that *all* changes need to be reviewed, I'll ma

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Guido's patch breaks these tests: test_descr test_hash test_long test_richcmp test_set ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks for the report! This was due to a docutils 0.4/0.5 incompatibility, which should now be fixed in r66355. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: No worries - the only reason I suggested full reversion at all is because I had temporarily forgotten why the relocation had become so necessary (i.e. we needed the feature ourselves in the main part of the standard library to avoid emitting spu

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > We've had the same issue with the OpenSSL license and the other > 3rd party packages which come with the Python Windows installer. No, the issue was completely different. Those licenses literally say "include a copy of the license text" (e

[issue2619] Document PEP 3118

2008-09-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I documented the memoryview object in r66357. If you're really nice to me, maybe I'll do the C-API, too. :) -- priority: critical -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue3827] memoryview.size is redundant

2008-09-09 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: memoryview.size will always be the same as len(view), so one or the other should go. (probably .size) -- components: Interpreter Core messages: 72929 nosy: benjamin.peterson priority: release blocker severity: normal status: open

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Here's a patch that adds the MS EULA to the MSI installer. I couldn't test this, since I don't have a Python build environment on Windows, but it should be more or less working. -- keywords: +patch Added file: http://bugs.python.

[issue3827] memoryview.size is redundant

2008-09-09 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: +needs review, patch Added file: http://bugs.python.org/file11450/remove_size_attr.patch ___ Python tracker <[EMAIL PROTECTED]> _

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-09-10 00:15, Martin v. Löwis wrote: > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > >> We've had the same issue with the OpenSSL license and the other >> 3rd party packages which come with the Python Windows installer.

[issue3827] memoryview.size is redundant

2008-09-09 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- nosy: +teoliphant ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

[issue3827] memoryview.size is redundant

2008-09-09 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: The patch is ok to me. -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Matthew Barnett
Changes by Matthew Barnett <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11447/regex_2.5.2.diff ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-09 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Corrected the diff file. I worked from Python 2.5.2 because that's what I'm currently using. I'll work from the trunk in future. Added file: http://bugs.python.org/file11451/regex_2.5.2.diff ___ Python tr

[issue3817] ftplib: ABOR does not consider 225 response code

2008-09-09 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: No, Georg Brandl already closed that one. Sorry for the duplicate, it was accidental. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2008-09-09 Thread Bill Janssen
Changes by Bill Janssen <[EMAIL PROTECTED]>: -- resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2008-09-09 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Sorry to be so brief there -- I was off on vacation. Verifying hostnames is a prescription that someone (well, OK, Eric Rescorla, who knows what he's talking about) put in the https IETF RFC (which, by the way, is only an informational RFC, not

[issue3809] test_logging leaving a 'test.blah' file behind

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Tue, Sep 9, 2008 at 3:00 PM, Vinay Sajip <[EMAIL PROTECTED]> wrote: > > Vinay Sajip <[EMAIL PROTECTED]> added the comment: > > Sorry, no - whoops. It was a minor test data change which introduced the > problem...I didn't think it was worth wa

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Tue, Sep 9, 2008 at 3:13 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > > Nick Coghlan <[EMAIL PROTECTED]> added the comment: > > No worries - the only reason I suggested full reversion at all is > because I had temporarily forgotten why the r

[issue3827] memoryview.size is redundant

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Since this is a 3.0 thing I am dropping it down to a deferred blocker. -- nosy: +brett.cannon priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Since we are making 3.0 issues deferred blockers dropping the priority. -- nosy: +brett.cannon priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue3629] Python won't compile a regex that compiles with 2.5.2 and 30b2

2008-09-09 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Figured it out. Does anyone want to review? -- keywords: +needs review, patch Added file: http://bugs.python.org/file11452/fix3629.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3811] Update Unicode database to 5.1.0

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Guido, would you like to review? -- assignee: effbot -> gvanrossum nosy: +gvanrossum ___ Python tracker <[EMAIL PROTECTED]> _

[issue3642] Objects/obmalloc.c:529: warning: comparison is always false due to limited range of data type

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Going with what Martin suggested, the attached patch reverts what Christian did and adds an #ifdef sizeof(uint) <= sizeof(uint) around the PY_SIZE_MAX check. Someone should obviously test on an AMD64 machine (I have a Core 2 Mac, but I don't kno

[issue3642] Objects/obmalloc.c:529: warning: comparison is always false due to limited range of data type

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: It doesn't work that way - you can't use sizeof() in the preprocessor. Instead, the pyconfig.h constants should be used. I'll try to look into this later today. ___ Python tracker <[EMAIL PROTECTED]>

[issue3629] Python won't compile a regex that compiles with 2.5.2 and 30b2

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Patch seems okay and passes regrtest, although I have to admit I am not intimately familiar with sre or the new validator. -- nosy: +brett.cannon ___ Python tracker <[EMAIL PROTECTED]>

<    1   2