[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2008-09-27 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Jesse, how much (if any) of the rest of the package will work without the synchronize module? If it isn't a lot, then it may be a matter of just making this a cleaner ImportError and an expected test suite skip on OpenBSD and FreeBSD. (Unfortun

[issue3864] 26.rc1: test_signal issue on FreeBSD 6.3

2008-09-27 Thread Andrew I MacIntyre
Andrew I MacIntyre <[EMAIL PROTECTED]> added the comment: The tests are passing on FreeBSD 7.0 (only checked amd64 at this point). I came across a reference to an errata notice for FreeBSD 6.x which appears pertinent: http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc As I r

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-27 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I haven't yet found out how to turn on compression when getting the branches, so I've only looked at lp:~pythonregexp2.7/python/issue2636+01+09-02+17+18+19+20+21+24+26. I did see that the SRE_FLAG_REVERSE flag was missing. BTW, I ran re.find

[issue459007] Document sys.path on Windows

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: I think this item doesn't need to be handled by Mark. There's a comment at the top of PC/getpathp.c giving the rules, so it's just a matter of editing the text and adding reST markup. But where in the docs should this material go? using/wi

[issue1415508] optparse enable_interspersed_args disable_interspersed_args

2008-09-27 Thread A.M. Kuchling
Changes by A.M. Kuchling <[EMAIL PROTECTED]>: -- assignee: gward -> akuchling ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-b

[issue1415508] optparse enable_interspersed_args disable_interspersed_args

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: Added to the documentation in rev. 3; thanks for your patch! Barry, there's also a patch adding two docstrings to optparse.py. Is it OK to add docstrings at the rc level, or should I wait until the trunk is re-opened for 2.7? (Actually,

[issue2127] sqlite3 docs should mention utf8 requirement

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: vdupras's test case now passes with Python 2.6; we should apply the patch to the test suite, though. We could ask Barry if he wants to apply it to 2.6rc, or adding the test can wait until 2.7. -- nosy: +akuchling ___

[issue1579477] Use flush() before os.exevp()

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: A paragraph has been added in rev. 2, using a modified version of your text. Thanks for your suggestion! -- nosy: +akuchling resolution: -> fixed status: open -> closed ___ Python tracker <[EM

[issue3939] Patch to implement a real ftplib test suite

2008-09-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Giampaolo, I'm seeing some failures on the buildbots like this: http://python.org/dev/buildbot/stable/ia64%20Ubuntu%203.0/builds/612/step-test/0 Do you know where they are arising from? ___ Python track

[issue1525919] email package quoted printable behaviour changed

2008-09-27 Thread Asheesh Laroia
Asheesh Laroia <[EMAIL PROTECTED]> added the comment: Another way to see this issue is that the email module double-encodes when one attempts to use quoted-printable encoding. This has to be worked around by e.g. MoinMoin. It's easy to get proper base64-encoded output of email.mime.text:

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2008-09-27 Thread Damien Miller
Damien Miller <[EMAIL PROTECTED]> added the comment: For 2.6/3.0 it would probably be best to just disable the module entirely on platforms that lack shareable semaphores (OpenBSD & FreeBSD at least) ___ Python tracker <[EMAIL PROTECTED]>

[issue3926] Idle doesn't obey the new improved warnings arguements

2008-09-27 Thread Scott David Daniels
Scott David Daniels <[EMAIL PROTECTED]> added the comment: Here is a test for the fixes provided. Added file: http://bugs.python.org/file11637/test_idle_warnings.py ___ Python tracker <[EMAIL PROTECTED]>

[issue3926] Idle doesn't obey the new improved warnings arguements

2008-09-27 Thread Scott David Daniels
Scott David Daniels <[EMAIL PROTECTED]> added the comment: OK, Issues: 1) warnings.py I/O errors in formatwarning will be masked and misinterpreted as failures to write on stderr, and no output will be attempted. 2) warnings.py A line with of whitespace will be shown, rather than suppress

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-27 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: -needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-b

[issue3510] Site-specific configuration hook documentation incorrect

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: Changed in rev. 0 to use the X.Y form. Thanks! -- nosy: +akuchling resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3457] Release notes for 2.6b2 call it an alpha release

2008-09-27 Thread A.M. Kuchling
A.M. Kuchling <[EMAIL PROTECTED]> added the comment: The web pages seem to have been updated to correctly describe the releases (now, they're release candidates). Thanks for your report! -- nosy: +akuchling resolution: -> fixed status: open -> closed _

[issue1593035] readline problem on ia64-unknown-linux-gnu

2008-09-27 Thread Henry Precheur
Henry Precheur <[EMAIL PROTECTED]> added the comment: This problem was probably solved in issue #1204. -- nosy: +henry.precheur ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3911] ftplib.FTP.makeport() bug

2008-09-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66656. -- priority: -> release blocker resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-09-27 Thread Henry Precheur
Henry Precheur <[EMAIL PROTECTED]> added the comment: I just tested the patch and it fixes the problem. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3981] Python 3, IDLE does not start

2008-09-27 Thread bahiminin
bahiminin <[EMAIL PROTECTED]> added the comment: The version of Python whose IDLE doesn't work have been installed using the following installer package, Python-3.0rc1.msi, that I have downloaded from your site. I have also installed another version with the Python-2.5.2.msi installer. This one w

[issue3982] support .format for bytes

2008-09-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > I'm working on the tests for ftplib. [1] The dummy server uses string > formatting to build responses. I see. I propose to add a method push_string, defined as def push_string(self, s): self.push(s.encode("ascii") In FTP, the res

[issue3982] support .format for bytes

2008-09-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Sat, Sep 27, 2008 at 12:35 PM, Martin v. Löwis <[EMAIL PROTECTED]> wrote: > > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > > I'm skeptical. What networking code specifically are you using, and what > specifically does it use

[issue3982] support .format for bytes

2008-09-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I'm skeptical. What networking code specifically are you using, and what specifically does it use string formatting for? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]>

[issue3982] support .format for bytes

2008-09-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Sat, Sep 27, 2008 at 12:33 PM, Eric Smith <[EMAIL PROTECTED]> wrote: > > Eric Smith <[EMAIL PROTECTED]> added the comment: > > Yes, it would be easy to add. Maybe bring this up on python-dev (or > python-3000) to get consensus? Yes, tha

[issue3982] support .format for bytes

2008-09-27 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: Yes, it would be easy to add. Maybe bring this up on python-dev (or python-3000) to get consensus? Are we in feature freeze for 3.0? ___ Python tracker <[EMAIL PROTECTED]> __

[issue3981] Python 3, IDLE does not start

2008-09-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Can you please be more specific what precise version you have been trying? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> __

[issue2876] Write UserDict fixer for 2to3

2008-09-27 Thread Nick Edds
Nick Edds <[EMAIL PROTECTED]> added the comment: Here is a fixer and test suite for the UserDict. It doesn't do a very good job handling imports with 'as' right now, but it's core functionality appears to be working. If I get a chance I will improve its handling of 'as' cases at some point in the

[issue3740] PEP 3121 --- module state is not nul-initalized as claimed in the PEP

2008-09-27 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: The state (md_state) is set to NULL in PyModule_New(name). However PyModule_Create(mod) allocates memory iff the module size (m_size) isn't 0. -- components: +Documentation nosy: +christian.heimes priority: -> critical ___

[issue3982] support .format for bytes

2008-09-27 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: I just working on porting some networking code from 2.x to 3.x and it heavily uses string formatting. Since bytes don't support any kind of formatting, it's becoming tedious and inelegant to do it with "+". Can .format be supported in byt

[issue3740] PEP 3121 --- module state is not nul-initalized as claimed in the PEP

2008-09-27 Thread Paul Pogonyshev
Paul Pogonyshev <[EMAIL PROTECTED]> added the comment: Ping. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubsc

[issue2832] Line numbers reported by extract_stack are offset by the #-*- encoding line

2008-09-27 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> [Py3k] line number is wrong after encoding declaration ___ Python tracker <[EMAIL PROTECTED]>

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Issue 2832 is a duplicate. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-09-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Ooops, my first version introduces a regression: if file open fails, the traceback printing was stopped. Here is a new version of my patch to support #coding: header in _Py_DisplaySourceLine(). It doesn't print the line of file open fails,

[issue2832] Line numbers reported by extract_stack are offset by the #-*- encoding line

2008-09-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: This bug is a duplicate of the issue 2384: I tried your example with the patch tokenizer-coding-2.patch and your bug is fixed: * first example (no coding): this is line 3 * second example (with coding): this is line 4 -- nosy: +hay

[issue3187] os.listdir can return byte strings

2008-09-27 Thread Dwayne Litzenberger
Dwayne Litzenberger <[EMAIL PROTECTED]> added the comment: On Sat, Sep 27, 2008 at 01:15:46AM +, Guido van Rossum wrote: > I don't see the advantage over the existing rule bytes in -> bytes out... Guido, I figure I should say something since I have some experience in this area. I wrote som

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-27 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11610/tokenizer-coding.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-09-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: getcwd() fails with "NOT FOUNT" (not foun*d*?) if the current directory filename can't be converted to unicode (str type). Here is a patch to fallback to bytes if creation of the unicode failed. Added file: http://bugs.python.org/file11632/

[issue433029] SRE: posix classes aren't supported

2008-09-27 Thread Fredrik Lundh
Fredrik Lundh <[EMAIL PROTECTED]> added the comment: Yes, this refers to the POSIX character classes as described here: http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html (Ideally, there should be an (internal) API that lets you register class definitions from the Python le

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse versions: +Python 2.7 ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue1519638] Unmatched Group issue - workaround

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- versions: +Python 2.7 -Python 2.5 ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1519638] Unmatched Group issue - workaround

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3665] Support \u and \U escapes in regexes

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3299] invalid object destruction in re.finditer()

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- versions: +Python 2.7 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue3482] re.split, re.sub and re.subn should support flags

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3482] re.split, re.sub and re.subn should support flags

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3665] Support \u and \U escapes in regexes

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3981] Python 3, IDLE does not start

2008-09-27 Thread bahiminin
New submission from bahiminin <[EMAIL PROTECTED]>: I have Windows XP with Live OneCare as protection. Python 3 IDLE won't start because of sub-process issues while Python 2.5.2 IDLE does start without any problem. -- messages: 73923 nosy: dah severity: normal status: open title: Python 3

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks for the patch. I have now integrated this patch into externals/tix-8.4.3.1 (along with a patch to compile it for AMD64). Demo installers including this code are available at http://www.dcl.hpi.uni-potsdam.de/home/loewis/u/python-2.6.1

[issue3978] ZipFileExt.read() can be incredibly slow

2008-09-27 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Very interesting, but it will have to wait for 2.7/3.1. 2.6 and 3.0 are in the final phases of the release process. -- nosy: +pitrou priority: -> normal versions: +Python 3.1 -Python 2.6 ___ Pytho

[issue3187] os.listdir can return byte strings

2008-09-27 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11210/invalid_filename.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-09-27 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11189/filename.py ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2008-09-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I reproduce the test failure very consistently, on both win2k and winXP, and may be of some help to test stuff. -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]>