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

2011-06-12 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

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

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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.

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

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

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: +27 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10946 ___ ___ Python-bugs-list mailing

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

2011-06-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22335/a099e7001aa8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10946 ___

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

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’ll edit the patch to use set_undefined_options. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10946

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

2011-06-12 Thread harobed
New submission from harobed steph...@harobed.org: 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

[issue828450] sdist generates bad MANIFEST on Windows

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue5243] Missing dependency in distutils build

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue12320] test_packaging failures

2011-06-12 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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 dsdal...@gmail.com added the comment: On Sat, Jun 11, 2011 at 7:32 PM, Eric Snow rep...@bugs.python.org wrote: Eric Snow ericsnowcurren...@gmail.com added the comment: Per your last message, if a specific descriptor has an abstract setter then the descriptor should be considered

[issue11610] Improved support for abstract base classes with descriptors

2011-06-12 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4841 ___ ___ Python-bugs-list

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3665 ___

[issue5905] strptime fails in non-UTF locale

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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 rep...@bugs.python.org http://bugs.python.org/issue5905

[issue2175] Expat sax parser silently ignores the InputSource protocol

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2175 ___ ___

[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 tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8746 ___ ___

[issue2193] Cookie Colon Name Bug

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1692335 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10037 ___ ___ Python-bugs-list

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5219 ___

[issue4653] Patch to fix typos for Py3K

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4653 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9246 ___ ___

[issue2716] Reimplement audioop because of copyright issues

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - needs patch versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2716 ___

[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 tjre...@udel.edu: -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7732 ___

[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 tjre...@udel.edu: -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9405 ___

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

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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 rep...@bugs.python.org

[issue1207466] installer ignores changed installation directory

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207466 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1469629 ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2122 ___ ___

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

2011-06-12 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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 rep...@bugs.python.org http://bugs.python.org/issue1102

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

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Is this a security issue or just a regular bug? -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8372 ___

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

2011-06-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's a potential security issue. -- nosy: +neologix, rosslagerwall versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8372

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

2011-06-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7732 ___ ___ Python-bugs-list mailing list

[issue1669539] Fix bug in os.path.join

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2011-06-12 Thread Garrett Cooper
Garrett Cooper yaneg...@gmail.com 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.

[issue12320] test_packaging failures

2011-06-12 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[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 mer...@netwok.org: Removed file: http://bugs.python.org/file22187/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12206 ___

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

2011-06-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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 rep...@bugs.python.org

[issue12320] test_packaging failures

2011-06-12 Thread Roundup Robot
Roundup Robot devnull@devnull 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 tjre...@udel.edu: -- type: behavior - security ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8372 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1598083 ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10340 ___ ___

[issue6696] Profile objects should be documented

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6696 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4180 ___ ___

[issue5945] PyMapping_Check returns 1 for lists

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5945 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3006 ___

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___

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

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036 ___ ___

[issue8847] crash appending list and namedtuple

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8847 ___ ___ Python-bugs-list

[issue1429] FD leak in SocketServer

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1429 ___ ___

[issue9614] _pickle is not entirely 64-bit safe

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9614 ___ ___ Python-bugs-list

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

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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.

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

2011-06-12 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr 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

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

2011-06-12 Thread Ameya Lokare
Ameya Lokare lokare.am...@gmail.com 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

[issue11197] information leakage with SimpleHTTPServer

2011-06-12 Thread Ori Livneh
Ori Livneh ori.liv...@gmail.com 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

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

2011-06-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp 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