[issue1741130] struct.pack(I, foo); struct.pack(L, foo) should fail

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Mark, Virgil: Thanks for correcting my wrong assessment! The lucky TypeError comes from rev 68120. It looks like that error message in trunk is due to a PyNumber_And(v, pylong_ulong_mask) when v isn't a PyNumber. I've added a get_pylong(v) ==

[issue4540] typo in a module describes utf-8 as uft-8

2009-05-12 Thread Supreet
Supreet supreet.se...@gmail.com added the comment: I faced similar issue. The solution is either to add tests as an exception in pydoc or to move tests to /usr/share or /usr/share/doc. I favor the second solution -- nosy: +djinn ___ Python tracker

[issue5752] xml.dom.minidom does not escape newline characters within attribute values

2009-05-12 Thread Francesco Sechi
Francesco Sechi francesco.se...@iet.unipi.it added the comment: My position is: if you want to encode the newline character, this should be done by both parseString and setAttribute methods. Otherwise, the behaviour is not symmetric. My patch translates the newline character with a whitespace

[issue6003] ZipFile.writestr compression_type argument

2009-05-12 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: Class zipfile.ZipFile has two methods for adding data to a zipfile: 'write' and 'writestr'. The former has a compression_type argument that can be used to specify the compression to be used. That latter doesn't have that argument.

[issue6004] ZipFile.writestr compression_type argument

2009-05-12 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: Class zipfile.ZipFile has two methods for adding data to a zipfile: 'write' and 'writestr'. The former has a compression_type argument that can be used to specify the compression to be used. That latter doesn't have that argument.

[issue6004] ZipFile.writestr compression_type argument

2009-05-12 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Too impatient while submitting the report... -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6004

[issue5995] unittest command line behaviour

2009-05-12 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: This commit caused a regression in command line behavior of modules using unittest.main(). Fixed in revision 72583. -- ___ Python tracker rep...@bugs.python.org

[issue1207] Load tests from path (patch included)

2009-05-12 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: See issue 6001 for a patch implementing test discovery for unittest. It would allow you to do: python -m unittest discover -- ___ Python tracker rep...@bugs.python.org

[issue1513299] Clean up usage of map() in the stdlib

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1513299

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +patch stage: - patch review versions: +Python 3.1 -Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2118 ___

[issue1569291] Speed-up in array_repeat()

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1569291 ___

[issue2958] update Lib/test/README

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +michael.foord stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2958 ___ ___

[issue1057417] New BaseSMTPServer module

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - feature request versions: +Python 2.7, Python 3.2 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1057417

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +benjamin.peterson, pitrou stage: - patch review versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2768

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Library (Lib), Unicode nosy: +haypo, loewis priority: - normal versions: +Python 2.6, Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue1724366] cPickle module doesn't work with universal line endings

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. -- components: +IO nosy: +ajaksu2, benjamin.peterson, pitrou stage: - test needed type: - behavior versions: +Python 2.6, Python 3.1 -Python 2.4 Added file:

[issue5265] StringIO can duplicate newlines in universal newlines mode

2009-05-12 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Perhaps I was wrong about 2.7. However, I'm using stock builds of Python 2.6.2 for Windows, both 32- and 64-bit, and I get the undesirable behavior. Apparently the problem is platform-specific. Should this issue go under a new ticket?

[issue2661] Mapping tests cannot be passed by user implementations

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Tests priority: - normal versions: +Python 3.1 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2661 ___

[issue1724366] cPickle module doesn't work with universal line endings

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Why would use a file in universal line endings mode for saving/loading pickles? Pickles are binary data (even if version 0 pickles happens to be human-readable), so you should open the files in binary mode (either rb or wb). -- versions:

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Please produce a single patch comprising all changes. Also, there seem to be some misindentations in the modified C code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2768

[issue2661] Mapping tests cannot be passed by user implementations

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2661 ___ ___ Python-bugs-list mailing

[issue1511] csv input converts \r\n to \n but csv output does not when a field has internal line breaks

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: I get different behavior in py3k compared to trunk: ~/trunk-py$ ./python issue1511_py3k.py [['foo', 'bar\r\nbaz\r\nbiff', 'boo']] 'foo,bar\r\nbaz\r\nbiff,boo\r\n' ~/trunk-py$ ../py3k/python issue1511_py3k.py [['foo', 'bar\nbaz\nbiff', 'boo']]

[issue5945] PyMapping_Check returns 1 for lists

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: - critical versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5945 ___

[issue1621] Do not assume signed integer overflow behavior

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +haypo stage: - patch review versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___

[issue1621] Do not assume signed integer overflow behavior

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___ ___ Python-bugs-list mailing

[issue1724366] cPickle module doesn't work with universal line endings

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Also, I don't understand how you confirmed this bug under py3k. Text files under py3k forbid bytes input, which is what pickle produces: pickle.dump([], sys.stdout) Traceback (most recent call last): File stdin, line 1, in module File

[issue6003] ZipFile.writestr compression_type argument

2009-05-12 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I will. I guess it's too late to merge this into 3.1 (as the first beta has already been released). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6003

[issue1142] code sample showing errors reading large files with py 2.5/3.0

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +IO nosy: +benjamin.peterson, pitrou stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1142

[issue6003] ZipFile.writestr compression_type argument

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I guess it's too late to merge this into 3.1 (as the first beta has already been released). Since the change should be small and uncontroversial, I think it could go in. Benjamin has the final word. -- nosy: +benjamin.peterson

[issue6000] compile error - PyNumber_InPlaceOr(newfree, allfree) 0

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm, PyNumber_InPlaceOr() returns a PyObject*, no wonder why the compiler complains. I suppose gcc and MSVC and /really/ laxist to let this error fall through. -- keywords: +easy nosy: +pitrou priority: - critical stage: - needs patch

[issue1511] csv input converts \r\n to \n but csv output does not when a field has internal line breaks

2009-05-12 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Daniel Daniel Diniz aja...@gmail.com added the comment: Daniel I get different behavior in py3k compared to trunk: Daniel ~/trunk-py$ ./python issue1511_py3k.py Daniel [['foo', 'bar\r\nbaz\r\nbiff', 'boo']] Daniel

[issue1511] csv input converts \r\n to \n but csv output does not when a field has internal line breaks

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: You're right, sorry about the noise. Closing as out of date. -- resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2142] naive use of ''.join(difflib.unified_diff(...)) results in bogus diffs with inputs that don't end with end-of-line char

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2142 ___

[issue3061] time.strftime() always decodes result with UTF-8

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3061 ___ ___ Python-bugs-list

[issue6005] Bug in socket example

2009-05-12 Thread Mads Kiilerich
New submission from Mads Kiilerich m...@kiilerich.com: http://docs.python.org/library/socket.html says about socket.send: Applications are responsible for checking that all data has been sent; if only some of the data was transmitted, the application needs to attempt delivery of the remaining

[issue4135] help(modules ftp) fails due to test modules

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: This is a duplicate of issue 4540. -- nosy: +ajaksu2 resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - typo in a module describes utf-8 as uft-8 ___ Python

[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +michael.foord stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1705520

[issue2537] re.compile(r'((x|y+)*)*') should fail

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2537 ___ ___ Python-bugs-list

[issue1693050] \w not helpful for non-Roman scripts

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1693050 ___ ___

[issue4947] sys.stdout fails to use default encoding as advertised

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski z...@chopin.edu.pl added the comment: The matter had been discussed (and not once...), IMO without satisfactory conclusion -- see: * http://bugs.python.org/issue612627 (the feature added) * http://bugs.python.org/issue1214889 (another feature rejected) *

[issue5201] Using LDFLAGS='-rpath=\$$LIB:/some/other/path' ./configure breaks the build

2009-05-12 Thread Floris Bruynooghe
Floris Bruynooghe floris.bruynoo...@gmail.com added the comment: Oh, sorry about the super() that is why the ar test failed then. Sorry, I got a little confused by the conflicting update on that file while working on this patch and must have merged it badly. --

[issue4947] sys.stdout fails to use default encoding as advertised

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski z...@chopin.edu.pl added the comment: PS. The main problem is not a lack of feature but that inconsistency, and that's not documented if File type docs: print my_file, my_unicode # - is encoded with my_file.encoding my_file.write(my_unicode) # - is encoded with

[issue4947] sys.stdout fails to use default encoding as advertised

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski z...@chopin.edu.pl added the comment: s / if File / in File s / -- works # - is encoded with my_file.encoding / # - is encoded with sys.stdout.encoding (sorry, too little sleep) -- ___ Python tracker rep...@bugs.python.org

[issue1552] fromfd() and socketpair() should return wrapped sockets

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review type: behavior - feature request versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1552

[issue6000] compile error - PyNumber_InPlaceOr(newfree, allfree) 0

2009-05-12 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The error's also in 3.0. -- nosy: +marketdickinson versions: +Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6000 ___

[issue4050] inspect.findsource() returns binary data for shared library modules

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: This bug seems to break help(C-module) in py3k after rev 70587: import pickle help(pickle) Traceback (most recent call last): File stdin, line 1, in module File ~/py3k/Lib/site.py, line 429, in __call__ return pydoc.help(*args, **kwds)

[issue1576598] ftplib doesn't follow standard

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +ftplib: Strict RFC 959 (telnet in command channel) status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1576598

[issue1676121] Problem linking to readline lib on x86(64) Solaris

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- resolution: - duplicate stage: test needed - committed/rejected status: pending - closed superseder: - documentation for new SSL module ___ Python tracker rep...@bugs.python.org

[issue831574] Solaris term.h needs curses.h

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing on lack of feedback. -- resolution: - rejected stage: - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue831574

[issue6006] ffi.c compile failures on AIX 5.3 with xlc

2009-05-12 Thread Ely Eshel
New submission from Ely Eshel elyes...@gmail.com: Building Python 3.0.1 with xlc on AIX 5.3, The following compiler errros come up: /home11/eeshel/dev/python/Python- 3.0.1/Modules/_ctypes/libffi/src/powerpc/ffi.c, line 141.25: 1506-045 (S) Undeclared identifier FFI_LINUX_SOFT_FLOAT.

[issue1729930] 2.5.1 latest svn fails test_curses and test_timeout

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Tests stage: - test needed type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1729930

[issue3872] Python 2.6rc2: Tix ComboBox error

2009-05-12 Thread Krzysztof Klimonda
Krzysztof Klimonda kklimo...@syntaxhighlighted.com added the comment: I still get this error using Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) on Ubuntu 9.04: https://bugs.launchpad.net/bugs/371720 Also test_combotix.py doesn't work. -- nosy: +kklimonda

[issue1260171] subprocess: more general (non-buffering) communication

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +patch stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1260171 ___

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk, doesn't seem to affect py3k. -- keywords: +patch nosy: +ajaksu2 stage: - test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue706392] faster _socket.connect variant desired

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706392 ___

[issue3872] Python 2.6rc2: Tix ComboBox error

2009-05-12 Thread Krzysztof Klimonda
Krzysztof Klimonda kklimo...@syntaxhighlighted.com added the comment: It is probably related to the old version of Tix that both Debian and Ubuntu ship. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3872

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - behavior versions: +Python 2.6 Added file: http://bugs.python.org/file13971/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706406

[issue730473] Add Py_AtInit() startup hook for extenders

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue730473 ___

[issue6000] compile error - PyNumber_InPlaceOr(newfree, allfree) 0

2009-05-12 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson priority: critical - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6000

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-05-12 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Adding Martin to the nosy list as this is related to his change: http://svn.python.org/view/python/branches/py3k/Modules/python.c?view=annotate#l17 -- nosy: +loewis ___ Python tracker

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Michael Stone
Changes by Michael Stone mbrie...@gmail.com: -- nosy: +ajaksu2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706406 ___ ___ Python-bugs-list

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: Removed file: http://bugs.python.org/file13971/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706406 ___

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Oops, sorry! I should know better than to name scripts test.py: the upload failed and when I realized that (after some time), test.py was already something else. Thanks for catching this instance of PEBKAC, Michael :) -- Added file:

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Tarek, It looks like all buildbots are red because setup.py doesn't work with this change: running build running build_ext Traceback (most recent call last): File ./setup.py, line 1896, in module main() File ./setup.py, line 1891, in main

[issue6001] Test discovery for unittest

2009-05-12 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6001 ___ ___ Python-bugs-list

[issue917120] imaplib: incorrect quoting in commands

2009-05-12 Thread Dave Baggett
Dave Baggett jyt...@baggett.org added the comment: I'm not sure this causes the behavior reported here, but I believe there really is a bug in imaplib. In particular, it seems wrong to me that this line: mustquote = re.compile(r[^\w!#$%'*+,.:;=?^`|~-]) has \w in it. Should that be \s? I

[issue917120] imaplib: incorrect quoting in commands

2009-05-12 Thread Dave Baggett
Dave Baggett jyt...@baggett.org added the comment: OK, I missed the initial caret in the regex. The mustquote regex is listing everything that needn't be quoted, and then negating. I still think it's wrong, though. According to BNF given in the Formal Syntax section of RFC 3501, you must must

[issue5265] StringIO can duplicate newlines in universal newlines mode

2009-05-12 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: Should this issue go under a new ticket? Yes, it would be preferable as the issue is probably not specific to io.StringIO. Also, make sure that you include the result of this test-case: open(testnl.txt, wb).write(foo\r\nbar\r\n)

[issue730473] Add Py_AtInit() startup hook for extenders

2009-05-12 Thread Patrick Miller
Patrick Miller patmil...@users.sourceforge.net added the comment: Thanks... I'll submit patches for 2.6, 2.7, and 3.2 On Tue, May 12, 2009 at 2:07 PM, Daniel Diniz rep...@bugs.python.org wrote: Changes by Daniel Diniz aja...@gmail.com: -- stage:  - test needed versions: +Python

[issue6000] compile error - PyNumber_InPlaceOr(newfree, allfree) 0

2009-05-12 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r72589. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6000 ___

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-12 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone exar...@divmod.com: Per issue3308, it is not really possible to build Python extensions with MinGW anymore (as far as I can tell). The distutils documentation is misleading in this regard, as is the continued existence of the build_ext --compiler=mingw32

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (or perhaps an announcement can be made on distutils-sig in the hope that someone step up and fix mingw support?) -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Tarek, Sorry about breaking the compiler option, I was aware that passing None there would have that risk. I think anything that breaks people's setup.py shouldn't go into release26-maint without a really important motivation. Is there a way to

[issue5716] Overzealous deprecation of BaseException.message

2009-05-12 Thread Francis Devereux
Changes by Francis Devereux python@devrx.org: -- nosy: +frankoid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5716 ___ ___ Python-bugs-list

[issue4947] sys.stdout fails to use default encoding as advertised

2009-05-12 Thread Jan Kaliszewski
Changes by Jan Kaliszewski z...@chopin.edu.pl: -- assignee: - georg.brandl components: +Documentation nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4947 ___

[issue6008] Idle should be installed as `idle3.1` and not `idle3`

2009-05-12 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: In Python2.x, Idle is installed as idle2.x. This is the case with Linux and Mac. However, in Py3.1b2, Idle is installed as `idle3`. Expected script name is `idle3.1`. -- components: IDLE messages: 87664 nosy: srid

[issue2972] arguments and default path not set in site.py and sitecustomize.py

2009-05-12 Thread Hari Krishna Dara
Hari Krishna Dara harid...@gmail.com added the comment: I hit exactly this same problem today trying to customize sys.path. We conventionally use .pth file under site-packages to add our custom library paths, but this is not convenient in development while switching between branches/checkout

[issue5964] WeakSet cmp methods

2009-05-12 Thread Robert Schuppenies
Changes by Robert Schuppenies robert.schuppen...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5964 ___

[issue2622] Import errors in email.message.py

2009-05-12 Thread Zach Hirsch
Zach Hirsch zhir...@umich.edu added the comment: I'm not sure if this is the same problem, but it seems related. I can get the same ImportError without involving py2exe or modulefinder: Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3] on linux2 Type help, copyright, credits or

[issue6009] optparse docs say 'default' keyword is deprecated but uses it in most examples

2009-05-12 Thread Vaibhav Mallya
New submission from Vaibhav Mallya mally...@umich.edu: The first example, and several subsequent examples later on in the optparse docs, use 'default' as an argument, even though it's apparently deprecated in favor of set_defaults. At the risk of overstating the obvious, this seems to be