[issue19954] test_tk floating point exception on my gentoo box with tk 8.6.1

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mark, pending state here means that I think this issue should be closed, but what to see agreement from David (as issue starter and as other core developer). -- ___ Python tracker rep...@bugs.python.org

[issue21925] ResourceWarning sometimes doesn't display

2014-07-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever title: ResouceWarning sometimes doesn't display - ResourceWarning sometimes doesn't display versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue20026] sqlite: handle correctly invalid isolation_level

2014-07-13 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20026 ___

[issue7405] compiling python 3.1.1 using cygwin 1.7.0 and gcc 4.3.4

2014-07-13 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +jlt63, stutzbach versions: +Python 3.4, Python 3.5 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7405 ___

[issue21973] Can't use Idle

2014-07-13 Thread Thomas Kember
New submission from Thomas Kember: I am a retired programmer. I still like to write small programs for my own interest. Python is ideal for this. I prefer to use Idle rather than the command line. For some time now when I click on the Idle shortcut on the home screen, the command line screen

[issue8526] msilib doesn't support multiple CAB instances in same installer

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Steve/Zach just FYI -- nosy: +BreamoreBoy, steve.dower, zach.ware versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8526 ___

[issue14484] missing return in win32_kill?

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Zach can you add anything to this? -- nosy: +BreamoreBoy, zach.ware versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14484

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
SilentGhost added the comment: This is the normal content of idle.bat Could you run `c:\python34\python.exe -m idlelib.idle` from the command-line and post the output here? -- components: +IDLE nosy: +SilentGhost, kbk, roger.serwy, terry.reedy ___

[issue15962] Windows STDIN/STDOUT Redirection is actually FIXED

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: This can be closed as out of date as extensive changes made to the Windows FAQ have removed the wording referenced in the patch. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue16620] Avoid using private function glob.glob1() in msi module and tools

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Just a reminder that there are comments on Rietveld. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16620

[issue17717] Set up nasm from external.bat

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: I think a message as suggested in msg187571 would be more than adequate. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17717

[issue5773] Crash on shutdown after os.fdopen(2) in debug builds

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Using latest default. c:\cpython\PCbuildpython_d -c import os; os.fdopen(2) -c:1: ResourceWarning: unclosed file _io.TextIOWrapper name=2 mode='r' encoding='cp1252' Do we need to do anything with 2.7, can this be closed or what? -- nosy: +BreamoreBoy

[issue14484] missing return in win32_kill?

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14484 ___ ___ Python-bugs-list

[issue15962] Windows STDIN/STDOUT Redirection is actually FIXED

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15962 ___ ___ Python-bugs-list

[issue21974] Typo in Set in PEP 289

2014-07-13 Thread Quan Nguyen
New submission from Quan Nguyen: This statement in the Rationale section: s = Set(word for line in page for word in line.split()) Set should be set (lowercase 's') -- assignee: docs@python components: Documentation messages: 222924 nosy: Quan.Nguyen, docs@python priority: normal

[issue1175984] Make subprocess.Popen support file-like objects (win)

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: I believe this should be closed as the patch refers to various win32xxx imports that no longer exists in subprocess.py. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue1260171] subprocess: more general (non-buffering) communication

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Please note the work being performed on #1191964 which was first referenced in msg54591. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-07-13 Thread Andy Maier
Changes by Andy Maier andreas.r.ma...@gmx.de: Added file: http://bugs.python.org/file35938/try_eq.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-07-13 Thread Andy Maier
Changes by Andy Maier andreas.r.ma...@gmx.de: Added file: http://bugs.python.org/file35939/try_eq.out ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___

[issue21789] Broken link to PEP 263 in Python 2.7 error message

2014-07-13 Thread Martijn Pieters
Martijn Pieters added the comment: Yeah, I should have thought of that in the first place. Done, and thanks, Ned! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21789 ___

[issue16070] Structure and native Structure (LittleEndianStructure on Windows) supports __slots__, but BigEndianStructure doesn't

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @hct I'm very sorry about the delay in getting back to you. The reported bevaviour is the same with 3.4.1 and 3.5.0a0 on Windows 7. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python

[issue21973] Can't use Idle

2014-07-13 Thread Thomas Kember
Thomas Kember added the comment: I ran what you said. Here's what I got. C:\Python34c:\python34\python.exe -m idlelib.idle Traceback (most recent call last):   File c:\python34\lib\runpy.py, line 170, in _run_module_as_main     __main__, mod_spec)   File c:\python34\lib\runpy.py, line 85, in

[issue16623] argparse help formatter does not honor non-breaking space

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: The example code works fine using 3.4.1 and 3.5.0a0 on Windows 7. -- nosy: +BreamoreBoy, paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16623 ___

[issue16786] argparse doesn't offer localization interface for version action

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Thorsten sorry about the delay involved here. -- nosy: +BreamoreBoy, paul.j3 versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16786

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
SilentGhost added the comment: If you would delete this file: C:\Users\Tomk\.idlerc\config-extensions.cfg (back it up some place else just in case). Does it start? and if not, would you mind re-running the same command again? -- ___ Python tracker

[issue16807] argparse group nesting lost on inheritance

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Dougal sorry about the delay in getting back to you. -- nosy: +BreamoreBoy, paul.j3 versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16807

[issue16376] wrong type for wintypes.BYTE

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: All cbytes tests passed after the change was made but I've no idea as to the impact of this. -- keywords: +patch nosy: +BreamoreBoy versions: -Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file35940/Issue16376.diff

[issue21972] Bugs in the lexer and parser documentation

2014-07-13 Thread François-René Rideau
François-René Rideau added the comment: Actually, my reading was buggy, and the u part is well-documented enough. Apologies for this part of the bug report. The lexer documentation is still missing the ellipsis, though Other bug I found in the lexer documentation: missing @= And the parser

[issue21925] ResourceWarning sometimes doesn't display

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be save the timestamp for module importing and then clean up modules them in reversed order? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21925

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-07-13 Thread Andy Maier
Andy Maier added the comment: Mark: Both are good points! Would you add the cases from your second comment under symmetry? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___

[issue21861] io class name are hardcoded in reprs

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I now see that this issue is not so easy from C side. And more, it is very uncommon for either Python or C implementations (especial C implementations) to introspect to figure out their real name. Existing cases are rather exceptions. And in many case this

[issue8519] doc: termios and ioctl reference links

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: My understanding is that we can't use the patches as the originator has never signed the CLA. Am I correct or does this only apply to code, or what? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue21973] Can't use Idle

2014-07-13 Thread Thomas Kember
Thomas Kember added the comment: Thanks, I backed that file on to a memory stick and deleted it. I made a shortcut to the idle batch file on the desktop. When I click on it, Idle comes up fine. What has happened here? What is config-extensions.cfg for and why has it stopped Idle coming up?

[issue20858] Enhancements/fixes to pure-python datetime module

2014-07-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Brian, Could you, please update the summary of your changes from your first post? For example, you did not mention caching of the timedelta hashes. This particular chance seems to call for a discussion. Do we cache timedelta hashes in C

[issue20858] Enhancements/fixes to pure-python datetime module

2014-07-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Updated patch, now it also caches the result of __hash__ like the C accelerator. I should read your notes! Sorry, Brian. You already answered my questions. Too bad that the latest notes are so far from the entry area. Still, it would be helpful if

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg222943 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21973 ___

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg222930 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21973 ___

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
SilentGhost added the comment: IDLE supports extensions: https://docs.python.org/3/library/idle.html#extensions And that was a user-configuration file that got corrupted somehow. As it's an optional feature, IDLE can work without it. You can use your favourite text editor to compose programs

[issue21973] Can't use Idle

2014-07-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21973 ___ ___ Python-bugs-list

[issue20858] Enhancements/fixes to pure-python datetime module

2014-07-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: [Josh Rosenberg] You've just given me an excuse to open my first bug. Did you open an issue for that? (Use n code in date/datetime constructors.) -- ___ Python tracker rep...@bugs.python.org

[issue20858] Enhancements/fixes to pure-python datetime module

2014-07-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here is the tuple hash caching thread that I mentioned above: https://mail.python.org/pipermail/python-dev/2003-August/037416.html Since the C code uses caching already, I don't think we need to discuss it any further. And the thread on tuples does not

[issue20328] mailbox: add method to delete mailbox

2014-07-13 Thread R. David Murray
R. David Murray added the comment: I find it surprising that deleting a mailbox does not delete subfolders. What is the rationale for that? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20328

[issue21935] Implement AUTH command in smtpd.

2014-07-13 Thread R. David Murray
R. David Murray added the comment: I think it would be a good idea to write the documentation. It is much easier to get a feel for the API via docs than it is via code. (That is, when you explain how to use the API, you sometimes find design bugs :) for a/b: so you are thinking of an auth

[issue21951] tcl test change crashes AIX

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is following test passed? check((1,), '1') Is CPython crashes when change signature of testfunc? --- a/Lib/test/test_tcl.py Sat Jul 12 18:26:03 2014 +0300 +++ b/Lib/test/test_tcl.py Sun Jul 13 19:21:55 2014 +0300 @@ -416,7 +416,7 @@

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-13 Thread R. David Murray
R. David Murray added the comment: The python command just returns. The dmesg was a good call: python invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0 python cpuset=pydev mems_allowed=0 [...] Out of memory: kill process python(28623:#112) score 85200 or a child Killed process

[issue1610654] cgi.py multipart/form-data

2014-07-13 Thread R. David Murray
R. David Murray added the comment: To move this issue along we need someone to convert it into our standard patch format (a unified diff against either the 3.4 or the default branch, preferrably produced via an 'hg diff' command without the --git option), with the test included as a unit test

[issue16726] expat ParseFile expects bytes, not string

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Michiel I'm sorry about the delay in replying to you. I can confirm the same behaviour in 3.4.1 on 3.5.0a0 on Windows 7. -- nosy: +BreamoreBoy, christian.heimes versions: +Python 3.4, Python 3.5 -Python 3.3 ___

[issue14094] nt.realpath() should use GetFinalPathNameByHandle() when available

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this should be treated as an enhancement request. -- nosy: +BreamoreBoy type: - enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue16561] Windows installer doesn't use UAC, then crashes

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this is still an issue. I've not tested it myself as I've never understood why python gets put in Program Files so I don't have such a setup and won't be creating one. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- keywords: +needs review stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1186900 ___

[issue21585] Run Tkinter tests with wantobjects=False

2014-07-13 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- keywords: +needs review stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21585 ___

[issue6639] turtle: _tkinter.TclError: invalid command name .10170160

2014-07-13 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- keywords: +needs review stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6639 ___

[issue16458] subprocess.py throw The handle is invalid error on duplicating the STD_INPUT_HANDLE

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Is XP under Python support now? I'm sure I've read that it isn't but can't find a reference. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16458

[issue16123] IDLE - deprecate running without a subprocess

2014-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: It would be nice if we are able to to this in 3.5, because the dependecy is accomplished, but not doing so is not a release blocker. -- dependencies: +Idle: use pipes instead of sockets to talk with user subprocess priority: deferred blocker - normal

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Berker Peksag
Berker Peksag added the comment: diff -r 8f85262fbe8a Lib/nntplib.py --- a/Lib/nntplib.pySun Jul 06 02:24:24 2014 -0400 +++ b/Lib/nntplib.pyThu Jul 10 16:10:38 2014 -0700 @@ -122,6 +122,9 @@ Error in response data pass +class NNTPConnectError(NNTPError): +Error during

[issue17480] pyvenv should be installed someplace more obvious on Windows

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Any thoughts from our Windows gurus? -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware type: - enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: Wouldn't this be backward incompatible? Even if the EOFError that is raised is not documented explicitly, people might be catching it, and switching to a new exception would break their programs. Maybe NNTPConnectError should inherit from EOFError too?

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Lita Cho
Lita Cho added the comment: That's a good point. I can add that so the NNTPConnectError can inherit the EOFError -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1186900 ___

[issue21973] Idle should not quit on corrupted user config files

2014-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Explanation: there are a few config-xy files in lib/idlelib that contain default configuration values. Custom values for a particular user, which override the defaults, are kept in a .idlerc directory placed in a users home directory (here C:/users/Tomk).

[issue15962] Windows STDIN/STDOUT Redirection is actually FIXED

2014-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - out of date stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15962 ___

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Lita Cho
Lita Cho added the comment: Here is an updated patch. -- Added file: http://bugs.python.org/file35941/nntplib_error.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1186900 ___

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: Anything else to do here, noting the references to #21059 and #20035 ? Great work by the way, things on Windows are far cleaner than they were just a few months ago. -- nosy: +BreamoreBoy ___ Python tracker

[issue21951] tcl test change crashes AIX

2014-07-13 Thread David Edelsohn
David Edelsohn added the comment: Is following test passed? check((1,), '1') That test succeeds. Is CPython crashes when change signature of testfunc? --- a/Lib/test/test_tcl.py Sat Jul 12 18:26:03 2014 +0300 +++ b/Lib/test/test_tcl.py Sun Jul 13 19:21:55 2014 +0300 @@

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15968 ___ ___ Python-bugs-list

[issue10395] new os.path function to extract common prefix based on path components

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is revised patch. The behavior is changed in correspondence with results of Python-ideas discussion, extended tests, fixed several bugs. -- keywords: +patch stage: commit review - patch review Added file:

[issue11344] Add os.path.splitpath(path) function

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch. Added private general implementation in genericpath and specialized implementations are now tested to return the same result as general implementation. -- versions: +Python 3.5 -Python 3.4 Added file:

[issue21914] Create unit tests for Turtle guionly

2014-07-13 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21914 ___

[issue21916] Create unit tests for turtle textonly

2014-07-13 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21916 ___

[issue21951] tcl test change crashes AIX

2014-07-13 Thread David Edelsohn
David Edelsohn added the comment: #5 0x1019bb90 in PyCFunction_Call (func=0x30533b5c, arg=0x305d8ab4, kw=0x0) at Objects/methodobject.c:94 #6 0x1012534c in call_function (pp_stack=0x2ff16144, oparg=2) at Python/ceval.c:4269 94 CHECK_RESULT(res); (gdb) print res $9 =

[issue11344] Add os.path.splitpath(path) function

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11344 ___ ___ Python-bugs-list

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: I believe the patch on #1576120 is related to this but it was never reviewed. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue21951] tcl test change crashes AIX

2014-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be this patch will help. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file35944/tkinter_nomemory.patch ___ Python tracker rep...@bugs.python.org

[issue15266] Perform the same checks as PyPI for Description field

2014-07-13 Thread Wichert Akkerman
Wichert Akkerman added the comment: Éric is not quite correct: I currently have a package where python setup.py check does not show any error, but PyPI still refuses to format my long description. Likewise python setup.py --long-description | rst2html-2.7.py /dev/null also does not reveal

[issue21514] update json module docs in light of RFC 7159 ECMA-404

2014-07-13 Thread Chris Rebert
Chris Rebert added the comment: Here's a draft patch against the default branch that updates the json module's docs accordingly. Note that under Implementation Limitations, the statement This module does not impose any such limits beyond those of the relevant Python datatypes themselves or

[issue15947] Assigning new values to instance of pointer types does not check validity

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Facundo please accept our apologies for the delay in getting back to you. -- nosy: +BreamoreBoy, amaury.forgeotdarc, belopolsky, meador.inge versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker

[issue15388] SAX parse (ExpatParser) leaks file handle when given filename input

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Matt I'm sorry that we haven't got back to you on this. -- nosy: +BreamoreBoy, christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15388 ___

[issue16178] atexit._run_exitfuncs should be a public API

2014-07-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Gregory do you intend to follow up on this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16178 ___

[issue18592] Idle: test SearchDialogBase.py

2014-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6c5719e0f4e by Terry Jan Reedy in branch '2.7': Issue #18592: Method return signature changes made to SearchDialogBase for http://hg.python.org/cpython/rev/b6c5719e0f4e New changeset 407110796b16 by Terry Jan Reedy in branch '3.4': Issue #18592:

[issue10289] Document magic methods called by built-in functions

2014-07-13 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10289 ___ ___ Python-bugs-list

[issue21951] tcl test change crashes AIX

2014-07-13 Thread David Edelsohn
David Edelsohn added the comment: No difference with the patch. The problem is not a a malloc() failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21951 ___

[issue21777] Separate out documentation of binary sequence methods

2014-07-13 Thread Nick Coghlan
Nick Coghlan added the comment: v2 patch converts the second category of functions. This conversion highlighted the lack of good examples in the str.split() docs, as well as some over and underspecification in the behaviour of the centering and justification methods (guarantees about object

[issue21777] Separate out documentation of binary sequence methods

2014-07-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Why are you removing guarantees like these from the str docs: The original string is returned if *width* is less than or equal to ``len(s)``. ? This doesn't seem to have anything to do with documenting bytes and bytearrays. -- nosy: +lemburg

[issue16178] atexit._run_exitfuncs should be a public API

2014-07-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: I don't currently have a need for this so, no. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16178 ___ ___

[issue16623] argparse help formatter does not honor non-breaking space

2014-07-13 Thread paul j3
paul j3 added the comment: The issue here is how `textwrap` handles the non-breaking space. That's being address here: http://bugs.python.org/issue20491 textwrap: Non-breaking space not honored Temporarily an `argparse` user can get around it with

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-07-13 Thread Elizabeth Myers
Elizabeth Myers added the comment: The backtrace of the crash, if it helps -- Added file: http://bugs.python.org/file35948/trace.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21975 ___

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-07-13 Thread Elizabeth Myers
New submission from Elizabeth Myers: Pickling, unpickling, then using an sqlite3.Row object results in a segfault on at least Python 3.3.5, 3.4.0, and 3.4.1. I have attached a test case and a backtrace below. I know you're not supposed to pickle sqlite3.Row objects, as the given test case

[issue21974] Typo in Set in PEP 289

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: To modern eyes, that might look like a typo, but it is correct. It refers to the Set() class in the sets.py module, the pure python implementation of sets which pre-dates the c-implementation of the set() built-in type. -- nosy: +rhettinger

[issue21955] ceval.c: implement fast path for integers with a single digit

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: There also used to be a fast path for binary subscriptions with integer indexes. I would like to see that performance regression fixed if it can be done cleanly. -- nosy: +rhettinger ___ Python tracker

[issue10395] new os.path function to extract common prefix based on path components

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: This patch looks reasonable except for the doc change to os.path.commonprefix(). Remember, that function IS working as documented and that our policy is to document in an affirmative manner (here is what the function does and how to use it versus being

[issue16178] atexit._run_exitfuncs should be a public API

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Closed due to lack on interest. -- nosy: +rhettinger resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16178

[issue21922] PyLong: use GMP

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with all of Mark's objections. Unless there is a compelling win, Python is better-off without the maintenance, portability, and licensing issues. I have vague memories of this having been discussed a long time ago and it is unlikely that there

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I believe the problem lies with the way that Windows implements the 'exec' functions. Yes, that is that cause of the observed behavior. See the first note in the remarks section on the relevant MSDN entry at

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I believe the problem lies with the way that Windows implements the 'exec' functions. Yes, that is that cause of the observed behavior. See the first note in the remarks section on the relevant MSDN entry at

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-13 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- Removed message: http://bugs.python.org/msg222989 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20451 ___

[issue21777] Separate out documentation of binary sequence methods

2014-07-13 Thread Nick Coghlan
Nick Coghlan added the comment: On 13 Jul 2014 18:39, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg added the comment: Why are you removing guarantees like these from the str docs: The original string is returned if *width* is less than or equal to ``len(s)``.

[issue21777] Separate out documentation of binary sequence methods

2014-07-13 Thread Guido van Rossum
Guido van Rossum added the comment: On Sun, Jul 13, 2014 at 7:00 PM, Nick Coghlan rep...@bugs.python.org wrote: Nick Coghlan added the comment: On 13 Jul 2014 18:39, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg added the comment: Why are you removing

[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I no longer have a Windows box to test this but any proposed patch needs to make sure it doesn't break code that is already manually escaping the inputs. -- nosy: +loewis, steve.dower, tim.golden, tim.peters ___