[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread Clovis Fabricio
Clovis Fabricio nosklo+pyt...@gmail.com added the comment: UGH! Sorry for that, I mispasted something and didn't notice, since it filled the comment entry box perfectly :( This is the real message I meant to paste: vijay, The workaround I provided above takes

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I realize the ship's already sailed on this issue [1], but isn't it a problem that editing this code makes it more difficult to apply patches from Gay's original code? What do we do if Gay releases a new version of his code with bug fixes?

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Gay's changes tend to be very small; any bugfixes he releases can likely be applied by hand, if they're relevant. I did originally want to keep close to Gay's code, but frankly I'm not very happy with the quality of that code; and in

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's the section of the 'bigcomp' code that I was referring to above: /* Now b/d = exactly half-way between the two floating-point values */ /* on either side of the input string. Compute first digit of b/d. */ if

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Just to be clear: I'm okay with this divergence, as long as we've made it clear we're explicitly doing so and we've given our reasons. Mark's done that, and of course he's the expert in the subject. --

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5712 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay vijay.psaib...@gmail.com added the comment: Hi Clovis Ok, I did not check if your split string function check for spaces or not, sorry for that. In my first post I mentioned this:- 2. We have different versions of Python installed in our Lab machines, some have 2.5 and others got

[issue9014] Incorrect documentation of the PyObject_HEAD macro

2010-06-16 Thread Renato Cunha
New submission from Renato Cunha ren...@renatocunha.com: PyObject_HEAD's documentation in py3k (http://docs.python.org/dev/py3k/c-api/structures.html#PyObject_HEAD) uses the same content used in the python 2.x's docs which is wrong, as there were some API changes. PyObject_HEAD is actually

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-06-16 Thread Gerald Dalley
Gerald Dalley dall...@deshaw.com added the comment: Another use case: for distributed processing, it's handy to be able to pickle interactive functions and functions that are part of a script. The user can then remotely execute a broader set of functions than can be pickled by default. This

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's an updated version of the parsing patch, with rewritten comments, but no significant code changes. -- Added file: http://bugs.python.org/file17689/dtoa_parsing2.patch ___ Python tracker

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-06-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for your report and patch. I’m editing the versions field: New features and bug fixes go to the active branch, py3k (future 3.2), while only security and documentation fixes are allowed to go in stable branches (2.6 and 3.1). Current

[issue850997] mbcs encoding ignores errors

2010-06-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Patch version 4: - encode_mbcs() uses WC_NO_BEST_FIT_CHARS flag in strict mode. Examples: ğ and ł are not more replaced by g and l - encode_mbcs() doesn't set *repr to NULL on encode error: the caller does anyway destroy it -

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Mark, It is great to see you doing this. I looked at this code on several occasions before and each time ran away scared! I sincerely hope I will understand how it works after your rewrite. Just a small suggestion at

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2010-06-16 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Could this be related to issue 8077? -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___

[issue8077] cgi handling of POSTed files is broken

2010-06-16 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Could this be related to issue 4953? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8077 ___

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r82034. -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___ ___

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Reopen: r82034 broke Windows build http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/802/steps/compile/logs/stdio --- Build started: Project: pythoncore, Configuration: Debug|Win32 Linking...

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Reopen: r82034 broke Windows build Fixed by r82035. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012

[issue9015] array.array.tofile cannot write arrays of sizes 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
New submission from Bill Steinmetz bill.steinm...@gmail.com: Here's my Python version info: Python 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64 bit (AMD64)] on win32 Here's my code that won't return (Start with a file 4GB hugefile.bin): siz = (132) print making array (%d) bytes

[issue850997] mbcs encoding ignores errors

2010-06-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I commited the last patch to py3k: r82037. Let see how the buildbots react :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue850997

[issue9015] array.array.tofile cannot write arrays of sizes 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
Bill Steinmetz bill.steinm...@gmail.com added the comment: Looks like the issue is Microsoft's fwrite -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9015 ___

[issue2475] Popen.poll always returns None

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Should this be closed or is this still a problem in 2.7 (release candidate out now, final soon) or 3.1? -- nosy: +tjreedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2475

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: FreeBSD/Qemu: ipv6 is ok, but this fails: [...] That failure refers to this test: # by specifying http we expect all returned sockets have # STREAM type infos = socket.getaddrinfo(HOST, http) for _,

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: Removed file: http://bugs.python.org/file17516/getaddrinfotest.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8857 ___

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: Removed file: http://bugs.python.org/file17691/getaddrinfotest.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8857 ___

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: Added file: http://bugs.python.org/file17692/getaddrinfotest.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8857 ___

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Forgot to include socket.gaierror in the list of exceptions. New patch in attachment. -- Added file: http://bugs.python.org/file17693/getaddrinfotest.patch ___ Python tracker

[issue3687] Popen() object stdout attribute reassignment behaviour

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: While it could be argued that it is 'obvious' that changing the stdin, stdout, stderr, and pid of a processes cannot work, I agree that a small addition would be good. In 17.1.2. Popen Objects, after The following attributes are also

[issue3765] [patch] allow mmap take file offset as argument

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This request is slightly confusing. The first sentence implies that you want offset to be a requirement (as opposed to being an option). That would not be acceptable. Later it seems that you want it added as an option (as opposed to not

[issue3874] documentation bug: HTMLParser needs to document unknown_decl

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Documentation issues should be component: documentation rather than library. When submitting one, please at least indicate the module or class concerned. I have never heard of 'unknown_decl' function. Preferably, indicate the specific section

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Does this issue apply to 3.1/2? -- nosy: +tjreedy versions: +Python 2.7 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3709 ___

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9011 ___ ___

[issue8814] functools.WRAPPER_ASSIGNMENTS should include __annotations__

2010-06-16 Thread Terrence Cole
Terrence Cole terre...@zettabytestorage.com added the comment: Alright, I've added several tests. I also modified update_wrapper to not copy missing attributes (like __annotations__ on builtin methods) -- see issue 1576241. (I also finally see what you mean with removing 3.3 from the

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 3.1, WinXP, works fine. I am inclined to close this as idiosyncratic to a particular 2.5 installation, which is beyond patching now anyway. OP, respond if you have a problem with new 2.7, and include version splash line like Python 3.1.2

[issue3687] Popen() object stdout attribute reassignment behaviour

2010-06-16 Thread Legoll Vincent
Legoll Vincent vincent.leg...@gmail.com added the comment: On Thu, Jun 17, 2010 at 2:34 AM, Terry J. Reedy rep...@bugs.python.org wrote: While it could be argued that it is 'obvious' What is obvious for someone maybe is not for others, if I tried to modify it, that was on the (false)

[issue3290] python-config --cflags includes irrelevant flags

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Is this still an issue for current trunks? -- nosy: +tjreedy versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3290

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

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: In the absence of a claim otherwise, I am assuming that this is now either fixed or out-of-date -- nosy: +tjreedy resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3990] The Linux2 platform definition is incorrect for alpha, hppa, mips, sparc

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3990 ___

[issue3862] test_array fails on FreeBSD7 amd64

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Was the fix forward ported or is this an issue for 3.1/2? -- nosy: +tjreedy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3862

[issue1633863] AIX: configure ignores $CC

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1633863 ___ ___

[issue4099] dir on a compiled re does not show pattern as a part of the list

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4099 ___ ___

[issue1107887] Speed up function calls/can add more introspection info

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This appears to be a feature request that could now go into 3.2 at the earliest, or even 3.3 if it were to violate the core change moratorium. But I do not know if it even applies to the 3.x series. -- nosy: +tjreedy type: - feature

[issue4202] Multiple interpreters and readline module hook functions.

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: The be an issue, tests with currents interpreters are needed. You may be right, but it may be that no one ever uses readline with subinterpreters. -- nosy: +tjreedy status: open - pending versions: -Python 2.5

[issue1107887] Speed up function calls/can add more introspection info

2010-06-16 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: I tried making this work early last year as part of Unladen Swallow, and even though I got it working and it does speed up certain builtin calls, it didn't move overall application performance at all. I believe this was due to cache effects,

[issue4253] Maildir dumpmessage on

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This report is a bit hard to interpret. In 3.1, the mailbox module has a Maildir class with a private _dump_message method. Since the method is undocumented and not part of the public API, there cannot be a conflict between the doc and

[issue4280] Version Checker

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- components: +Demos and Tools -Tests versions: +Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4280

[issue4452] Incorrect docstring of os.setpgrp

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: os.setpgrp is unix only, I am windows only ;-(. However, the 3.1 manual says Call the system call setpgrp() or setpgrp(0, 0)() depending on which version is implemented (if any). Given the name of the function and the above, I suspect the OP

[issue4370] warning: unknown conversion type character `z' in format

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Martin said: I also wonder whether it is really necessary to complicate the code just so that gcc 2.95 stops producing some warnings. So I propose to close this as won't fix. Is 2.95 still used much? If not, the above sounds good. --

[issue4502] Allowing get_pre_input_hook from Readline

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4502 ___ ___

[issue8720] undo findsource regression/change

2010-06-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I've applied the patch to trunk in r82039, to py3k in r82041, and 3.1 in r82042. Holger, I'm not really familiar with the linecache module and its uses, so I'm not sure what your proposal is aimed at. Perhaps you could flesh out your

[issue2102] New style vs. old style classes __ror__() operator overloading

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2102 ___

[issue1675951] [gzip] Performance for small reads and fix seek problem

2010-06-16 Thread Rick Harris
Rick Harris rconradhar...@gmail.com added the comment: Are compatibility concerns the main reason this patch has yet to be applied? If so, could we allay those fears by keeping the default seek-y behavior and only introducing the new seek-less style when a 'noseek' flag is passed? --

[issue1215] Python hang when catching a segfault

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: From the comments, it seems like this should be changed to a doc issue. Given that I do not know a 'synchronous' from an 'asynchronous' signal, I would want an expanded list if I were using this module. Strengthening 'little sense' to 'do not

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Yes, it is applicable to 3.1 and 3.2 as well. This is definitely a good to have performance improvement. -- nosy: +orsenthil versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue9016] IDLE won't launch (Win XP)

2010-06-16 Thread Jon Seger
New submission from Jon Seger se...@biology.utah.edu: I upgraded from 2.5.2 to 2.6.5 on a WinXP system. Console interpreter worked fine, but IDLE would not launch (quit without displaying anything on screen). Same with 2.6.4. Finally tried 2.5.4, which works as expected (like the old

<    1   2   3