[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Steve Dower
Steve Dower added the comment: This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber) Here: http://www.microsoft.com/en-us/download/details.aspx?id=13276 That's just the service pack and it won't install unless you

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: The number of things we'll break by changing this errant behavior to be _correct_ is way less than the number of things that are already broken due to it. If the bufsize=0 default is left in place the behavior differs between Windows and POSIX platforms

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: (actually I'm not sure about the windows vs posix behavior difference, that may not be true; I don't have a windows system handy to test that on) -- ___ Python tracker rep...@bugs.python.org

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-23 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17527 ___ ___ Python-bugs-list mailing

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Georg Brandl
Georg Brandl added the comment: OK. That was a more passionate statement :) It would actually be nice to know about Windows, but the way you describe it is that the default behavior now is quite useless. Does bufsize=0 have any sensible use on Python 3? Anyway, you've convinced me -- can

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: great! fixing now. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17488 ___ ___ Python-bugs-list mailing

[issue17512] backport of the _sysconfigdata.py module (issue 13150) breaks the build on darwin

2013-03-23 Thread Matthias Klose
Matthias Klose added the comment: tested the backport on MacOSX, fixing the build. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17512 ___ ___

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ecf709dfe69 by Gregory P. Smith in branch '3.2': Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value http://hg.python.org/cpython/rev/3ecf709dfe69 New changeset 4c2fc172afcc by Gregory P. Smith in branch '3.3': Fixes

[issue17502] unittest.mock: side_effect iterators ignore DEFAULT

2013-03-23 Thread Michael Foord
Michael Foord added the comment: There's a straightforward patch here, it just needs applying: http://code.google.com/p/mock/issues/attachmentText?id=190aid=19name=mock.patchtoken=6pDNkNBcNLDftg-PsUE8roPb6T4%3A1363712167613 -- ___ Python

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-03-23 Thread Michael Foord
Michael Foord added the comment: Thanks for the report and the patch. Good catch! It will need looking over as it's not immediately obvious to me it's correct. In the code that checks the loader path, does it iterate over every member of the namespace path - even directories that aren't in

[issue17150] pprint could use line continuation for long string literals

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a2296093645 by Antoine Pitrou in branch 'default': Issue #17150: pprint now uses line continuations to wrap long string literals. http://hg.python.org/cpython/rev/5a2296093645 -- nosy: +python-dev ___

[issue17150] pprint could use line continuation for long string literals

2013-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the patch. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17150

[issue17530] pprint could use line continuation for long bytes literals

2013-03-23 Thread Antoine Pitrou
New submission from Antoine Pitrou: Same as issue #17150: pprint.pprint({a: b\x00\xff * 20}) {'a': b'\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff'} ... could be better

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.03.2013 16:39, Steve Dower wrote: Steve Dower added the comment: This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber) Here:

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-23 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17488 ___

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2013-03-23 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Hi Terry, just take/put away some ... (they're not in a special order nor preference, just some that could 'see' in the browser). -- keywords: +patch nosy: +francismb Added file: http://bugs.python.org/file29553/issue13802.patch

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Ned Deily
New submission from Ned Deily: With the changes introduced for Issue4591, test_grp and test_pwd now fail on OS X systems when Python is run in 32-bit mode. Previously, using a 64-bit/32-bit universal build of 2.7.3: $ arch -i386 /usr/local/bin/python2.7 -c 'import grp;

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Ned Deily
Ned Deily added the comment: Failure also seen on 32-bit buildbot: http://buildbot.python.org/all/builders/x86%20Tiger%202.7 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531 ___

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15100 ___

[issue17449] dev guide appears not to cover the benchmarking suite

2013-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Mmmh... I'm not very warm on this one. If we start documenting the benchmark suite in the devguide, then people will start to be all gung ho about it, be obsessed with benchmark numbers, etc. I guess what I'm saying is that *if* it's covered, then the very

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15100 ___ ___ Python-bugs-list mailing

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2aa817e0a645 by Benjamin Peterson in branch '2.7': return int instead long when possible (#17531) http://hg.python.org/cpython/rev/2aa817e0a645 -- nosy: +python-dev ___ Python tracker

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: I hope that does it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531 ___ ___ Python-bugs-list mailing

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: No, that was wrong, sorry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531 ___ ___ Python-bugs-list

[issue14945] Setup Usage documentation for selected stdlib modules

2013-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14945 ___

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think the tests are wrong. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531 ___ ___ Python-bugs-list

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c982393bea4e by Benjamin Peterson in branch '2.7': group ids and user ids can be longs now (#17531) http://hg.python.org/cpython/rev/c982393bea4e -- ___ Python tracker rep...@bugs.python.org

[issue7267] format method: c presentation type broken

2013-03-23 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: In 2.7.3 u'{0:c}'.format(127) u'\x7f' u'{0:c}'.format(128) Traceback (most recent call last): File pyshell#6, line 1, in module u'{0:c}'.format(128) UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Ned Deily
Ned Deily added the comment: That fixes the test for nobody (-2). Now the next part of the test fails more seriously for nogroup (-1). Simplifying: 2.7.3 $ arch -i386 /usr/local/bin/python2.7 -c 'import grp; g=grp.getgrnam(nogroup).gr_gid; print(grp.getgrgid(g),type(g))'

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-03-23 Thread Roger Serwy
Roger Serwy added the comment: Thanks, Todd, for reviewing and testing the extension! The Terminal.py extension patch provided here is outdated. There have been some minor tweaks and bug fixes that can be found in the IdleX project which works under 2.x and 3.x with the same code. (For

[issue7267] format method: c presentation type broken

2013-03-23 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Adding a test that triggers the issue, let me know if is enough. -- keywords: +patch Added file: http://bugs.python.org/file29554/issue7267.patch ___ Python tracker rep...@bugs.python.org

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Whack, whack. a4dbe53577cb -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Steve Dower
Steve Dower added the comment: That's just the service pack and it won't install unless you already have VS installed. There is no way (other than being an MSDN subscriber) to get VS 2008 at this point - I've checked. There is, but you have to know what to look for :-) Fair enough, but I

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Ned Deily
Ned Deily added the comment: a4dbe53577cb appears to fix the latter problem. Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.03.2013 22:33, Steve Dower wrote: Steve Dower added the comment: That's just the service pack and it won't install unless you already have VS installed. There is no way (other than being an MSDN subscriber) to get VS 2008 at this point - I've

[issue17531] test_grp and test_pwd fail with 32-bit builds on OS X systems

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 87d266988905 by Benjamin Peterson in branch '2.7': update NEWS for #17531 http://hg.python.org/cpython/rev/87d266988905 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17531

[issue17532] IDLE: Always include Options menu on MacOSX

2013-03-23 Thread Roger Serwy
New submission from Roger Serwy: Presently, the Options menu gets eliminated if IDLE runs as an OSX app. This behavior was introduced in 2006 in revision 654c380cf8b9. I guess that the original motivation for eliminating the Options menu since it usually only contained the Configure IDLE

[issue17532] IDLE: Always include Options menu on MacOSX

2013-03-23 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17532 ___ ___ Python-bugs-list mailing

[issue17533] test_xpickle fails on OS X 10.5 with cannot import name precisionbigmemtest

2013-03-23 Thread Ned Deily
New submission from Ned Deily: When running the OS X 32-bit-only installer 2.7.4rc1 on OS X 10.5, test_xpickle has many test failures all in CPicklePython25Compat. Note, there is an Apple-supplied system Python 2.5 shipped on OS X 10.5. (There is also an Apple-supplied system Python 2.5

[issue17534] unittest keeps references to test cases alive

2013-03-23 Thread Ezio Melotti
New submission from Ezio Melotti: After the subtests commit (5c09e1c57200/#16997), test_queue started showing the following warning: Warning -- threading._dangling was modified by test_queue 1 test altered the execution environment: test_queue The warning was caused by the fact that the

[issue17511] Idle find function closes after each find operation

2013-03-23 Thread Roger Serwy
Roger Serwy added the comment: I can confirm this behavior. The attached preliminary patch allows the Find dialog to remain open, and is the same for 2.x and 3.x. Until PEP434 gets resolved, I won't be able to apply the patch for earlier versions of IDLE. For what it's worth, the applied

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-03-23 Thread Claudiu.Popa
Claudiu.Popa added the comment: Yes, it iterates over every member of the namespace path. The new attached patch fixes this behaviour, by checking that each loader path starts with top_level_dir when set_implicit_top is False (if set_implicit_top is True, top_level_dir is irrelevant,

[issue17449] dev guide appears not to cover the benchmarking suite

2013-03-23 Thread Ezio Melotti
Ezio Melotti added the comment: Benchmarking is also useful to test that existing patches (that fix bug or add features) don't have a negative effect on the performance. Some kind of warning that advises against using benchmarks just to try and optimize everything sounds like a good idea

[issue513840] entity unescape for sgml/htmllib

2013-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue513840 ___ ___

[issue4653] Patch to fix typos in C code

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4db1b0bb3683 by Gregory P. Smith in branch '3.3': Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and http://hg.python.org/cpython/rev/4db1b0bb3683 New changeset ace52be8da89 by Gregory P. Smith in branch 'default': Fixes

[issue4653] Patch to fix typos in C code

2013-03-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: the pythonrun issue had already been fixed. the others were still there (valid bugs, but were unlikely to be causing problems given the codepaths). fixed. I didn't write a Misc/NEWS entry on the commit because I didn't know how to usefully describe these

[issue12920] inspect.getsource fails to get source of local classes

2013-03-23 Thread Richard Eames
Changes by Richard Eames naddi...@gmail.com: -- nosy: +Naddiseo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12920 ___ ___ Python-bugs-list

[issue11087] Speeding up the interpreter with a few lines of code

2013-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: 3-4% faster in some cases is better than a kick in the head but is this worth pursuing? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11087

[issue17511] Idle find function closes after each find operation

2013-03-23 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17511 ___ ___ Python-bugs-list

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-03-23 Thread Todd Rovito
Todd Rovito added the comment: No problem Roger. I have attached a new patch for documentation updates to both the IDLE help.txt file and idle.rst for the Terminal extension. Would it be helpful if I did a diff on the idleX Terminal.py with your original patch? In addition to doing the

[issue17533] test_xpickle fails on OS X 10.5 with cannot import name precisionbigmemtest

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: precisionbigmemtest was added in a 2.5 bug fix release. I suppose Tiger has an older version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17533 ___

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-03-23 Thread Todd Rovito
Todd Rovito added the comment: Roger, I took Terminal.py and copied it into Lib/idlelib for the 3.4 branch. The extension started just fine but when I toggle it off under the options menu the arrow keys still go through history. Basically on my Mac I see no difference between the

[issue15801] Weird string interpolation behaviour

2013-03-23 Thread Thomas Waldmann
Thomas Waldmann added the comment: gave 2.7.4rc1 a try and was seeing a failing unit test that does not fail with 2.7.3. see the attached file for some minimal code that succeeds on 2.7.3, but not on 2.7.4rc1. it seems to have to do with being a subclass of Exception, it doesn't happen for

[issue15801] Weird string interpolation behaviour

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 391e3a7db1a3 by Benjamin Peterson in branch '2.7': allow any type with __getitem__ to be a mapping for the purposes of % (#15801) http://hg.python.org/cpython/rev/391e3a7db1a3 -- ___ Python tracker

[issue15801] Weird string interpolation behaviour

2013-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report. Will be fixed in 2.7.4. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15801 ___

[issue17511] Idle find function closes after each find operation

2013-03-23 Thread Todd Rovito
Todd Rovito added the comment: If it helps I have confirmed that this patch works great on Python 3.4 and Python 2.7 on the Mac. The code looks very clean and provides a simple fix. -- ___ Python tracker rep...@bugs.python.org

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-03-23 Thread Todd Rovito
Todd Rovito added the comment: After looking at the code some more I realized that I didn't have my configuration file configured correctly. The toggle was not working because I left this out of my config-extensions.def file: [Terminal_cfgBindings] terminal-toggle= Now it is working great

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-23 Thread Todd Rovito
New submission from Todd Rovito: I think it could be very helpful to add line numbers along the left side of the editor window. The feature could be toggled on/off easily enough. This was mentioned in the Invent with Python blog about IDLE so obviously other people would like the feature.

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-23 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +roger.serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535 ___ ___ Python-bugs-list

[issue13504] Meta-issue for Invent with Python IDLE feedback

2013-03-23 Thread Todd Rovito
Todd Rovito added the comment: http://bugs.python.org/issue17535 covers issue 12 Add an option to show line numbers along the left side of the editor window, and have it enabled by default. -- ___ Python tracker rep...@bugs.python.org

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2013-03-23 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13802 ___ ___ Python-bugs-list

[issue17390] display python version on idle title bar

2013-03-23 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390 ___ ___ Python-bugs-list

[issue17533] test_xpickle fails with cannot import name precisionbigmemtest or cannot import name _2G

2013-03-23 Thread Ned Deily
Ned Deily added the comment: Right. precisionbigmemtest was added by 0aafd1ae5120 (security patches from Apple) and released in 2.5.3. OS X 10.5 (Leopard) has 2.5.1. On a hunch, I installed a python2.4 (2.4.4) and the tests are broken using that as well: multiple failures attempting to import

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-23 Thread Éric Araujo
Éric Araujo added the comment: Benjamin, you committed a change to use HTTPS instead of HTTP. In this bug report, we were having a discussion about the false/incomplete security that this provides if there is no certificate checking. What are your thoughts on that? --

<    1   2