[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: The bug is indeed fixed in the latest 2.7 tip: PS C:\Users\jaraco\projects\public\keyring C:\Users\jaraco\projects\public\cpython\PCbuild\amd64\python.exe setup.py sdist 2 NULL | findstr .hg (produces no output) --

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: If always using a posix path separator, I recommend using posixpath.join instead of hard-coding the path separator. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14004

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2012-02-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14014 ___ ___

[issue13609] Add os.get_terminal_size() function

2012-02-14 Thread Zbyszek Szmek
Zbyszek Szmek zbys...@in.waw.pl added the comment: New try (I fixed my email address and the patch). The purpose of os.get_terminal_size() is the same as `stty size`, so `stty size` could be a model for behavior of os.get_terminal_size(). I guess that this fallback will make some things

[issue14018] OS X installer does not detect bad symlinks created by Xcode 3.2.6

2012-02-14 Thread Ned Deily
New submission from Ned Deily n...@acm.org: Xcode 3.2.6, the most recent release for OS X 10.6 (Snow Leopard), has a subtle but critical bug that affects Python builds using OS X SDKs (--enable-universalsdk=/Developer/SDKs/MacOSX10.?.sdk). The Xcode installer creates faulty symlinks to

[issue13609] Add os.get_terminal_size() function

2012-02-14 Thread Denilson Figueiredo de Sá
Denilson Figueiredo de Sá denilso...@gmail.com added the comment: On Tue, Feb 14, 2012 at 22:17, Zbyszek Szmek rep...@bugs.python.org wrote: I have four small questions: - -1 is used as the argument meaning try stdout and stdin. - Why stderr is not checked too? I propose the following

[issue13090] posix_read: memory leak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I have a hard time believing posix_read in the culprit. Perhaps, on the other hand, that object is lost by test_multiprocessing without being decref'ed enough? -- nosy: +pitrou ___ Python tracker

[issue13092] pep-393: memory leaks #2

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: TextIOWrapper was already fixed, and the offending code in import.c seems to have disappeared. -- nosy: +pitrou resolution: - out of date status: open - closed ___ Python tracker

[issue13089] parsetok.c: memory leak

2012-02-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13089 ___ ___ Python-bugs-list

[issue13015] _collectionsmodule.c: refleak

2012-02-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 86adb5c7a9d4 by Antoine Pitrou in branch '3.2': Issue #13015: Fix a possible reference leak in defaultdict.__repr__. http://hg.python.org/cpython/rev/86adb5c7a9d4 New changeset 7cfce717ceee by Antoine Pitrou in

[issue13015] _collectionsmodule.c: refleak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch now committed, thank you! -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2 ___ Python tracker

[issue13020] structseq.c: refleak

2012-02-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6454e5de7c34 by Antoine Pitrou in branch '3.2': Issue #13020: Fix a reference leak when allocating a structsequence object fails. http://hg.python.org/cpython/rev/6454e5de7c34 New changeset 5e0085d67f65 by Antoine

[issue13020] structseq.c: refleak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've now committed the patch. Thanks for contributing! -- nosy: +pitrou resolution: - fixed stage: test needed - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2, Python 3.3

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Doc/library/string.rst string.Formatter().format(fmt, 10)needs a couple of changes also. 1. format(format_string, *args, **kwargs) format() is the primary API method. It takes a format template string, I think 'template' should be removed as

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-14 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13579 ___ ___

[issue13609] Add os.get_terminal_size() function

2012-02-14 Thread Zbyszek Szmek
Zbyszek Szmek zbys...@in.waw.pl added the comment: Wouldn't this be quite unwieldy to use: os.get_terminal_size(sys.__stdout__.fileno(), sys.__stdin__().fileno(), sys.__stderr__.fileno()) ? -- ___

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: The bug is indeed fixed in the latest 2.7 tip: PS C:\Users\jaraco\projects\public\keyring C:\Users\jaraco\projects\public\cpython\PCbuild\amd64\python.exe setup.py sdist 2 NULL | findstr .hg (produces no output) I suspect you

<    1   2