[issue21926] Bundle C++ compiler with Python on Windows

2014-07-06 Thread Ben Lucato
New submission from Ben Lucato: I am wondering if it is at all on the roadmap to bundle a C compiler with Python on Windows, given that installing libraries with C extensions is very confusing on Windows. For example, to install NumPy on Windows you end up either having to download the right

[issue9554] test_argparse.py: use new unittest features

2014-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset f240ca6345c8 by Berker Peksag in branch 'default': Issue #9554: Use modern unittest features in test_argparse. http://hg.python.org/cpython/rev/f240ca6345c8 -- nosy: +python-dev ___ Python tracker

[issue9554] test_argparse.py: use new unittest features

2014-07-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks Denver and Radu. And thanks for the review, Ezio. -- assignee: - berker.peksag resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2403] Add figleaf coverage metrics

2014-07-06 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2403 ___ ___

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Lita Cho
Lita Cho added the comment: Hey Terry, So the reason why the tearing is a lot slower in 06/09 patch is because the canvas is using the turtle.ScrolledCanvas widget. Everytime the window resizes, it is calling a callback to `onResize` - `adjustScrolls` to update the scrollbars. When I comment

[issue14121] add a convenience C-API function for unpacking iterables

2014-07-06 Thread Stefan Behnel
Stefan Behnel added the comment: Ok. This has been idling long enough to just close it. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14121

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-06 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Alex, and sorry about the bug. The fix looks good. I've added a test that should be valid whether or not a compiler is available and, I hope, on Windows (I haven't tested it there). -- stage: - patch review versions: +Python 3.5

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-06 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file35873/issue21923_27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21923 ___

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: Just close this as asynchat is deprecated from 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12523 ___

[issue21323] CGI HTTP server not running scripts from subdirectories

2014-07-06 Thread Konstantin S. Solnushkin
Konstantin S. Solnushkin added the comment: Hi, I am curious about the fate of this issue -- whether it will be recognised as a bug (possibly a regression bug). Remember, it worked in Python 3.3 but stopped working in 3.4. -- ___ Python tracker

[issue21052] Consider dropping ImportWarning for empty sys.path_hooks and sys.meta_path

2014-07-06 Thread Masami HIRATA
Masami HIRATA added the comment: Hi, I can reproduce this issue with the following steps. $ uname -a Linux ashrose 3.2.0-65-generic #99-Ubuntu SMP Fri Jul 4 21:03:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ python3.4 --version Python 3.4.1 $ touch spam.txt $ python3.4 -Wa -c class A: pass; a

[issue1602742] itemconfigure returns incorrect text property of text items

2014-07-06 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Hi, just a question: the status of this issue is pending but it seems to be already resolved/duplicated. Means that this issue can be closed? Thansk in advance! -- nosy: +francismb status: pending - open

[issue1602742] itemconfigure returns incorrect text property of text items

2014-07-06 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1602742 ___ ___

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-06 Thread Alex Gaynor
Alex Gaynor added the comment: Test looks reasonable to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21923 ___ ___ Python-bugs-list

[issue21927] BOM appears in stdin when using Powershell

2014-07-06 Thread Jason R. Coombs
New submission from Jason R. Coombs: Consider this simple example in Powershell (Windows 8.1): C:\Users\jaraco cat .\print-input.py import sys print(next(sys.stdin)) C:\Users\jaraco echo foo | .\print-input.py foo The BOM (byte order mark) appears in the standard input stream. When using

[issue10374] distutils[2] should recreate scripts in the build tree

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: I always find distutils anything but easy :) -- components: -Distutils2 nosy: +BreamoreBoy, dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue16438] Numeric operator predecence confusing

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: I find the numeric operator predecence simply wrong, not confusing, so +1 from me for applying the attached patch from ktt3ja. It's as simple as possible but no simpler :) -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3

[issue1565071] update Lib/plat-linux2/IN.py

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: Related issues via #12619 include #3990 and #19554. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1565071 ___

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

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4256 ___

[issue6114] distutils build_ext path comparison only based on strings

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6114

[issue20135] FAQ need list mutation answers

2014-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3881c12fa3ae by Ezio Melotti in branch '2.7': #20135: move FAQ about mutable default arguments to the programming FAQs page. http://hg.python.org/cpython/rev/3881c12fa3ae New changeset 3b7b0f5aac1e by Ezio Melotti in branch '3.4': #20135: move FAQ

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Lita Cho
Lita Cho added the comment: I also put this patch out there. This doesn't have the PaneWindow, but I manually widen the text pane. This would be the compromise if I can't figure out the tearing due to the sash moving. -- Added file:

[issue20135] FAQ need list mutation answers

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: I moved the FAQ about mutable default arguments to the programming FAQs page. I was going to do a review about new FAQ, but it since I had several comments I just tried to rewrite it and make a new patch. Do you think this is clear enough? -- Added

[issue20135] FAQ need list mutation answers

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: +1 from me, I thought it was crystal clear. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20135 ___

[issue1581182] Definition of a character is wrong

2014-07-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - duplicate stage: needs patch - resolved status: languishing - closed superseder: - Issues in Unicode HOWTO ___ Python tracker rep...@bugs.python.org

[issue20906] Issues in Unicode HOWTO

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: See also #1581182. -- stage: - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20906 ___

[issue1660009] continuing problem with httplib multiple set-cookie headers

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: msg179391 states this is fixed in Python 3 so we can close this as out of date. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1660009

[issue1610654] cgi.py multipart/form-data

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: @Hynek could you port the patch as you've shown some interest in it? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1610654 ___

[issue12602] Missing cross-references in Doc/using

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: Patch LGTM. -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___ ___

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-06 Thread Tal Einat
/cpython/file/d25ae22cc992/Lib/idlelib/PyParse.py#l117 -- keywords: +patch Added file: http://bugs.python.org/file35876/taleinat.20140706.IDLE_HyperParser_unicode_ids.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21765

[issue614557] LookupError etc. need API to get the key

2014-07-06 Thread Mark Lawrence
Mark Lawrence added the comment: See also #18156, #18163, #18165 and #18166, possibly others? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue614557 ___

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Lita Cho
Lita Cho added the comment: ?! After debugging for awhile, I got it so that PanedWindow doesn't cause the rightmost widget to tear! I had to disable the resizing binding on Turtle to make it work. However, now it seems like the canvas is no longer centered. Is there anyway for me to get

[issue21323] CGI HTTP server not running scripts from subdirectories

2014-07-06 Thread Ned Deily
Ned Deily added the comment: The change in behavior is definitely caused by the changes for Issue19435. The code added there does not work correctly if there are nested directories in the cgi-bin directory; for one thing, the initial os.path.isdir(scriptdir) test in run_cgi is failing

[issue20187] The Great Argument Clinic Conversion Derby Meta-Issue

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20187 ___ ___

[issue21323] CGI HTTP server not running scripts from subdirectories

2014-07-06 Thread Ned Deily
Ned Deily added the comment: BTW, if someone is looking for an issue to help out with, this might be a good choice. -- keywords: +easy -buildbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21323

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Ned Deily
Ned Deily added the comment: Lita, turtledemo_pane_srcoll_fix.patch definitely solves the tearing problems (when viewed with OS X Cocoa and X11 Tk's): yay! Good luck with getting the centering working! -- ___ Python tracker rep...@bugs.python.org

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset bdbfbb57e37e by Ned Deily in branch '2.7': Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler http://hg.python.org/cpython/rev/bdbfbb57e37e New changeset 78fa18e95445 by Ned Deily in branch '3.4': Issue #21923: Prevent

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Lita Cho
Lita Cho added the comment: I think I have a fix!! I made it so that centering works while fixing the tearing. For some reason, in the Turtle API, the adjustScrolls method creates a new scroll widget for x and y and deletes the old one. I am not sure why it does it this way. I'm sure

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-07-06 Thread Dustin Oprea
New submission from Dustin Oprea: functools.wraps docs say This is a convenience function for invoking partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated) as a function decorator when defining a wrapper function. The referenced function should be update_wrapper(), not

[issue9571] argparse: Allow the use of -- to break out of nargs and into subparser

2014-07-06 Thread paul j3
paul j3 added the comment: In elsdoerfer's example, the '--' effectively ends the argument list for '--ignore'. '--' are not allowed in the arguments of an optional (see the end of '_get_nargs_pattern()'). Rather the problem is at the start of _get_values() if action.nargs not in

[issue20639] pathlib.PurePath.with_suffix() does not allow removing the suffix

2014-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d84855861ff by Antoine Pitrou in branch '3.4': Issue #20639: calling Path.with_suffix('') allows removing the suffix again. http://hg.python.org/cpython/rev/0d84855861ff -- nosy: +python-dev ___ Python

[issue21714] Path.with_name can construct invalid paths

2014-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2636b5816a3 by Antoine Pitrou in branch '3.4': Issue #21714: Disallow the construction of invalid paths using Path.with_name(). Original patch by Antony Lee. http://hg.python.org/cpython/rev/c2636b5816a3 -- nosy: +python-dev

[issue20639] pathlib.PurePath.with_suffix() does not allow removing the suffix

2014-07-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry for the delay! The patch is now applied. Thank you for contributing! -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue21714] Path.with_name can construct invalid paths

2014-07-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, patch now applied (as well as the original patch for with_suffix()). Thank you very much! -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-06 Thread Ned Deily
Ned Deily added the comment: Committed for release in 2.7.9, 3.4.2, and 3.5.0. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21923

[issue21518] Expose RegUnloadKey in winreg

2014-07-06 Thread Claudiu Popa
Claudiu Popa added the comment: Any type of feedback will be appreciated. -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21518 ___