[issue21907] Update Windows build batch scripts

2014-07-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: All fine with me. As for buildmsi.bat: note that we used to have a "daily msi" builder that was using the script. It took too much effort to keep it running. -- ___ Python tracker

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Ned Deily
Ned Deily added the comment: > The one thing I think this patch still needs is a notice to the user that the > sash can be moved. Once place is one of the help files. I can do that. Can we > also put a line in the text box on startup? > "Change text pane width by moving the divider ==>" Is tha

[issue21597] Allow turtledemo code pane to get wider.

2014-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great improvement. Full screen on my system, the artifact ghosting band is about 1/4 inch, as with the empty panes, instead of several inches, as it was in the original patch moving right to left. This worst-case (Windows) behavior is good enough to commit whe

[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 ___ ___ Python

[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

[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

[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 __

[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 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 t

[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 [PA

[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(), no

[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 th

[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 At

[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

[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 ___ _

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

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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 becau

[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 arou

[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 ___ __

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

2014-07-06 Thread Tal Einat
properly support Unicode. .. [1]: http://hg.python.org/cpython/file/d25ae22cc992/Lib/idlelib/PyParse.py#l117 -- keywords: +patch Added file: http://bugs.python.org/file35876/taleinat.20140706.IDLE_HyperParser_unicode_ids.patch _

[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 ___ ___ Python-bugs-list mailing

[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 ___ _

[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 ___ ___

[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 ___

[issue1581182] Definition of a "character" is wrong

2014-07-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> duplicate stage: needs patch -> resolved status: languishing -> closed superseder: -> Issues in Unicode HOWTO ___ Python tracker _

[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 ___ __

[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 file

[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: http://bugs.python.org/file35874/turtledemo_grid.patc

[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 a

[issue6114] distutils build_ext path comparison only based on strings

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker ___ _

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

2014-07-06 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +paul.j3 versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 ___ __

[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 ___

[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

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1602742] itemconfigure returns incorrect text property of text items

2014-07-06 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[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 _

[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

[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

[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 ___ ___ Python-bugs-list ma

[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 : Added file: http://bugs.python.org/file35873/issue21923_27.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[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 -P

[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 ___

[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