[issue11553] Docs for: import, packages, site.py, .pth files

2011-06-12 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, now I get your point re .pkg vs .pth. I naturally read that as ".pth entries are to sys.path entries as .pkg entries are to pkg.__path__ entries", without any hint that those are the same *kind* of thing. However, I already know that sys.path and pkg.__path

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: On python.org/dev/peps, I don’t see the extra space that your patch removes. -- nosy: +eric.araujo versions: +3rd party -Python 3.3 ___ Python tracker ___

[issue12308] Add link to PEP 0 for topical index in wiki

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: Hm, why not be more ambitious and include your grouping directly in the PEP repository? You should ask python-dev how they like your wiki page, and then we’ll see if it can be generated from a category or keyword in the PEPs themselves. P.S. about the version

[issue10884] pkgutil EggInfoDistribution requirements for .egg-info metadata

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> eric.araujo resolution: works for me -> stage: -> test needed status: closed -> open versions: +Python 3.3 -3rd party ___ Python tracker

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: > there's nothing an ABC can do to stop someone (for example) overriding > an abstract method or descriptor "foo" with "foo = 1". I’ve find it useful to use an abstractproperty to specify an attribute that concrete subclasses have to define. Was that wrong? Fro

[issue10946] bdist doesn’t pass --skip-build on to subcommands

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo : -- hgrepos: +27 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue10946] bdist doesn’t pass --skip-build on to subcommands

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file22335/a099e7001aa8.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue10946] bdist doesn’t pass --skip-build on to subcommands

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: I’ll edit the patch to use set_undefined_options. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2011-06-12 Thread harobed
New submission from harobed : Hi, HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data. Exemple, I can't do PUT request with chunk transfert. Regards, Stephane -- components: Library (Lib) messages: 138203 nosy: harobed priority: normal severity: normal stat

[issue828450] sdist generates bad MANIFEST on Windows

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: I have changed some things in your patch. There are still two issues: 1) setting os.sep to \ in the tests is not enough to trigger the bug. This means that the tests really test something only on Windows. I’ll edit them to mock the OS layer and return paths w

[issue5243] Missing dependency in distutils build

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: > for projects already having a workaround, what will happen? I think I have the answer to my question: if build_clib is called twice, the registry in Distribution will know that it has run and won’t run it again. I’ll test manually and if I confirm, I will comm

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Nick Coghlan
Nick Coghlan added the comment: In that paragraph, I was only talking about cases where "foo = 1" *isn't* a valid override (which, I hope you'll agree, it typically won't be). Your described approach of declaring an abstract property and then overriding it with an ordinary class attribute is

[issue12320] test_packaging failures

2011-06-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : The 3.x buildbots are red following the latest commits: == ERROR: test_cfg_to_args (packaging.tests.test_util.UtilTestCase) ---

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Darren Dale
Darren Dale added the comment: On Sat, Jun 11, 2011 at 7:32 PM, Eric Snow wrote: > > Eric Snow added the comment: > Per your last message, if a specific descriptor has an abstract setter then > the descriptor should be considered abstract.  If the implementation of that > attribute is not a

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Nick Coghlan
Nick Coghlan added the comment: Non-conformant explicit registration is permitted on purpose to allow developers to only supply partial implementations when it is known that that is all a given application requires. Extremely impure, but quite practical :) Note that the core logic of inspect.

[issue4841] io's close() not handling errors correctly

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue3665] Support \u and \U escapes in regexes

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5905] strptime fails in non-UTF locale

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still a problem in 3.2.1 or 3.3? -- nosy: +terry.reedy versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___

[issue2175] Expat sax parser silently ignores the InputSource protocol

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2193] Cookie Colon Name Bug

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue10037] multiprocessing.pool processes started by worker handler stops working

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue5219] IDLE/Tkinter: edit win stops updating when tooltip is active

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4653] Patch to fix typos for Py3K

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9246] os.getcwd() hardcodes max path len

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2716] Reimplement audioop because of copyright issues

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-b

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, would this go in a bugfix release or is it a new feature for 3.3 only? -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.1 ___ Python tracker __

[issue1207466] installer ignores changed installation directory

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1469629] __dict__ = self in subclass of dict causes a memory leak?

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mai

[issue2122] mmap.flush does not check for errors on windows

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2011-06-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: I lost track what problem precisely this patch solves, so it's hard to tell whether it's a bug fix or not. -- ___ Python tracker ___ _

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this a security issue or just a regular bug? -- nosy: +terry.reedy ___ Python tracker ___ ___ Pyt

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's a potential security issue. -- nosy: +neologix, rosslagerwall versions: +Python 3.3 ___ Python tracker ___

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2011-06-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1669539] Fix bug in os.path.join

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A bug for tracker purposes is a discrepancy between doc and code. That can be fixed in current versions. A design change is a feature request and can only go in future versions. A deprecation warning for one cycle is desirable when appropriate. "os.path.isab

[issue1599254] mailbox: other programs' messages can vanish without trace

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: D. Watson, could you remove obsolete patches and leave just the ones a patch reviewer should look at? -- nosy: +r.david.murray, terry.reedy -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-12 Thread Garrett Cooper
Garrett Cooper added the comment: I apologize for taking so long with this. The attached patch is for test_posix against trunk (I shuffled around some code and extended some things to improve PosixTester.tearDown). Let me know if I need to wash, rinse, repeat for py3k, etc. Thanks! # Standa

[issue12320] test_packaging failures

2011-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9eecfeaa591a by Éric Araujo in branch 'default': Specify the encoding of the setup.cfg in one packaging test (#12320) http://hg.python.org/cpython/rev/9eecfeaa591a -- nosy: +python-dev ___ Python tracker

[issue12206] Documentation Std. Library 15.7.5 "LogRecord objects": Parameters: level(currently wrong) -> levelno (correct)

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file22187/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue3665] Support \u and \U escapes in regexes

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: FYI, +raise error("bogus escape: %s" % repr(escape)) can be written simply as +raise error("bogus escape: %r" % escape) -- nosy: +eric.araujo ___ Python tracker

[issue4653] Patch to fix typos in C code

2011-06-12 Thread Éric Araujo
Éric Araujo added the comment: Martin would be the expert for bdist_wininst. -- nosy: +eric.araujo title: Patch to fix typos for Py3K -> Patch to fix typos in C code ___ Python tracker _

[issue12320] test_packaging failures

2011-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e22c47b47a3 by Éric Araujo in branch 'default': Also specify encoding when reading setup.cfg (#12320) http://hg.python.org/cpython/rev/0e22c47b47a3 -- ___ Python tracker

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: behavior -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1598083] Top-level exception handler writes to stdout unsafely

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6696] Profile objects should be documented

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5945] PyMapping_Check returns 1 for lists

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3006] subprocess.Popen causes socket to remain open after close

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8743] set() operators don't work with collections.Set instances

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the code were acting exactly as documented, I would consider this a feature request. But "require that the parameter also be an instance of set()" (from original message) is too limited. >>> set() | frozenset() set() So 'set' in "their operator based coun

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8847] crash appending list and namedtuple

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1429] FD leak in SocketServer

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9614] _pickle is not entirely 64-bit safe

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand, since the present patch uses present opcode semantics, adding a rotate, it could go into 2.7 and 3.2. Correct? 3.3 could get an improved patch that instead changed opcodes to expect key and value in the other order. -- nosy: +terry.r

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Charles-François Natali
Charles-François Natali added the comment: The patches look good to me, except that instead of passing (addrlen > buflen) ? buflen : addrlen as addrlen argument every time makesockaddr is called, I'd prefer if this min was done inside makesockaddr itself, i.e. perform min(addrlen, sizeof(struc

[issue7969] shutil.copytree error handling non-standard and partially broken

2011-06-12 Thread Ameya Lokare
Ameya Lokare added the comment: shutil.Error is raised in copytree, copyfile and move, with a different format in each case. I was thinking the Error argument format could be documented in the descriptions of these functions (possibly with some examples). What do you think? -- _

[issue11197] information leakage with SimpleHTTPServer

2011-06-12 Thread Ori Livneh
Ori Livneh added the comment: I updated the patch, making the emendations suggested by Eric's review, and making a few additional changes. I was bothered that translate_path was duplicating functionality from _url_collapse_path_split, so I made some corrections to the latter and rewrote trans

[issue2122] mmap.flush does not check for errors on windows

2011-06-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This issue seems to be reproduced in following way. 1. Attach USB flash drive. (On my machine, it was attached as E drive) 2. Run python interactive shell and run following commands. (Confirmed on Python2.6) > import mmap > f = open("e:/temp.tmp", "