[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Done. Fixed in r67095(py3k). ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue1814] Victor Stinner's GMP patch for longs

2008-11-03 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11933/py3k-long_gmp-v3.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1814] Victor Stinner's GMP patch for longs

2008-11-03 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9141/py3k-long_gmp-v2.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue1814] Victor Stinner's GMP patch for longs

2008-11-03 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: New version of the patch using short integer for long_add, long_sub, long_mul, etc. New benchmark with -0O : 20161.3 pystones/second (versus 20920.5 for the vanilla version). The overhead is now -3,6% (yes, it's slower with GMP). Added fil

[issue3714] nntplib module broken by str to unicode conversion

2008-11-03 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyth

[issue3727] poplib module broken by str to unicode conversion

2008-11-03 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyth

[issue1210] imaplib does not run under Python 3

2008-11-03 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue416670] MatchObjects not deepcopy()able

2008-11-03 Thread Andrew McNamara
Andrew McNamara <[EMAIL PROTECTED]> added the comment: One reason why this issue has been having less impact is that a bug in some versions of the copy.py code meant it was ignoring the __deepcopy__ stubs and using the pickle logic to copy _sre objects - so, if you run the right python version

[issue1814] Victor Stinner's GMP patch for longs

2008-11-03 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: And Now for Something Completely Different. Benchmarks! - python3 rev67089. - Pentium4 @ 3.0 GHz (integer = 32 bits) - GCC 4.1.3 (Ubuntu Gutsy) gcc -O0: builtin: 20920.5 pystones/second GMP: 17985.6 pystones/second gcc -O3: builtin:

[issue1814] Victor Stinner's GMP patch for longs

2008-11-03 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: I updated my patch against Python3 trunk. I fixed my patch to pass most long and struct tests: - fix byte array import/export - check for overflow - compute exponent in conversion to a float (use PyLong_SHIFT=1) - fix formating to support

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Martin, can you please review the configure.in change? Barry and I agreed that you a most probably the best person for the job. :] -- assignee: barry -> loewis ___ Python tracker <[EMAIL PROTECTE

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I don't fully grasp the details of the configure.in change. I don't have the means to test the change on Mac and BSD. How should we pursue it? The rest is fine with me. ___ Python tracker <[EMAIL PROTECTE

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Christian, if you like the patch go ahead and land it. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4236] Crash when importing builtin module during interpreter shutdown

2008-11-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Can you add some tests for this problem? -- nosy: +barry ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3714] nntplib module broken by str to unicode conversion

2008-11-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Please fix the test as Benjamin suggests ("network"). While I'd prefer a more fleshed out test suite, I think in time you can add that. For now, this is still an improvement and likely the best we're going to get before 3.0. Thanks for wor

[issue3727] poplib module broken by str to unicode conversion

2008-11-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Benjamin's reviewed this and the only thing that jumps out at me is some funky indentation at about line 331. If you fix that, you can land this patch. -- keywords: -needs review nosy: +barry resolution: -> accepted _

[issue1210] imaplib does not run under Python 3

2008-11-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: The assertion on line 813 is indented incorrectly. Please fix that. I'm concerned we really need better test coverage for this code, but it's doubtful we'll get that before 3.0 final is released. I think this is the best we're going to do,

[issue4211] frozen packages set an improper __path__ value

2008-11-03 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- stage: -> commit review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Could you port this to 3.0, please? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pytho

[issue4257] Documentation for socket.gethostname() needs tweaking

2008-11-03 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the suggestion fixed in r67089. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4257] Documentation for socket.gethostname() needs tweaking

2008-11-03 Thread Roy Smith
New submission from Roy Smith <[EMAIL PROTECTED]>: The docs say: Return a string containing the hostname of the machine where the Python interpreter is currently executing. If you want to know the current machine's IP address, you may want to use gethostbyname(gethostname()). This operation a

[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Fixed in r67082(trunk), r67083(release26-maint), r67084(release25-maint). -- keywords: -needs review resolution: -> fixed status: open -> closed versions: +Python 2.7 ___ Python tracker <[EMAI

[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Dan OD
Dan OD <[EMAIL PROTECTED]> added the comment: Sorry to drag this up again, but if no-one has any complaints it would be a huge help if gpolo's patch could be checked in. Thanks ___ Python tracker <[EMAIL PROTECTED]>

[issue1978] Python(2.5.1) will be crashed when i use _ssl module in multi-threads environment in linux.

2008-11-03 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9346/unnamed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4194] default subprocess.Popen buffer size

2008-11-03 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: -- title: Miserable subprocess.Popen performance -> default subprocess.Popen buffer size ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
Roland Brickl <[EMAIL PROTECTED]> added the comment: >> i use this to get updated versions of curses.COLS and curses.LINES in >> the fact of an curses.KEY_RESIZE event. >I didn't know this event. Is a key in a special keyboard? Or an event >raised >by some curses internals? Internal curses eve

[issue4256] optparse: provide a simple way to get a programmatically useful list of options

2008-11-03 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- nosy: +wplappert ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: > i use this to get updated versions of curses.COLS and curses.LINES in > the fact of an curses.KEY_RESIZE event. I didn't know this event. Is a key in a special keyboard? Or an event raised by some curses internals? > Updates curses.LINES

[issue4255] timing module refers to non-existent documentation

2008-11-03 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Agreed. This is a deprecated module and is gone in Python 3.0. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
Roland Brickl <[EMAIL PROTECTED]> added the comment: Hi Victor, i use this to get updated versions of curses.COLS and curses.LINES in the fact of an curses.KEY_RESIZE event. So i can use curses within python even without to have panels. It seems that curses.panel are the prefered way to deal wi

[issue4256] optparse: provide a simple way to get a programmatically useful list of options

2008-11-03 Thread Andy Buckley
New submission from Andy Buckley <[EMAIL PROTECTED]>: optparse is a great option parser, but one thing that would make it even greater would be if it provided a standard option (cf. --help) which lists all the available options in a parseable form. Something prefixed with --help, e.g. --help-opti

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Your function PyCurses_update_lines_cols() has no documentation. Can you add it? Can you also give an use case of update_lines_cols()? The function is already called by curses.resizeterm() and curses.resize_term(). -- nosy: +haypo

[issue4255] timing module refers to non-existent documentation

2008-11-03 Thread Andrii V. Mishkovskyi
Andrii V. Mishkovskyi <[EMAIL PROTECTED]> added the comment: Well, it's listed in "Undocumented modules": http://docs.python.org/library/undoc.html#obsolete so I wouldn't call this a bug. -- nosy: +mishok13 ___ Python tracker <[EMAIL PROTECTED]>

[issue4255] timing module refers to non-existent documentation

2008-11-03 Thread Steven D'Aprano
New submission from Steven D'Aprano <[EMAIL PROTECTED]>: import timing help(timing) => MODULE DOCS http://www.python.org/doc/current/lib/module-timing.html but there doesn't appear to be any such page: the URL gives Error 404: File Not Found. Searching the reference library for "timing" do

[issue4048] parsermodule won't validate relative imports

2008-11-03 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the patch! Fixed in r67077. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
New submission from Roland Brickl <[EMAIL PROTECTED]>: curses.update_lines.cols() are normally usable within c programs. With this change, it can now be used too. It only calls the preexisting function that where only used internally. The cast in the return statement are possibly false? But it wo

[issue4253] Maildir dumpmessage on

2008-11-03 Thread Marcus CM
New submission from Marcus CM <[EMAIL PROTECTED]>: When using maildir on windows, the maildir._dump_message erronously added "\r\n" to "\r\r\n" : in mailbox.py target.write(buffer.read().replace('\n', os.linesep)) -- components: Library (Lib) messages: 75463 nosy: [EMAIL PROTECTED] sev