[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 241c33b6cb95 by R David Murray in branch 'default': #14269: smtpd now conforms to the RFC and requires HELO before MAIL. http://hg.python.org/cpython/rev/241c33b6cb95 -- nosy: +python-dev ___ Python trac

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-20 Thread R. David Murray
R. David Murray added the comment: I tweaked a couple more of your test method names, but otherwise used your patch as is. Welcome to the ACKS file :) If you haven't already submitted a contributor agreement it would be great if you did. I'm hoping you'll want to continue making contributio

[issue14302] Move python.exe to bin/

2012-03-20 Thread John Ehresman
John Ehresman added the comment: Just a few thoughts from someone who uses Windows and who'd need to change code for this change: 1) I don't know if waiting to 3.5 is needed. I can make the change to look in the bin directory fairly quickly. 2) Is it safe to add scripts to the PATH? I'd wo

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-20 Thread Jason Killen
Jason Killen added the comment: Thanks and thanks for all you help. My method names are known to need some tweaking. Where is the agreement I need to sign? I looked around the documentation stuff and didn't see it. I'd like to continue contributing just have to find another bug I know how

[issue14229] On KeyboardInterrupt, the exit code should mirror the signal number

2012-03-20 Thread Charles-François Natali
Charles-François Natali added the comment: >> I agree with Martin: we really do handle the signal, and as such, the >> only way to convey the relevant information to the parent as to which >> signal caused the exit would be to re-raise it, which is really ugly >> and probably not a good idea. >

[issue14302] Move python.exe to bin/

2012-03-20 Thread Brian Curtin
Brian Curtin added the comment: On 2 and 4, see #3561 for that discussion. A short answer would be that we're consenting adults. Additionally, the current Path-adding installer handles uninstallation. -- ___ Python tracker

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-20 Thread R. David Murray
R. David Murray added the comment: Contributor agreement is here: http://python.org/psf/contrib/contrib-form-python/ ACKS file ships in every Python source tarball (not sure if goes out in the binary ones). Here it is in the repository: http://hg.python.org/cpython/file/default/Misc

[issue14302] Move python.exe to bin/

2012-03-20 Thread John Ehresman
John Ehresman added the comment: Does this mean that the PATH entry won't be removed on uninstall? I can't tell from reading #3561, though I may have missed something. My worries are about the developer who doesn't know what the PATH is and would find it difficult to diagnose any problems c

[issue14302] Move python.exe to bin/

2012-03-20 Thread Brian Curtin
Brian Curtin added the comment: > Additionally, the current Path-adding installer handles uninstallation. -- ___ Python tracker ___ _

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01404295138d by Andrew Svetlov in branch 'default': #3573: idle now doesn't hungs if launched as: idle -e http://hg.python.org/cpython/rev/01404295138d -- nosy: +python-dev ___ Python tracker

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks to Guilherme Polo and Roger Serwy. -- assignee: -> asvetlov resolution: -> fixed ___ Python tracker ___

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2012-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list ma

[issue13495] IDLE: Regressions - Two ColorDelegator instances loaded and -e no longer edits new files.

2012-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-03-20 Thread Andreas Klauer
Andreas Klauer added the comment: > ZFS supports SEEK_HOLE/SEEK_DATA in "lseek()" syscall. > The feature has patches available too for Linux, but never integrated in > mainline kernel, AFAIK. > it is difficult to write a testcase when I can only test under a system with > ZFS I don't know if

[issue14356] Distutils2 ignores site-local configuration

2012-03-20 Thread Alex Grönholm
Alex Grönholm added the comment: >> Ignoring site-local configuration >What do you mean? sitecustomize is executed, for example. Whatever, but it only looks for the paths in the included sysconfig.cfg. If the system Python uses a different sort of path in site.py, distutils2 won't use it. --

[issue14154] reimplement the bigmem test memory watchdog as a subprocess

2012-03-20 Thread STINNER Victor
STINNER Victor added the comment: mem_watchdog_2.diff looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-03-20 Thread STINNER Victor
STINNER Victor added the comment: +/* SEEK_SET and SEEK_CUR are special because we could seek inside the + buffer. Other whence values must be managed without this optimization. + Some Operating Systems can provide additional values, like + SEEK_HOLE/SEEK_DATA. */ +if (

[issue14376] sys.exit documents argument as "integer" but actually requires "subtype of int"

2012-03-20 Thread Gareth Rees
New submission from Gareth Rees : The documentation for sys.exit says, "The optional argument arg can be an integer giving the exit status (defaulting to zero), or another type of object". However, the arguments that are treated as exit statuses are actually "subtypes of int". So, a bool argu

[issue10576] Add a progress callback to gcmodule

2012-03-20 Thread Jim Jewett
Jim Jewett added the comment: gccallback4a.patch is a few changes to gccallback4.patch. Most are just spelling or grammar in comments, but I did modify the test case so that the Uncollectable loop had *multiple* objects with __del__ methods. -- nosy: +Jim.Jewett Added file: http://bu

[issue14369] make __closure__ writable

2012-03-20 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2012-03-20 Thread Ariel Poliak
New submission from Ariel Poliak : As it stands in Hg, when the write() method of an xml.etree.ElementTree object is called, and a tag within the XML tree has no child tags or defined text, the tag is written using the short notation "". Whether or not the short notation is used instead of the

[issue13959] Re-implement parts of imp in pure Python

2012-03-20 Thread Eric Snow
Eric Snow added the comment: Here's an incomplete (though essentially test-passing) patch that flips more of imp into importlib. It builds on Brett's patch. The gist is that imp.py is a minimal wrapper around importlib, which uses _imp directly. Ultimately the things implemented in Lib/impo

[issue13959] Re-implement parts of imp in pure Python

2012-03-20 Thread Eric Snow
Eric Snow added the comment: Here's a listing of the places where import-ish modules are used in CPython. Once things all the import stuff currently on the table is wrapped up, I'll probably work on switching things over to using importlib directly. -- Added file: http://bugs.python.

[issue13959] Re-implement parts of imp in pure Python

2012-03-20 Thread Eric Snow
Eric Snow added the comment: Of note for my patch is the addition of SUFFIXES and MODE to the 3 main "file loader" classes. I did this to reverse the dependence on imp.get_suffixes(). As well, a couple of extra functions are added to Python/importlib/_bootstrap.py for a similar reason, but s

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2012-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: -if long_xml or text or len(elem): +if text or len(elem) or long_xml: Use alternatives in order of decreasing probability. -- nosy: +storchaka ___ Python tracker

[issue14378] __future__ imports fail when compiling from python ast

2012-03-20 Thread J. D. Bartlett
New submission from J. D. Bartlett : GOAL I am trying to compile an AST which contains an ImportFrom node which performs a __future__ import. The ImportFrom node in question is the first node within the AST's body (as it should be, because __future__ imports must occur at the beginning of modu

[issue14378] __future__ imports fail when compiling from python ast

2012-03-20 Thread J. D. Bartlett
J. D. Bartlett added the comment: Incidentally, the workaround that I'm using for the time being is to run the following code before attempting to compile root_node. for node in ast.walk(root_node): if isinstance(node, ast.ImportFrom) and node.module == '__future__': node.module =

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2012-03-20 Thread Stefan Behnel
Stefan Behnel added the comment: Ok, just for the record: a single __buffer__() special method with delegation-only semantics would also work for Cython. Taking this path would provide a cleaner separation of the (then delegation-only) Python level protocol and the (all purpose) C level proto

<    1   2