[issue6461] multiprocessing: freezing apps on Windows

2009-08-07 Thread Stuart Mentzer
Stuart Mentzer added the comment: Further experimentation revealed that freeze_support() works properly and the proposed patch is not necessary or desirable for the general freeze case. In the case of an embedded app that calls set_executable() it seems that the "else" block calling _python_exe

[issue6663] re.findall does not always return a list of strings

2009-08-07 Thread Matthew Barnett
Matthew Barnett added the comment: In a regular expression (...) will group and capture, whereas (?:...) will only group and not capture. -- nosy: +mrabarnett ___ Python tracker

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2009-08-07 Thread Rhett Garber
Rhett Garber added the comment: Good addition Gregory. Totally agree on handling EINTR in even more cases. You can't really expect the caller to know they need to deal with this sort of thing when using these higher level call. The whole point is the abstract away some of the complexity of deali

[issue6527] test_ttk_guionly buildbot test crash: Tcl_FinalizeNotifier: notifier pipe not initialized

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: I notice this some time ago, let's continue this on issue5120. Can you test the patch attached there on a mac ? I don't have one, so I'm not sure if it fixes the issue or not. -- resolution: -> duplicate status: open -> closed

[issue6669] TarFile.getmembers fails at struct.unpack: unpack requires a string argument of length 4

2009-08-07 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Perhaps this must be wrapped under a programmer-expected custom exception class (TarError maybe) for tarinfo in tarfileobj.getmembers(): File "/home/apy/ActivePython-2.6/lib/python2.6/tarfile.py", line 1791, in getmembers self._load()#

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Changes by Gabriel Genellina : Added file: http://bugs.python.org/file14676/utils.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Changes by Gabriel Genellina : Removed file: http://bugs.python.org/file14643/utils.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6663] re.findall does not always return a list of strings

2009-08-07 Thread Phillip M. Feldman
Phillip M. Feldman added the comment: You are right-- the documentation does say this, although it took me a while to understand what it means. Thanks! It seems as though there's a flaw in the design here, because there should be some mechanism for grouping elements of a regular expression

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Gabriel Genellina added the comment: --- El jue 6-ago-09, Antoine Pitrou escribió: > Antoine Pitrou > added the comment: > > Is it ok if the message id is predictable? I don't know of any use of message ids apart from uniquely identifying the message, but we could still keep a random part

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2009-08-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: realistically, file objects (Objects/fileobject.c) never raise EINTR as they use the C library fread/fwrite/fclose underneath. Why should a socket based file object every be allowed to raise EINTR rather than handling it internally? IMHO people should onl

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, in the long run I believe it will be better to move to Tcl_CreateObjCommand since it is said that commands created by it are significantly faster than the ones created by Tcl_CreateCommand (more information about this can be found at tcl documentation). I'

[issue6168] Missing Shell menu in Linux IDLE

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: >From what I read here this is not a problem caused by the sources distributed by python.org, so I'm closing this. It seems more appropriate to move this to Ubuntu's bug tracker. -- nosy: +gpolo resolution: -> invalid status: open -> closed __

[issue6627] threading.local() does not work with C-created threads

2009-08-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6626] show Python mimetypes module some love

2009-08-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6660] Desire python.org documentation link to user contribution wiki (per function)

2009-08-07 Thread kee nethery
kee nethery added the comment: awesome. looking forward to it. Kee On Aug 6, 2009, at 3:38 PM, Georg Brandl wrote: > > Georg Brandl added the comment: > > There will be comments for each function/class etc., as well as a > feature to suggest a change for the proper text of a section. > >

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: Attaching a patch against trunk, I believe this solves the problems described here. -- versions: +Python 2.6, Python 2.7 Added file: http://bugs.python.org/file14674/issue1028.diff ___ Python tracker

[issue6668] locale.py: can't parse sr...@latin locale

2009-08-07 Thread Vlada Peric
New submission from Vlada Peric : The sr_RS locale in glibc corresponds to the Cyrillic script, while the agreed upon locale for the Latin alphabet is sr...@latin. Unfortunately, the locale python module crashes when trying to parse this locale. Here is the traceback: File "/usr/lib/python2.6

[issue1135] xview/yview of Tix.Grid is broken

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: I've looked into this again and now I'm attaching a patch very similar to xview_yview.patch. Is anyone against adding these mixins ? -- Added file: http://bugs.python.org/file14673/xview_yview_mixins.diff ___ Python

[issue6631] urlparse.urlunsplit() can't handle relative files (for urllib*.open()

2009-08-07 Thread albert Mietus
albert Mietus added the comment: There was a bug in the workaround: if not ( scheme == 'file' and not netloc and url[0] != '/'): -=--- The {{{and url[0] != '/'}}} was missing (above is corrected) The effect: split/unspilt file://

[issue6663] re.findall does not always return a list of strings

2009-08-07 Thread Alexey Shamrin
Alexey Shamrin added the comment: You've made three groups with parentheses. Just drop them: >>> re.findall('-?\d+[.]\d+|-?\d+[.]?|-?[.]\d+', 'asdf6.77.33ff9') ['6.7', '7.33', '9'] Everything is according to documentation: "If one or more groups are present in the pattern, return a list of

[issue6667] logging config - using of FileHandler's delay argument?

2009-08-07 Thread maro
Changes by maro : -- title: logging config - using FileHandler's delay argument? -> logging config - using of FileHandler's delay argument? ___ Python tracker ___ ___

[issue6667] logging config - using FileHandler's delay argument?

2009-08-07 Thread maro
New submission from maro : I'm not sure, if it's an issue. I don't know how to use argument 'delay' of FileHandler in my logging.conf file. [handler_tarFileHandler] class=FileHandler level=DEBUG formatter=simpleFormatter args=('/tmp/_tar2ncConverter.log','a+') delay=True # file is created only w

[issue6666] List of dirs to ignore in trace.py is applied only for the first file

2009-08-07 Thread Bogdan Opanchuk
New submission from Bogdan Opanchuk : When creating a trace.Trace object or running trace.py one can specify list of directories to ignore (ignoredirs or --ignore-dir correspondingly). It is passed to trace.Ignore constructor, which stores iterator to map(), applied to this list, in self._dirs. S

[issue6665] fnmatch fails on filenames containing \n character

2009-08-07 Thread Josef Skladanka
New submission from Josef Skladanka : Hello, at the moment, fnmatch.fnmatch() will fail to match any string, which has \n character. This of course breaks glob as well. Example > import fnmatch > fnmatch.fnmatch("foo\nbar", "foo*") False > import glob > open("foobar", "w").close() > open("foo\

[issue6664] readlines should understand Line Separator and Paragraph Separator characters

2009-08-07 Thread Neil Hodgson
New submission from Neil Hodgson : Unicode includes Line Separator U+2028 and Paragraph Separator U+2029 line ending characters. The readlines method of the file object returned by the built-in open does not treat these characters as line ends although the object returned by codecs.open(..., enco

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

2009-08-07 Thread rubisher
rubisher added the comment: Well a few spare time let me investigate this way: using gc[cj] libffi. I so first install libffi-4.2.0-3 as well as libffi-devel-4.2.0-3 (not sure this last one is required, though) then configure python (2.6) with --with-system-ffi but it doesn't seems to be enough

[issue6632] Include more fullwidth chars in the decimal codec

2009-08-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Mark Dickinson wrote: > > I'm less concerned about decimal points and the like, and more bothered by > the fact that e.g., int(x, 16) accepts some, but not all, characters with > the Hex_Digit property. This seems counter to the intent of the Unicode >

[issue6659] buffer c-api: memoryview object documentation

2009-08-07 Thread Alexey Shamrin
Alexey Shamrin added the comment: Antoine, it seems, this sentence was taken literally from PEP3118 (http://www.python.org/dev/peps/pep-3118/#new-c-api-calls-are-proposed). PEP authors discussed if __builtins__.buffer should be removed. I agree, old __builtins__.buffer should not be mentioned h