[issue19917] [httplib] logging information for request is not pretty printed

2014-06-17 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +dbrecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19917 ___ ___ Python-bugs-list

[issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

2014-06-17 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21739 ___

[issue21686] IDLE - Test hyperparser

2014-06-17 Thread Tal Einat
Tal Einat added the comment: Ouch. I hadn't thought about the Ellipsis literal! That would be sensibly possible, yes, but not simple. I think opening a separate issue for this would be prudent. -- ___ Python tracker rep...@bugs.python.org

[issue1336] subprocess.Popen hangs when child writes to stderr

2014-06-17 Thread Torsten Landschoff
Torsten Landschoff added the comment: ita1024: please don't post to closed issues; your message here will be ignored. Bugs for Python 2 will be ignored anyway so what can you do? I am currently fighting with the effects of using threads, subprocess.Popen and sqlite in Python2 and found

[issue21787] Idle: make 3.x Hyperparser.get_expression recognize ...

2014-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy: 3.0 introduced ... as Ellipsis literal. Test: add '...\n' to the end of the test code. In test_get_expression, add at the end p = get('12.3') self.assertEqual(p.get_expression(), '...') which now fails with AssertionError: '' != '...'.

[issue21686] IDLE - Test hyperparser

2014-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21787 Idle: make 3.x Hyperparser.get_expression recognize ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21686 ___

[issue21784] __init__.py can be a directory

2014-06-17 Thread Berker Peksag
Berker Peksag added the comment: I think this is related to PEP 420. $ tree pkg/ pkg/ ├── foobar.py $ python3.2 -c from pkg import foobar Traceback (most recent call last): File string, line 1, in module ImportError: No module named pkg But, with Python 3.3 and

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: sys.platform == cli or sys.platform == silverlight It cannot happen in CPython, so I think that it's fine to leave CPython stdlib unchanged. I consider that the issue is fixed because the bug report was for IronPython and the bug was fixed there. --

[issue21788] Rework Python finalization

2014-06-17 Thread STINNER Victor
New submission from STINNER Victor: Hi, During the development of Python 3.4, I tried to emit warnings if a file is destroyed without being explicitly closed. The warnings were not emited in threads during Python finalization. Here are related changes: - Issue #19421: FileIO destructor

[issue21788] Rework Python finalization

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: Benjamin changed ThreadState_DeleteCurrent() to fix an issue in this part of the code, but then reverted his change: revert tstate_delete_common, since it's pretty much wrong http://hg.python.org/cpython/rev/3ce746735b99 (Yeah this part of the code is really

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2014-06-17 Thread Konstantin Tretyakov
Konstantin Tretyakov added the comment: Do note that things are not as simple as slices with negative indices are treated differently from scalar negative indicies. Namely, behaviour differs whether you use [] or .__getitem__, and whether you use [a:b] or [slice(a,b)]. This does not make

[issue21788] Rework Python finalization

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: Charles-François Natali wrote a general comment about daemon threads: http://bugs.python.org/issue19466#msg206028 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21788

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2014-06-17 Thread eryksun
eryksun added the comment: Refer to the documentation for deprecated __getslice__ when slicing an instance of a classic class: https://docs.python.org/2/reference/datamodel.html#object.__getslice__ The SLICE+3 implementation (apply_slice) calls PySequence_GetSlice if both index values can be

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2014-06-17 Thread Konstantin Tretyakov
Konstantin Tretyakov added the comment: Aha, I see. I knew I'd get bitten by not explicitly subclassing (object) one day. In any case, adding a reference to this issue into the docs of __getitem__ and __setitem__ would probably save someone some hours of utter confusion in the future.

[issue21679] Prevent extraneous fstat during open()

2014-06-17 Thread Bohuslav Slavek Kabrda
Bohuslav Slavek Kabrda added the comment: Thanks, Antoine. So, is there anything else that should be done about the patch so that it gets accepted? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21679

[issue21772] platform.uname() not EINTR safe

2014-06-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I'm not sure whether using os.fsencoding() is a good idea. The encoding used by uname is not defined anywhere and it's possible that Python using a wrong encoding may cause the call to fail (e.g. in case the host name includes non-ASCII chars). Then

[issue21772] platform.uname() not EINTR safe

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure whether using os.fsencoding() is a good idea. The encoding used by uname is not defined anywhere and it's possible that Python using a wrong encoding may cause the call to fail (e.g. in case the host name includes non-ASCII chars). I also expect

[issue21772] platform.uname() not EINTR safe

2014-06-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.06.2014 11:21, STINNER Victor wrote: STINNER Victor added the comment: I'm not sure whether using os.fsencoding() is a good idea. The encoding used by uname is not defined anywhere and it's possible that Python using a wrong encoding may

[issue21772] platform.uname() not EINTR safe

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: 2.7.6 or 3.4.1 with OS X 10.8. I can only reproduce it an automated test environment when the load is high on the machine. I've also seen it with 10.6/10.7. It's definitely inconsistently reproducible. I'm surprised that the Python read() method doesn't

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2014-06-17 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15582 ___ ___

[issue7982] extend captured_output to simulate different stdout.encoding

2014-06-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7982 ___ ___

[issue4887] environment inspection and manipulation API is buggy, inconsistent with Python philosophy for wrapping native APIs

2014-06-17 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: What are the chances a future Python 2.x release will include any fix developed for this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4887

[issue4887] environment inspection and manipulation API is buggy, inconsistent with Python philosophy for wrapping native APIs

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Good as 2.7 is in support until 2020. -- versions: +Python 2.7, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4887 ___

[issue11100] test_fdopen: close failed in file object destructor

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this is no longer an issue as we're now at Python 2.7.7 and Solaris 11. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11100

[issue10612] StopTestRun exception to halt test run

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612 ___ ___

[issue10746] ctypes c_long c_bool have incorrect PEP-3118 type codes

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone do a patch review on this please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10746 ___

[issue10608] Add a section to Windows FAQ explaining os.symlink

2014-06-17 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10608 ___

[issue10595] Adding a syslog.conf reader in syslog

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this can go into 2.7 and 3.5 if anybody is prepared to work on a patch. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

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

2014-06-17 Thread Jan Varho
New submission from Jan Varho: When trying to run a file with non-ASCII symbols without declaring an encoding, python 2.7 gives the following error: File foo.py, line 2 SyntaxError: Non-ASCII character '\xc3' in file fo.py on line 2, but no encoding declared; see

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

2014-06-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.06.2014 15:03, M.-A. Lemburg wrote: On 17.06.2014 15:00, Jan Varho wrote: New submission from Jan Varho: When trying to run a file with non-ASCII symbols without declaring an encoding, python 2.7 gives the following error: File foo.py, line

[issue10582] PyErr_PrintEx exits silently when passed SystemExit exception

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Marc please accept our apologies for having missed this. Can you still reproduce the problem? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6 ___ Python tracker rep...@bugs.python.org

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

2014-06-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.06.2014 15:00, Jan Varho wrote: New submission from Jan Varho: When trying to run a file with non-ASCII symbols without declaring an encoding, python 2.7 gives the following error: File foo.py, line 2 SyntaxError: Non-ASCII character

[issue9248] multiprocessing.pool: Proposal: waitforslot

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody please review the attached patch. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9248

[issue21741] Convert most of the test suite to using unittest.main()

2014-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I compared tests output with and without patch and noticed only one significant difference. ForkWait is imported in Lib/test/test_wait3.py, Lib/test/test_wait4.py and Lib/test/test_fork1.py and now it is executed 4 times. Either this class should be turned

[issue6682] Default traceback does not handle PEP302 loaded modules

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Who is best placed to look at an issue about import hooks and default tracebacks? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6682

[issue9191] winreg.c:Reg2Py() may leak memory (in unusual circumstances)

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody answer the question about PyMem versus malloc/free functions. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9191 ___

[issue10582] PyErr_PrintEx exits silently when passed SystemExit exception

2014-06-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10582 ___ ___ Python-bugs-list

[issue19917] [httplib] logging information for request is not pretty printed

2014-06-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: I believe, repr() is the correct call here. You should know the proper end of line characters like \n, \r\n which were sent in the request while debugging. A pretty print here, while look good, might remove that capability and thus may not add any value in

[issue21763] Clarify requirements for file-like objects

2014-06-17 Thread R. David Murray
R. David Murray added the comment: Nikolaus: while I agree that Raymond's comments were a bit strongly worded, it doesn't read to me as if the thread you link to is on point for this issue. The thread was focused on a *specific* question, that of calling close twice. The question of what

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-17 Thread R. David Murray
R. David Murray added the comment: It doesn't matter that it can't happen in CPython. The idea is that IronPython should be able to copy as much of the stdlib as possible without having to change it. That said, I'm not going to object if people decide this is in some sense a step too far in

[issue21784] __init__.py can be a directory

2014-06-17 Thread abraithwaite
abraithwaite added the comment: Interesting. I saw the same behavior on 2.7.7 as well: $ python2 Python 2.7.7 (default, Jun 3 2014, 01:46:20) [GCC 4.9.0 20140521 (prerelease)] on linux2 Type help, copyright, credits or license for more information. from pkg import foobar foobar module

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: The important line from the link in msg122717 is :- mswindows = (sys.platform == win32 or (sys.platform == cli and os.name == 'nt')) so +1 from me unless someone can show one or more problems with it. -- nosy: +BreamoreBoy

[issue12933] Update or remove claims that distutils requires external programs

2014-06-17 Thread Vishal Lal
Vishal Lal added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: Oh oh, new try in english: I vote -0, I don't really care :-) It's just that the issue is old and didn't get much attention. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8110

[issue19917] [httplib] logging information for request is not pretty printed

2014-06-17 Thread Demian Brecht
Demian Brecht added the comment: I have a few questions about this one: 1. Why is print used to begin with? Surely this should use debug logging. Using print, you lose the benefits of logging: Timestamps, if used in the configured logger, can be invaluable to match up against logs generated

[issue19917] [httplib] logging information for request is not pretty printed

2014-06-17 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19917 ___ ___ Python-bugs-list

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: I'm -0, I don't really care :-) I just that the issue is old and didn't get much attention. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8110 ___

[issue19917] [httplib] logging information for request is not pretty printed

2014-06-17 Thread R. David Murray
R. David Murray added the comment: It doesn't use logging because (I think) logging didn't exist when it was implemented. Whether or not we want to change that is a more complicated question, I think. Probably we don't, for backward compatibility reasons. --

[issue21790] Change blocksize in http.client to the value of resource.getpagesize

2014-06-17 Thread Demian Brecht
New submission from Demian Brecht: When sending data, the blocksize is currently hardcoded to 8192. It should likely be set to the value of resource.getpagesize(). -- components: Library (Lib) files: set_blocksize_to_getpagesize.diff keywords: patch messages: 220839 nosy: dbrecht

[issue21723] Float maxsize is treated as infinity in asyncio.Queue

2014-06-17 Thread Guido van Rossum
Guido van Rossum added the comment: The patch looks fine to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21723 ___ ___ Python-bugs-list

[issue21784] __init__.py can be a directory

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #7732. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21784 ___ ___

[issue21784] __init__.py can be a directory

2014-06-17 Thread STINNER Victor
STINNER Victor added the comment: I remember that I added an check in Python 3.2 on the file type to explicitly reject directories: http://hg.python.org/cpython/rev/125887a41a6f +if (stat(buf, statbuf) == 0 S_ISDIR(statbuf.st_mode)) +/* it's a directory */ +

[issue21791] Proper return status of os.WNOHANG is not always (0, 0)

2014-06-17 Thread Eric Radman
New submission from Eric Radman: The documentation for the WNOHANG flag (https://docs.python.org/3.4/library/os.html#os.WNOHANG) suggests that a return value of (0, 0) indicates success. This is not always true, the second value may contain a value even on success. On OpenBSD 5.5 this is an

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2014-06-17 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: test needed - patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7769 ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-17 Thread Zachary Ware
Zachary Ware added the comment: What if we simply rename the current unittest.TestCase class to unittest.BaseTestCase, and define unittest.TestCase as class TestCase(BaseTestCase): pass? Then mixin classes can derive from BaseTestCase and have all of the TestCase methods available (for

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-17 Thread Michael Foord
Michael Foord added the comment: If you're writing a mixin you don't need to derive from TestCase, you just derive from object. The point of this feature is to allow TestCase subclasses to be base classes instead of being used as a mixin. -- ___

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2014-06-17 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7769 ___ ___ Python-bugs-list

[issue9499] Python C/API Execution namespace undocumented. (patch included)

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody review this small patch please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9499 ___

[issue8997] Write documentation for codecs.readbuffer_encode()

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8997 ___

[issue15025] httplib and http.client are missing response messages for defined WEBDAV responses, e.g., UNPROCESSABLE_ENTITY (422)

2014-06-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15025 ___ ___

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-17 Thread Stefan Krah
Stefan Krah added the comment: I guess the tests --without-doc-strings are broken: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio -- nosy: +skrah ___ Python tracker rep...@bugs.python.org

[issue9698] When reusing an handler, urllib(2)'s digest authentication fails after multiple regative replies

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could we have a response to this please as a way to reproduce the problem is given in the attached patch and a suggested solution is inline. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue9714] urllib2 digest authentication doesn't work when connecting to a Catalyst server.

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could we have a response to this problem please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9714

[issue9727] Add callbacks to be invoked when locale changes

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Nick is this something you'd like to pick up on, and are there any other Windows gurus who should be added to the nosy list? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue9770] curses.isblank function doesn't match ctype.h

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: The problem and fix are simple but who is best placed to take a look at this? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue9976] Make TestCase._formatMessage public

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9976 ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-17 Thread Zachary Ware
Zachary Ware added the comment: Right, but in my experience, it seems like a lot of people do inherit from TestCase in their mixin anyway, possibly just to have the TestCase methods available for auto-completion in their IDE. I've done the same, though I've remembered after writing the tests

[issue10009] Automated MSI installation does not work

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can we close this as out of date as we're already working on msi for 3.5? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10009 ___

[issue21792] Invitation to connect on LinkedIn

2014-06-17 Thread Nathanel Titane
New submission from Nathanel Titane: LinkedIn Python, I'd like to add you to my professional network on LinkedIn. - Nathanel Nathanel Titane Industrial Designer at TNDesigns Industrial + Graphic design solutions Montreal, Canada Area Confirm that you know Nathanel Titane:

[issue21792] Invitation to connect on LinkedIn

2014-06-17 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21792 ___

[issue10136] kill_python doesn't work with short path

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody review the attached patch please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10136

[issue21792] Spam

2014-06-17 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- title: Invitation to connect on LinkedIn - Spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21792 ___

[issue21792] Spam

2014-06-17 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- Removed message: http://bugs.python.org/msg220856 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21792 ___

[issue10170] Relationship between turtle speed setting and actual speed is not documented

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: IIRC somebody has been working on the turtle code and/or docs recently, if I'm correct presumably they could pick this issue up? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue10310] signed:1 bitfields rarely make sense

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could we have a patch review on this please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10310 ___

[issue9191] winreg.c:Reg2Py() may leak memory (in unusual circumstances)

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

[issue21793] httplib client/server status refactor

2014-06-17 Thread Demian Brecht
New submission from Demian Brecht: This patch is a follow up to an out of scope comment made by R. David Murray in #20898 (http://bugs.python.org/issue20898#msg213771). In a nutshell, there is some redundancy between http.client and http.server insofar as the definition of http status code,

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-06-17 Thread Andy Maier
Andy Maier added the comment: Attaching the patch for pydoc.py, relative to the tip of 2.7. the patch contains just the proposed fix, and no longer the debug prints. -- keywords: +patch Added file: http://bugs.python.org/file35673/pydoc.py.patch ___

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-06-17 Thread Andy Maier
Andy Maier added the comment: Attaching the patch for Lib/test/test_pydoc.py, relative to the tip of 2.7. The patch adds a testcase test_class_with_metaclass(), which defines a class that provokes the buggy behavior, and verifies the fix. -- Added file:

[issue21794] stack frame contains name of wrapper method, not that of wrapped method

2014-06-17 Thread the mulhern
New submission from the mulhern: def decorator(f): ... @functools.wraps(f) ... def new_func(self, junk): ... stack = inspect.stack() ... for i, frame in enumerate(stack): ... print(%s % frame[3]) ... f(self, junk) ... return

[issue10170] Relationship between turtle speed setting and actual speed is not documented

2014-06-17 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10170 ___ ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Michael's suggestion looks too sophisticated and confusing to me. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534 ___

[issue21794] stack frame contains name of wrapper method, not that of wrapped method

2014-06-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: I don't think you understand how wrapping works. At the time you're enumerating the stack, the wrapped function has not actually been called. Only the wrapper has been called. If the stack included junk when junk had not yet been executed, the stack would be

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

2014-06-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the report! -- nosy: +ned.deily resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21789 ___

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

2014-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f80199b009ef by Ned Deily in branch '2.7': Issue #21789: fix broken link (reported by Jan Varho) http://hg.python.org/cpython/rev/f80199b009ef -- nosy: +python-dev ___ Python tracker

[issue9248] multiprocessing.pool: Proposal: waitforslot

2014-06-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9248 ___ ___ Python-bugs-list mailing list

[issue21795] smtpd.SMTPServer should announce 8BITMIME when supported

2014-06-17 Thread Milan Oberkirch
New submission from Milan Oberkirch: The smtpd.SMTPServer does support 8BITMIME if decode_date is False (#19662) and could be announced under this condition. The patch for #21725 already implements 8BITMIME so this can easily be done afterwards. -- components: email messages: 220868

[issue10009] Automated MSI installation does not work

2014-06-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10009 ___ ___ Python-bugs-list

[issue10136] kill_python doesn't work with short path

2014-06-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- components: +Windows -Build nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10136 ___

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-17 Thread R. David Murray
R. David Murray added the comment: Review comments added. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___ ___ Python-bugs-list mailing

[issue21686] IDLE - Test hyperparser

2014-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I forgot to mention that with this particular shutdown order @classmethod def tearDownClass(cls): del cls.text, cls.editwin cls.root.destroy() del cls.root the shutdown warning message we have seen about not handling an event

[issue10009] Automated MSI installation does not work

2014-06-17 Thread Steve Dower
Steve Dower added the comment: If we wanted to migrate the instructions to 2.7/3.5 as suggested then there's some updating to do, but if there's no plan to update them then I agree, there's nothing to do here. FWIW, the 3.5 installer will accept the same command line options as previous

[issue10136] kill_python doesn't work with short path

2014-06-17 Thread Zachary Ware
Zachary Ware added the comment: I'm inclined to close as 'won't fix'; kill_python.exe is an eh, good enough hack meant mostly for the buildbots anyway, and short paths are exceptionally rare these days. If anything, I'd just add a warning that if ~ is in the path, all bets are off.

[issue21793] httplib client/server status refactor

2014-06-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +barry, eli.bendersky, ethan.furman, orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793 ___

[issue21796] tempfile.py, line 83, in module once_lock = _allocate_lock() thread.error: can't allocat lock

2014-06-17 Thread Shal
New submission from Shal: The following error is with using python 2.7.3 on HP-UX 11.11 Very occasionally get following error. The error occurs once every 20 - 30 days. OS HP-UX 11.11 applicationCode.py is invoked via a cgi wrapper by apache httpd . ### ERROR LISTNG

[issue21796] tempfile.py, line 83, in module once_lock = _allocate_lock() thread.error: can't allocat lock

2014-06-17 Thread Shal
Changes by Shal ss3...@att.com: Added file: http://bugs.python.org/file35676/cgi.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21796 ___ ___

[issue10136] kill_python doesn't work with short path

2014-06-17 Thread Tim Golden
Tim Golden added the comment: +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10136 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21796] tempfile.py, line 83, in module once_lock = _allocate_lock() thread.error: can't allocat lock

2014-06-17 Thread Shal
Changes by Shal ss3...@att.com: Added file: http://bugs.python.org/file35677/cgi.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21796 ___ ___

[issue21796] tempfile.py, line 83, in module once_lock = _allocate_lock() thread.error: can't allocat lock

2014-06-17 Thread Shal
Changes by Shal ss3...@att.com: Removed file: http://bugs.python.org/file35677/cgi.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21796 ___ ___

[issue21796] tempfile.py, line 83, in module once_lock = _allocate_lock() thread.error: can't allocat lock

2014-06-17 Thread Shal
Changes by Shal ss3...@att.com: Added file: http://bugs.python.org/file35678/mimetools.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21796 ___ ___

  1   2   >