[issue19524] ResourceWarning when urlopen() forgets the HTTPConnection object

2014-07-16 Thread Martin Panter
Martin Panter added the comment: Added a new test for the invalid response case. Now both tests are included in test2.patch. I separated the actual fix into a separate close3.4.patch (refreshed for the 3.4 branch). This way it is easier for me to make sure the tests work before applying the f

[issue19524] ResourceWarning when urlopen() forgets the HTTPConnection object

2014-07-16 Thread Martin Panter
Changes by Martin Panter : Added file: http://bugs.python.org/file35980/test2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3068] IDLE - Add an extension configuration dialog

2014-07-16 Thread Ned Deily
Ned Deily added the comment: Tal, I'm working on something to make that easier. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue3068] IDLE - Add an extension configuration dialog

2014-07-16 Thread Tal Einat
Tal Einat added the comment: Bah, my original message was truncated! I could use some help figuring out how to test with various Tk versions. I have a Mac with OSX 10.8, and I've found the "IDLE and tkinter with Tcl/Tk on Mac OS X" page[1], but I'm still not sure how to actually go about insta

[issue21868] Tbuffer in turtle allows negative size

2014-07-16 Thread Jessica McKellar
Changes by Jessica McKellar : -- keywords: +needs review stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Guido van Rossum
Guido van Rossum added the comment: (Had to switch identities to close it.) -- resolution: -> wont fix status: open -> closed ___ Python tracker ___

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Guido van Rossum
Guido van Rossum added the comment: I don't see the value in this complication. Please close as won't fix. -- nosy: +Guido.van.Rossum ___ Python tracker ___ _

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Tim Peters
Tim Peters added the comment: I'm afraid "microoptimizations" aren't worth measuring to begin with, since, well, they're "micro" ;-) Seriously, switch compilers, compilation flags, or move to a new release of a single compiler, and a micro-optimization often turns into a micro-pessimization.

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +gvanrossum, rhettinger, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue18355] Merge super() guide into documentation

2014-07-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue18355] Merge super() guide into documentation

2014-07-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll translate it into a How-to guide when I get a chance. Right now, the content is in great shape, but the tone is somewhat "blog-posty". For now, the external link will have to suffice. -- priority: normal -> low __

[issue17101] __main__.py Multiprocessing on Windows

2014-07-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue21994] Syntax error in the ssl module documentation

2014-07-16 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the report. -- assignee: docs@python -> berker.peksag nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue21994] Syntax error in the ssl module documentation

2014-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0045eec1e247 by Berker Peksag in branch '3.4': Issue #21994: Fix SyntaxError in the SSLContext.check_hostname documentation. http://hg.python.org/cpython/rev/0045eec1e247 New changeset 8039a20b18cc by Berker Peksag in branch 'default': Issue #21994:

[issue1598] unexpected response in imaplib

2014-07-16 Thread Lita Cho
Lita Cho added the comment: Has this been determine as a server bug or a bug with imaplib? I am not able to reproduce this bug with Gmail. Do I need to use it with Lotus Server to recreate it? -- nosy: +Lita.Cho ___ Python tracker

[issue18320] python installation is broken if prefix is overridden on an install target

2014-07-16 Thread Ned Deily
Ned Deily added the comment: The problem you see is being caused by trying to override "prefix" on the "altinstall" or "install" targets. While Makefiles for many products will let you do that successfully, you really can't do that with Python's. Unfortunately, the values for "prefix" and "e

[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Thomas Kluyver
Thomas Kluyver added the comment: This page also looks relevant: sqlite can be compiled or used in three different threading modes. Presumably Python compiles/initialises it in the serialised mode, which makes it safe to use a connection from different threads. http://www.sqlite.org/threadsafe

[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Thomas Kluyver
Thomas Kluyver added the comment: The module docs do mention "Older SQLite versions had issues with sharing connections between threads." Presumably that means that sharing the connection between threads is safe so long as you're not using 'older versions', but it would be nice to have some mo

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread Lita Cho
Lita Cho added the comment: Updated my regex patch to include a comment about how we are violating the RFC and allowing all characters rather thane excluding the ] character. -- Added file: http://bugs.python.org/file35979/imap_regex.patch ___ Python

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread Lita Cho
Lita Cho added the comment: Updated the documentation in imaplib.rst to describe the RFC violation. -- versions: -Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35978/imap_doc.patch ___ Python tracker

[issue13837] test_shutil fails with symlinks enabled under Windows

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I've asked for patch reviews on #9949 and #15411. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Py

[issue15411] os.chmod() does not follow symlinks on Windows

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a patch review on this please as it's holding up #13837. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker _

[issue9949] os.path.realpath on Windows does not follow symbolic links

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Zach can you do a patch review on this as it's holding up #13837 ? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue13041] argparse: terminal width is not detected properly

2014-07-16 Thread paul j3
paul j3 added the comment: The latest patch, using _shutil.get_terminal_size(), looks fine. It lets environ['COLUMNS'] have priority over the end user's terminal width, as demonstrated by the change to test_argparse. test_argparse doesn't test changing the actual terminal size, but I imagin

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread Lita Cho
Lita Cho added the comment: Here is a patch for test_imaplib.py, adding the test for brackets. It should fail with the current version of imaplib, but should pass with the imap_regex.patch. -- Added file: http://bugs.python.org/file35977/test_imaplib.patch

[issue10305] Cleanup up ResourceWarnings in multiprocessing

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I've looked at managers.py and can't see any evidence that the sockets are ever closed. Please check this out as I can't believe that a technical problem like this could have been around for so long without someone else spotting it during testing, thus meaning

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2014-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with touching this stuff is that there is not only not an automatec test, there is not even a script for a manual test. -- ___ Python tracker _

[issue21941] Clean up turtle TPen class

2014-07-16 Thread ingrid
ingrid added the comment: Ah, I think I was mistaken about some things when I made the first patch but it looks like TPen have a few methods that don't work as you'd expect. Since _colorstr isn't implemented on TPen fillcolor and pencolor pen don't work as intended when you call them directly

[issue18320] idle, pydoc search python on wrong path at make altinstall with different exec- and prefix e.g. $HOME

2014-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3 only gets security fixes. This looks to be a linux altinstall installation problem rather than an idle problem. Idle and pydoc only start if Python starts first. One way to start idle is to start Python and then enter 'import idlelib.idle'. How did you s

[issue21995] Idle: pseudofiles have no buffer attribute.

2014-07-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: sys.stdin on 3.4.1 is also 'missing' (among public names) 'line_buffering' (True) and 'mode' ('r'). It seems that these could be trivially added, so the focus of this issue is 'buffer'. The associated .detach method is a no-op, (It is also a bit dangerous fo

[issue21994] Syntax error in the ssl module documentation

2014-07-16 Thread Alex Gaynor
New submission from Alex Gaynor: This can be seen at https://docs.python.org/3.4/library/ssl.html#ssl.SSLContext.check_hostname It looks like the colon should be omitted, and the next line un-indented. -- assignee: docs@python components: Documentation keywords: easy messages: 223291 n

[issue14689] make PYTHONWARNINGS variable work in libpython

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a patch review please, I'm not touching C code at that level within Python. Are people happy with the concept of moving code from main.c to pythonrun.c ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 _

[issue14285] Traceback wrong on ImportError while executing a package

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I've no idea what having a file called __main__.py is likely to do so can someone comment please. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Wolfgang Maier
Wolfgang Maier added the comment: Right, forgot about that. The consequence for the example is still far from satisfying, I think, but you can't change it without breaking compatibility then. Thanks for the quick reply, Wolfgang -- ___ Python track

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Ezio Melotti
Ezio Melotti added the comment: 'a' evaluates to true, but it's not equal to True: >>> bool('a') True >>> 'a' == True False but 1 and True are equal (for historical reasons): >>> 1 == True True Similarly '' evaluates to false, but it's not equal to False: >>> bool('') False >>>

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Wolfgang Maier
Wolfgang Maier added the comment: No, it's not that simple and I don't think this should be closed: In my example: >>> l = ['a', '', {}, 2.7, 1, 0, False, True] >>> l.index(True) 4 >>> l.index(False) 5 if using __eq__ consistently, you'd expect the first call to return 0 and the second 1 (sinc

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Ezio Melotti
Ezio Melotti added the comment: It's using __eq__: >>> l = [3, 1.0, 5, True, 7, 1] >>> l.index(1) 1 >>> l.index(True) 1 >>> l.index(1.0) 1 >>> True == 1 == 1.0 True -- nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed __

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Wolfgang Maier
New submission from Wolfgang Maier: >>> l = [False, True] >>> l.index(True) 1 >>> l.index(False) 0 good, but: >>> l = ['a', '', {}, 2.7, 1, 0, False, True] >>> l.index(True) 4 >>> l.index(False) 5 Apparently, True and False get converted to int in comparisons to ints. I would expect items to b

[issue21935] Implement AUTH command in smtpd.

2014-07-16 Thread Milan Oberkirch
Milan Oberkirch added the comment: We could solve issue 8503 at the same time by always calling 'accept_recipient(mailfrom, rcptto, user=None)' and providing a default implementation for backwards compatibility. -- ___ Python tracker

[issue18392] Doc: PyObject_Malloc() is not documented

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Any volunteers to document what appears to be a relatively obscure function :) -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry just a reminder for yourself and your band of merry men and women. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue21044] tarfile does not handle file .name being an int

2014-07-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed with rewritten tests. Thank you for your contribution Martin. > I ran into a related issue with the gettarinfo() method. Would that fall > under the scope of this bug, or should I raise a separate one? Yes, this looks as a separate bug. --

[issue21918] Convert test_tools to directory

2014-07-16 Thread Zachary Ware
Zachary Ware added the comment: Sure, I'll work on that some time this week. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-16 Thread R. David Murray
R. David Murray added the comment: Oh, that's a good point, I hadn't thought of that. Maybe I can come up with a better wording. -- ___ Python tracker ___ _

[issue21918] Convert test_tools to directory

2014-07-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks for your patch. Do you want to correct test_json's and others load_tests? -- ___ Python tracker ___ __

[issue18320] idle, pydoc search python on wrong path at make altinstall with different exec- and prefix e.g. $HOME

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry is this something you can comment on please? -- nosy: +BreamoreBoy, terry.reedy ___ Python tracker ___ ___

[issue21992] New AST node Else() should be introduced

2014-07-16 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21044] tarfile does not handle file .name being an int

2014-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 308f3c1e36d3 by Serhiy Storchaka in branch '2.7': Issue 21044: tarfile.open() now handles fileobj with an integer 'name' http://hg.python.org/cpython/rev/308f3c1e36d3 New changeset d6b71971b228 by Serhiy Storchaka in branch '3.4': Issue 21044: tarfi

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-16 Thread Milan Oberkirch
Milan Oberkirch added the comment: Agreed. It just feels a bit weird to send programming instructions for the server to the client (but it's probably the best we can do here). -- ___ Python tracker ___

[issue13540] Document the Action API in argparse

2014-07-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: That's interesting that there's activity on this again. I had forgotten I'd filed it. It's particularly timely, as I just yesterday had this experience again. I looked at the documentation and found it inadequate for me to understand how to implement a custom

[issue21059] idle_test.test_warning failure

2014-07-16 Thread Zachary Ware
Zachary Ware added the comment: I believe I eventually figured out the reason for the failure, it had to do with the fact that the Tcl/Tk DLLs were copied into PCbuild to avoid adding ..\tcltk[64]\bin to PATH and the persistent issue that tkinter._fix changes environment variables to make init

[issue18355] Merge super() guide into documentation

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Raymond what is your opinion on this proposal? -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 ___ Python tracker ___

[issue14945] Setup & Usage documentation for selected stdlib modules

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Where do we stand with this and #11260 ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker _

[issue11260] smtpd-as-a-script feature should be documented and should use argparse

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Where do we stand with this and #14945 ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ _

[issue13850] Summary tables for argparse add_argument options

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

2014-07-16 Thread Zachary Ware
Zachary Ware added the comment: Terry: the difference you saw between using regrtest and using unittest.main from the interactive prompt was because of regrtest.saved_test_environment: tkinter._fix sets environment variables at the beginning of one test which are cleared at the end by saved_te

[issue21992] New AST node Else() should be introduced

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-16 Thread R. David Murray
R. David Murray added the comment: No, I think the error return is better. Crashing the server on bad input data (which, worse, could be perfectly valid if the server were standards compliant) is a bad thing, I think. That is, if someone has an application that actually works with decode_dat

[issue19355] Initial modernization of OpenWatcom support

2014-07-16 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: This patch is so old at this point, it doesn't apply. Obviously its contents are of no interest to anyone. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread Lita Cho
Lita Cho added the comment: Okay, sounds good. I will also create a patch in the documentation that explains this, as well as comment on the regex patch. -- ___ Python tracker _

[issue13041] argparse: terminal width is not detected properly

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag type: behavior -> enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker ___

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2014-07-16 Thread Brendan Moloney
Brendan Moloney added the comment: Here is a script illustrating the issue. -- Added file: http://bugs.python.org/file35976/tarfile_issue.py ___ Python tracker ___ __

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-16 Thread Milan Oberkirch
Milan Oberkirch added the comment: Note that in this (and my previous) patch the message is sent to the client (the idea was not to raise an exception). Maybe it would be better to raise an exception with the information you mentioned? -- Added file: http://bugs.python.org/file35975/s

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

2014-07-16 Thread Zachary Ware
Zachary Ware added the comment: I think a pyvenv.exe would be overkill, but I think it would be reasonable to install the pyvenv script to \Scripts rather than \Tools\Scripts, possibly as both 'pyvenv.py' and 'pyvenv-X.Y.py'. Personally, I still prefer 'py -3 -m venv', but I understand the ar

[issue17924] Deprecate stat.S_IF* integer constants

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Should this have the same nosy list as #11016 ? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pyth

[issue17391] _cursesmodule Fails to Build on GCC 2.95 (static)

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a review of the one line patch please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker ___ ___

[issue21044] tarfile does not handle file .name being an int

2014-07-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21918] Convert test_tools to directory

2014-07-16 Thread Zachary Ware
Zachary Ware added the comment: Committed, thanks for the reviews! I had modeled load_tests after test_json's load_tests. The idiom used in test_email causes a warning from regrtest about sys.path being modified, so I modified the idiom slightly and used that. I have declined to backport the

[issue21918] Convert test_tools to directory

2014-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset e69f037332a6 by Zachary Ware in branch '3.4': Issue #21918: Convert test_tools.py to a sub-package of test. http://hg.python.org/cpython/rev/e69f037332a6 New changeset 1d0ca204c36f by Zachary Ware in branch 'default': Issue #21918: Convert test_tool

[issue19524] ResourceWarning when urlopen() forgets the HTTPConnection object

2014-07-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19524] ResourceWarning when urlopen() forgets the HTTPConnection object

2014-07-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Do you want to write a test for the case when an invalid response is received? -- versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue15119] ctypes mixed-types bitfield layout nonsensical; doesn't match compiler.

2014-07-16 Thread Olaf Hartmann
Olaf Hartmann added the comment: Answering my own question, here is a workaround, that also produces reasonable results for the original test case. Basically just inserting an empty struct: import ctypes class Empty(ctypes.Structure): _fields_ = [] class Struct(ctypes.Structure): _fie

[issue18144] FD leak in urllib2

2014-07-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> duplicate status: open -> closed superseder: -> test_urllib2net is triggering a ResourceWarning ___ Python tracker ___ _

[issue21986] Pickleability of code objects is inconsistent

2014-07-16 Thread Claudiu Popa
Claudiu Popa added the comment: TypeError is raised only in Python 2, in Python 3 it's PicklingError. -- ___ Python tracker ___ ___ Py

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread R. David Murray
R. David Murray added the comment: Postel's Law says: be conservative in what you do, be liberal in what you accept from others. So the client should not violate the RFC when sending data to the server. The server, on the other hand, by that law could accept "dirty" data if it can do somethi

[issue17750] allow the testsuite to run in the installed location

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: How do we stand with eight outstanding issues here? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ __

[issue17243] The changes made for issue 4074 should be documented

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably the responsibility for this lies with the person who made the changes for #4074 ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue15119] ctypes mixed-types bitfield layout nonsensical; doesn't match compiler.

2014-07-16 Thread Olaf Hartmann
Olaf Hartmann added the comment: I just run into this issue, so i'll bump it with another test case: import ctypes class Struct(ctypes.Structure): _fields_ = [ ("uint8_0", ctypes.c_uint8, 8), ("uint8_1", ctypes.c_uint8, 8), ("uint16_0", ctypes.c_uint16, 1), (

[issue13850] Summary tables for argparse add_argument options

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: At a quick glance the patch looks okay to me so as there's been a lot of positive comments can we have a formal patch review please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___

[issue20394] Coverity complains on audioop

2014-07-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Christian, what about 2.7? -- status: open -> pending versions: -Python 3.3, Python 3.4 ___ Python tracker ___ __

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

2014-07-16 Thread Case Van Horsen
Changes by Case Van Horsen : -- nosy: +casevh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue10818] pydoc: Remove old server and tk panel

2014-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e578b80c2f3 by Zachary Ware in branch '3.4': Remove Tools/scripts/pydocgui.pyw. http://hg.python.org/cpython/rev/2e578b80c2f3 -- ___ Python tracker __

[issue17101] __main__.py Multiprocessing on Windows

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Is it possible to backport the fix from #10845 to 2.7? Is it actually worth doing? -- components: +Library (Lib) nosy: +BreamoreBoy versions: -Python 2.6 ___ Python tracker _

[issue21935] Implement AUTH command in smtpd.

2014-07-16 Thread Milan Oberkirch
Milan Oberkirch added the comment: Done. I added the keyarg 'enable_AUTH' and two abstract methods to the server: process_auth(user, password) for authentication and accept_recipient(user, mailfrom, rcptto) for authorization. -- Added file: http://bugs.python.org/file35974/smtpd_AUTH_fu

[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Daniel could you provide a patch for this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-b

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

2014-07-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21986] Pickleability of code objects is inconsistent

2014-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: ppperry: Component Windows (or Macintosh) means Windows (or Mac) specific. The rpc code is general to all systems. -- ___ Python tracker ___ _

[issue17057] Data model documentation grammar

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not particularly interested in 2.7 documentation but is there anybody out there who could review this please. -- nosy: +BreamoreBoy ___ Python tracker _

[issue21986] Pickleability of code objects is inconsistent

2014-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is no unittest module for rpc yet. Should the pickle test include a test that pickling a code object fails, and with the proper exception? Is ppperry correct about PicklingError? Chainmap is new in 3.3 so 2.7 would need the copy version of the patch. -

[issue21927] BOM appears in stdin when using Powershell

2014-07-16 Thread eryksun
eryksun added the comment: > PS C:\Users\jaraco> echo £ | py -3 -c "import sys; > print(repr(sys.stdin.buffer.read()))" > b'?\r\n' > Curiously, it appears as if powershell is actually receiving > a question mark from the pipe. PowerShell calls ReadConsoleW to read the console input buffer, i.

[issue21815] imaplib truncates some untagged responses

2014-07-16 Thread Lita Cho
Lita Cho added the comment: > > R. David Murray added the comment: > > Just to make sure I understand: the issue is that gmail may produce flags > with [] in them, and imaplib currently fails to process such flags when it > receives them from gmail? > > This is correct. Gmail allows you to create

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 16/07/2014 12:43, Steven D'Aprano a écrit : > > I would *much* rather a parameter to timeit which controls whether or > not to unroll, rather than timeit trying to guess whether you want it to > unroll or not. PyPy can default to off, CPython to on, and other

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-16 Thread Alex Gaynor
Changes by Alex Gaynor : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue13540] Document the Action API in argparse

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Paul what is your opinion of this documentation patch? -- nosy: +BreamoreBoy, paul.j3 versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker _

[issue17026] pdb frames accessible after the termination occurs on uncaught exception

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Nosy list set according to experts page. -- nosy: +BreamoreBoy, georg.brandl versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___

[issue10048] urllib.request documentation confusing

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: @Senthil do you still intend to run with this or could somebody else pick it up? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker _

[issue21247] test_asyncio: test_subprocess_send_signal hangs on Fedora builders

2014-07-16 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch implementing a basic synchronization between the parent and the child processing, to wait until the child is sleeping. Can you please try this patch? If it doesn't work, we might add a small sleep of 500 ms after the readline(). -- key

[issue21985] test_asyncio prints some junk

2014-07-16 Thread STINNER Victor
STINNER Victor added the comment: I fixed last warnings in tests ran in debug mode. I close the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

  1   2   >