[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 : 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 inconsistent. Even the sec

[issue2622] Import errors in email.message.py

2009-05-12 Thread Zach Hirsch
Zach Hirsch 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 "license" for m

[issue5964] WeakSet cmp methods

2009-05-12 Thread Robert Schuppenies
Changes by Robert Schuppenies : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2009-05-12 Thread Hari Krishna Dara
Hari Krishna Dara 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 directories, so I woul

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

2009-05-12 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : 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 severity: normal status: open

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

2009-05-12 Thread Jan Kaliszewski
Changes by Jan Kaliszewski : -- assignee: -> georg.brandl components: +Documentation nosy: +georg.brandl ___ Python tracker ___ ___ Py

[issue5716] Overzealous deprecation of BaseException.message

2009-05-12 Thread Francis Devereux
Changes by Francis Devereux : -- nosy: +frankoid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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 keep self.compile

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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 __

[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 : 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 option. The result

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

2009-05-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r72589. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue730473] Add Py_AtInit() startup hook for extenders

2009-05-12 Thread Patrick Miller
Patrick Miller 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 wrote: > > Changes by Daniel Diniz : > > > -- > stage:  -> test needed > versions: +Python 2.7, Python 3.2 -Python 2.6 > > ___

[issue5265] StringIO can duplicate newlines in universal newlines mode

2009-05-12 Thread Alexandre Vassalotti
Alexandre Vassalotti 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") open("testnl.txt"

[issue917120] imaplib: incorrect quoting in commands

2009-05-12 Thread Dave Baggett
Dave Baggett 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 quote atom-specials,

[issue917120] imaplib: incorrect quoting in commands

2009-05-12 Thread Dave Baggett
Dave Baggett 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 found this when I

[issue6001] Test discovery for unittest

2009-05-12 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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 main() File "./setup.py", line 1891, in main 'Lib/smtpd.py'

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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: http://bugs.python.or

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : Removed file: http://bugs.python.org/file13971/test.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Michael Stone
Changes by Michael Stone : -- nosy: +ajaksu2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue706406] fix bug #685846: raw_input defers signals

2009-05-12 Thread Michael Stone
Michael Stone added the comment: ajaksu2 has uploaded a file called "test.py" that seems to have nothing to do with this issue, unless I'm misunderstanding something. I don't see any call to readline in the uploaded file at all. Perhaps the file you meant to upload, was the one from issue 1

[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 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

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

2009-05-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson priority: critical -> release blocker ___ Python tracker ___ ___

[issue730473] Add Py_AtInit() startup hook for extenders

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-b

[issue706406] fix bug #685846: raw_input defers signals

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

[issue3872] Python 2.6rc2: Tix ComboBox error

2009-05-12 Thread Krzysztof Klimonda
Krzysztof Klimonda added the comment: It is probably related to the old version of Tix that both Debian and Ubuntu ship. -- ___ Python tracker ___ ___

[issue706392] faster _socket.connect variant desired

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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 __

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +patch stage: -> test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ __

[issue3872] Python 2.6rc2: Tix ComboBox error

2009-05-12 Thread Krzysztof Klimonda
Krzysztof Klimonda 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 ___ Python track

[issue1729930] 2.5.1 latest svn fails test_curses and test_timeout

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Tests stage: -> test needed type: -> behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker ___ _

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

2009-05-12 Thread Ely Eshel
New submission from Ely Eshel : 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. "/home11/eeshel/dev/python/P

[issue831574] Solaris term.h needs curses.h

2009-05-12 Thread Daniel Diniz
Daniel Diniz added the comment: Closing on lack of feedback. -- resolution: -> rejected stage: -> committed/rejected status: pending -> closed ___ Python tracker ___

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- resolution: -> duplicate stage: test needed -> committed/rejected status: pending -> closed superseder: -> documentation for new SSL module ___ Python tracker __

[issue1543469] test_subprocess fails on cygwin

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- resolution: -> wont fix stage: test needed -> committed/rejected status: pending -> closed ___ Python tracker ___

[issue1574310] os.popen with os.close gives error message

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- resolution: -> invalid stage: test needed -> committed/rejected status: pending -> closed ___ Python tracker ___ _

[issue1576598] ftplib doesn't follow standard

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +ftplib: Strict RFC 959 (telnet in command channel) status: pending -> open ___ Python tracker ___ __

[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed type: -> behavior versions: +Python 2.6, Python 3.1 -Python 2.4 ___ Python tracker ___ _

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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 "", line 1, in File "~/py3k/Lib/site.py", line 429, in __call__ return pydoc.help(*args, **kwds) File "~/py3k/Lib

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

2009-05-12 Thread Mark Dickinson
Mark Dickinson added the comment: The error's also in 3.0. -- nosy: +marketdickinson versions: +Python 3.0 ___ Python tracker ___ ___

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> patch review type: behavior -> feature request versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ ___

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

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski 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 ___

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

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski 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 my_file.encoding # and on th

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

2009-05-12 Thread Floris Bruynooghe
Floris Bruynooghe 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. -- ___ Python trac

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

2009-05-12 Thread Jan Kaliszewski
Jan Kaliszewski 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) * http://bugs.python.org/issue1099364 (probl

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

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +michael.foord stage: -> test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ __

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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 tracker

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

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6005] Bug in socket example

2009-05-12 Thread Mads Kiilerich
New submission from Mads Kiilerich : 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 data." And about so

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

2009-05-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[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 : -- stage: -> test needed versions: +Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker ___ __

[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 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 ___

[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 added the comment: Daniel> Daniel Diniz 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> 'foo,"bar\r\nbaz\r\nbiff",boo

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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 title: compile

[issue6003] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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 ___

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is it about 2.6 or 3.0/3.1? This problem should have been solved in 3.1, by the way of special escaping for undecodable characters (that is, os.listdir() will always return strings rather than bytes objects, but some of those strings may have special escapes in

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +IO nosy: +benjamin.peterson, pitrou stage: -> test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker ___ _

[issue6003] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Ronald Oussoren
Ronald Oussoren 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 ___ ___

[issue1554] socketmodule cleanups: allow the use of keywords in socket functions

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> patch review versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bu

[issue1621] Do not assume signed integer overflow behavior

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1621] Do not assume signed integer overflow behavior

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +haypo stage: -> patch review versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mai

[issue5945] PyMapping_Check returns 1 for lists

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> critical versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue2958] update Lib/test/README

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: The README was so outdated that apparently it isn't in SVN anymore... -- nosy: +pitrou resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue1672853] Error reading files larger than 4GB

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +IO nosy: +benjamin.peterson, pitrou stage: -> test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker ___ __

[issue6003] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: This sounds like a good idea. Can you provide a patch (including tests)? -- assignee: -> ronaldoussoren components: +Library (Lib) nosy: +pitrou priority: -> normal ___ Python tracker

[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 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']] 'foo,"bar\nbaz\nb

[issue2661] Mapping tests cannot be passed by user implementations

2009-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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 "", line 1, in File "/home/antoine/py3k/__svn__

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

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou 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: -Python 3.

[issue2661] Mapping tests cannot be passed by user implementations

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Tests priority: -> normal versions: +Python 3.1 -Python 3.0 ___ Python tracker ___ ___ Pytho

[issue5265] StringIO can duplicate newlines in universal newlines mode

2009-05-12 Thread Jason R. Coombs
Jason R. Coombs 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? -- ___

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

2009-05-12 Thread Daniel Diniz
Daniel Diniz 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: http://bugs.python.org/file13969/pickletest_py3k.py

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- 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 ___

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +benjamin.peterson, pitrou stage: -> patch review versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___

[issue1057417] New BaseSMTPServer module

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed type: -> feature request versions: +Python 2.7, Python 3.2 -Python 2.4 ___ Python tracker ___ _

[issue2958] update Lib/test/README

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +michael.foord stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue1569291] Speed-up in array_repeat()

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> patch review versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- keywords: +patch stage: -> patch review versions: +Python 3.1 -Python 2.5, Python 3.0 ___ Python tracker ___

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

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> patch review type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___

[issue1207] Load tests from path (patch included)

2009-05-12 Thread Michael Foord
Michael Foord 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 __

[issue2813] No float formatting in PyString_FromFormat

2009-05-12 Thread Eric Smith
Eric Smith added the comment: >From the code: /* assume %f produces at most (L)DBL_DIG digits before and after the decimal point, plus the latter plus a sign */ This is not correct. DBL_DIG is 15 on my x86 Linux machine. printf("%.*f\n", DBL_DIG, 1e20) produces a string that's 37 ch

[issue6001] Test discovery for unittest

2009-05-12 Thread Michael Foord
Michael Foord added the comment: The usage information in TestProgram in this patch is not correct. If __name__ != __main__ it should be unchanged - the new usage message should only be displayed if unittest is run as __main__. -- ___ Python tracke

[issue1143] Update to latest ElementTree in Python 2.7

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fredrik, will this be able to go in before 3.1rc1? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue5995] unittest command line behaviour

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

[issue6004] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Too impatient while submitting the report... -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___

[issue6004] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Ronald Oussoren
New submission from Ronald Oussoren : 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. Could a "compression_t

[issue6003] ZipFile.writestr "compression_type" argument

2009-05-12 Thread Ronald Oussoren
New submission from Ronald Oussoren : 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. Could a "compression_t

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

2009-05-12 Thread Francesco Sechi
Francesco Sechi 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 in the setAttribute method, be