[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Terry, When I tried the same fix in idlelib/PyShell.py, adding 'import subprocess' and changing self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args) to self.rpcpid = subprocess.Popen(args).pid (args begins with

[issue12644] document the %a conversion in the old string formatting operations

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9846f6463f23 by Eli Bendersky in branch '3.2': Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti

[issue12644] document the %a conversion in the old string formatting operations

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Ezio, I've taken the liberty to adapt your patch with the suggested fixes and commit it to both 3.2 and 3.3 If everything is OK, this issue can be close (I'll do it in a few days if no one else does :-) --

[issue12644] document the %a conversion in the old string formatting operations

2011-07-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The commit looks fine, the issue can be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12644 ___

[issue12644] document the %a conversion in the old string formatting operations

2011-07-29 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12644 ___

[issue12514] timeit disables garbage collection if timed code raises an exception

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 56e7b42089c8 by Raymond Hettinger in branch '2.7': Issue 12514: Use try/finally to assure that timeit restores GC when done. http://hg.python.org/cpython/rev/56e7b42089c8 -- nosy: +python-dev

[issue12514] timeit disables garbage collection if timed code raises an exception

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1cdb281a78ce by Raymond Hettinger in branch '3.2': Issue 12514: Use try/finally to assure that timeit restores GC when done. http://hg.python.org/cpython/rev/1cdb281a78ce New changeset 7df53f5788a4 by Raymond

[issue12514] timeit disables garbage collection if timed code raises an exception

2011-07-29 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Thanks for the bug report and patch. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12514

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: First step in transition: Attaching a patch to devguide's runtests.rst to incorporate existing test.support documentation from 3.3 head, with some small markup changes suitable for the devguide. -- components: Devguide files:

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12540 ___ ___

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12652 ___ ___

[issue11699] Doc for optparse.OptionParser.get_option_group is wrong

2011-07-29 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11699 ___ ___ Python-bugs-list

[issue10131] deepcopying an xml.dom.minidom.Document generates an invalid XML document

2011-07-29 Thread Marian Ganisin
Marian Ganisin marian.gani...@gmail.com added the comment: xml.dom.minicompat.NodeList provides __reduce__/__reduce_ex__ methods, they return state as well as list iterator. However one of those seems to be absolutely enough for reconstruction of instance (__reduce__/__reduce_ex__ are

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: As I just mentioned on python-dev (via Gmane), I'm uncomfortable with moving the documentation for test.support into the devguide. -- nosy: +barry ___ Python tracker rep...@bugs.python.org

[issue12653] Provide accelerators for all buttons in Windows installers

2011-07-29 Thread Ram Rachum
New submission from Ram Rachum r...@rachum.com: I was installing Python 3.2.1 on my laptop today, and was unable to efficiently use the keyboard in order to navigate the installation dialogs. Every button should have an accelerator, e.g. Next should be Next so Alt-N will press it. (I don't

[issue11699] Doc for optparse.OptionParser.get_option_group is wrong

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Petri, I think the to after belongs is redundant. Also, the issue lists 3.2 and 3.3 - is the fix relevant there too? If yes, can you prepare a patch for 3.2? (I will merge it to 3.3 too) -- ___

[issue12531] documentation index entries for * and **

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8328fe952303 by Eli Bendersky in branch '2.7': Issue #12531: add index entries to documentation of * and ** in function calls http://hg.python.org/cpython/rev/8328fe952303 -- nosy: +python-dev

[issue12531] documentation index entries for * and **

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I've committed a fix into 2.7, taking Terry's advice (in function calls subsection instead of statement) and Eric's sequence/iterable correction into account. If this looks OK, I will commit a similar fix to the 3.x branches as well.

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12652 ___ ___ Python-bugs-list

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-29 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I was working with the freshly reinstalled 3.2 which is not the same as a pristine 3.2 install because it still had the problem that 3.2.1 has and the 3.2.1 sys.version. 3.2.1 uninstall in not complete (a different issue). So I should

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I also think this is a bug that should be fixed. Not being able to parse real-world HTML is a nuisance. I agree with Ezio's review comments about the custom regex. -- assignee: fdrake - nosy: +pitrou stage: - patch review

[issue12255] A few changes to .*ignore

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4d351135f128 by Éric Araujo in branch '3.2': Make VCSes ignore the compiled shared library file (#12255) http://hg.python.org/cpython/rev/4d351135f128 New changeset bdad5bc9a2ed by Éric Araujo in branch '3.2': Stop

[issue12417] Inappropriate copyright on profile files

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1b3c21b12e92 by Éric Araujo in branch '3.1': Remove mentions of previous license in profile module docs (#12417 followup). http://hg.python.org/cpython/rev/1b3c21b12e92 New changeset 0fbc56b53848 by Éric Araujo in

[issue10318] make altinstall installs many files with incorrect shebangs

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 65d5ecefd50d by Éric Araujo in branch '3.2': Fix missing or wrong shebangs and missing executable bits for scripts (#10318) http://hg.python.org/cpython/rev/65d5ecefd50d New changeset 5467abaaf5eb by Éric Araujo in

[issue10968] threading.Timer should be a class so that it can be derived

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7f606223578a by Éric Araujo in branch 'default': Remove indirection in threading (issue #10968). http://hg.python.org/cpython/rev/7f606223578a -- nosy: +python-dev ___

[issue9723] Add shlex.quote

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5966eeb0457d by Éric Araujo in branch 'default': Add shlex.quote function, to escape filenames and command lines (#9723). http://hg.python.org/cpython/rev/5966eeb0457d -- nosy: +python-dev

[issue12222] All pysetup commands should respect exit codes

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 998566bf7fba by Éric Araujo in branch 'default': Let all pysetup actions return a meaningful 0 or 1 exit code (#1). http://hg.python.org/cpython/rev/998566bf7fba -- nosy: +python-dev

[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 88545218e155 by Éric Araujo in branch 'default': Let pysetup list exit with a non-zero code when no result is found (#11409). http://hg.python.org/cpython/rev/88545218e155 -- nosy: +python-dev

[issue12043] Update shutil documentation

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 836548ce4cd2 by Éric Araujo in branch '3.2': Update documentation for shutil.move (#12043) and fix a few typos. http://hg.python.org/cpython/rev/836548ce4cd2 -- nosy: +python-dev

[issue12542] Remove duplicates of cmp_to_key used in tests

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fefb7d355361 by Éric Araujo in branch '3.2': Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger) http://hg.python.org/cpython/rev/fefb7d355361 -- nosy: +python-dev

[issue12255] A few changes to .*ignore

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9356d2d61e9f by Éric Araujo in branch '2.7': Make VCSes ignore the compiled shared library file (#12255) http://hg.python.org/cpython/rev/9356d2d61e9f New changeset 4e5127874adf by Éric Araujo in branch '2.7': Stop

[issue12043] Update shutil documentation

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6bf168b55d07 by Éric Araujo in branch '2.7': Update documentation for shutil.move (#12043) and fix a few typos. http://hg.python.org/cpython/rev/6bf168b55d07 -- ___

[issue12417] Inappropriate copyright on profile files

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b9a95ce2692c by Éric Araujo in branch '2.6': Remove mentions of previous license in profile module (#12417 followup) http://hg.python.org/cpython/rev/b9a95ce2692c New changeset 25a496966ecf by Éric Araujo in branch

[issue10318] make altinstall installs many files with incorrect shebangs

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7fb0abf928e0 by Éric Araujo in branch '2.7': Fix missing or shebangs and executable bits for scripts (#10318) http://hg.python.org/cpython/rev/7fb0abf928e0 -- ___ Python

[issue12531] documentation index entries for * and **

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks good to me. One tip for commits: it’s often better to let a line exceed 80 characters in order to make for a smaller diff. Here, only one word was changed but four lines were marked as changed, which makes reviews longer. Lines are

[issue11699] Doc for optparse.OptionParser.get_option_group is wrong

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yep, the “to” is already present before the verb :) I think we mark None as ``None``, not *None*. (If the rest of the file does otherwise, then do that.) -- ___ Python tracker rep...@bugs.python.org

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I agree that using globals instead function arguments sucks, but let’s fix this bug without rewriting the whole file (unless this affects only the code new in 3.3). -- ___ Python tracker

[issue11472] upload command fails to read auth information from .pypirc

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you set DISTUTILS_DEBUG in your environment, retry to run the command and post the output? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11472

[issue12654] sum() works with bytes objects

2011-07-29 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: ... while it apparently shouldn't: sum([b'', b''], b'') b'' sum([b'', b''], bytearray()) Traceback (most recent call last): File stdin, line 1, in module TypeError: sum() can't sum bytes [use b''.join(seq) instead] In 2.7, the situation

[issue12531] documentation index entries for * and **

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric - when I was just starting contributing patches to Python, I was strictly disciplined by veteran devs to stay within 80 chars no matter what :-) -- ___ Python tracker rep...@bugs.python.org

[issue12255] A few changes to .*ignore

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is also fixed in 3.3, but I missed a reference in the merge commit message. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue12417] Inappropriate copyright on profile files

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Of course, I had all 2.6 and 3.1 changesets in my existing clones :) I committed my patch to all branches. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12562] calling mmap twice fails on Windows

2011-07-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, pitrou, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12562 ___ ___

[issue12643] code.InteractiveConsole ignores sys.excepthook

2011-07-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If someone is setting sys.excepthook, they are not expecting it to be ignored, so I think there's no reason to preserve existing behaviour. On the other hand, it is easy to customize exception printout by subclassing InteractiveConsole and

[issue9723] Add shlex.quote

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 43c41e19527a by Éric Araujo in branch 'default': Expand shlex.quote example (#9723) http://hg.python.org/cpython/rev/43c41e19527a -- ___ Python tracker

[issue12643] code.InteractiveConsole ignores sys.excepthook

2011-07-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Another possibility yet is to add an excepthook argument to the InteractiveInterpreter / InteractiveConsole constructors. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12643

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: The 'spec_newline' in particular is only in the trunk (not in the backports), as it's part of the new --newline option. -- ___ Python tracker rep...@bugs.python.org

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Jason, one way or another, a prompt fix for trunk is required, since `make patchcheck` is an important step for committing patches. -- ___ Python tracker rep...@bugs.python.org

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It sounds like the early consensus on python-dev is that html5 support is a good thing. I'm happy with that. I presume that means the 'strict' keyword in 3.x becomes strict-per-html5, and possibly useless :) --

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2547f7965733 by Jason R. Coombs in branch 'default': Issue #10639: spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution

[issue9723] Add shlex.quote

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I suck at regexes, but the one I came up with lets quote pass the tests that existed for pipes.quote, so I figure it’s good. I did not change the string operations at the end of the function (+ and replace) as it was simple and working. In

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I hadn't realized that the other global variables were defined at the module level or I would have implemented this originally. Please let me know if this patch doesn't correct the issue. -- ___

[issue10639] reindent.py should not convert newlines

2011-07-29 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- stage: needs patch - commit review status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___

[issue12043] Update shutil documentation

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Done! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12043

[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Adapted and committed. -- assignee: tarek - eric.araujo resolution: - fixed stage: - committed/rejected status: open - closed versions: -3rd party, Python 2.7, Python 3.2 ___ Python tracker

[issue12222] All pysetup commands should respect exit codes

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I committed my patch, except for one change in the run action. It returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix. I tried changing the code to use Distribution and command objects directly but

[issue9723] Add shlex.quote

2011-07-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Sorry I didn't look at the patch earlier. I thought we were just *moving* pipes.quote. Why is a new regex involved? -- ___ Python tracker rep...@bugs.python.org

[issue12542] Remove duplicates of cmp_to_key used in tests

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12542

[issue9723] Add shlex.quote

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Because I choose to follow Ian’s remark in msg127957: the implementation could use a couple regexes instead of iterating over strings though I have not touched the tests, so I felt confident with my regex. FWIW, I’ve also changed the argument

[issue1284670] Allow to restrict ModuleFinder to get direct dependencies

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22686/modulefinder-no-recurse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1284670 ___

[issue1284670] Allow to restrict ModuleFinder to get direct dependencies

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I modernized modulefinder a bit in 1521d9837d16; here’s a refreshed patch. -- Added file: http://bugs.python.org/file22792/modulefinder-no-recurse.diff ___ Python tracker rep...@bugs.python.org

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The module docstring (which duplicates the reST docs) still mentions list2cmdline. I’d vote for removal there too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11827

[issue9723] Add shlex.quote

2011-07-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, it's a micro-optimization (it would be interesting to benchmark, but not worth it). I find the original code much more readable than the regex, but it doesn't matter all that much. (And as far as optimization goes, using

[issue12112] The new packaging module should not use the locale encoding

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I can run LANG=C python -m test test_packaging successfully. Can we close this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12112 ___

[issue12167] test_packaging reference leak

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I edited my patch to use a copy instead of an explicit empty dict, but I found a bug. The restore code unpacks the saved_caches object to (cache, items), but saved_caches is (id(cache), cache, cache.copy()). I’m surprised the unpacking works;

[issue9723] Add shlex.quote

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: str.translate is not an option, as the code does not replace but add characters (quotes). Out of sheer curiosity, I may actually benchmark this. -- ___ Python tracker rep...@bugs.python.org

[issue9723] Add shlex.quote

2011-07-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: You aren't using a regex to replace the quotes, either. len('abcd'.translate(str.maketrans('', '', string.ascii_letters ))) 0 False I don't know if this is faster than the corresponding search regex, but depending on how much overhead

[issue8887] pydoc str works but not pydoc str.translate

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 68df566cbf92 by Éric Araujo in branch '2.7': Make “pydoc somebuiltin.somemethod” work (#8887) http://hg.python.org/cpython/rev/68df566cbf92 -- nosy: +python-dev ___

[issue8887] pydoc str works but not pydoc str.translate

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f02a8f906342 by Éric Araujo in branch '3.2': Make “pydoc somebuiltin.somemethod” work (#8887) http://hg.python.org/cpython/rev/f02a8f906342 New changeset 91d6cabf77d6 by Éric Araujo in branch 'default': Merge fix

[issue8887] pydoc str works but not pydoc str.translate

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks again for the useful review. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8887

[issue12648] Wrong import module search order on Windows

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12648 ___ ___

[issue12653] Provide accelerators for all buttons in Windows installers

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +loewis versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12653 ___ ___

[issue9254] __import__ docstring should recommend importlib.import_module()

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch committed in 3.2. Attached patch ports the docstring change to 2.7 and edits the reST docs, please approve. -- assignee: docs@python - eric.araujo ___ Python tracker rep...@bugs.python.org

[issue9254] __import__ docstring should recommend importlib.import_module()

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22793/__import__-mention-importlib-2.7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9254 ___

[issue9788] atexit and execution order

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e37fa30c4be4 by Éric Araujo in branch '3.2': Document that atexit execution order is undefined (#9788) http://hg.python.org/cpython/rev/e37fa30c4be4 -- nosy: +python-dev

[issue9254] __import__ docstring should recommend importlib.import_module()

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7bfc0a45542c by Éric Araujo in branch '3.2': Let the doc of __import__ link to importlib (#9254). http://hg.python.org/cpython/rev/7bfc0a45542c New changeset 4a6cb2d9e906 by Éric Araujo in branch 'default': Merge

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 939631c6bc6f by Éric Araujo in branch '3.2': Add a link target for argparse.Namespace (#8982) http://hg.python.org/cpython/rev/939631c6bc6f -- ___ Python tracker

[issue9788] atexit and execution order

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset df415bfbb652 by Éric Araujo in branch '2.7': Document that atexit execution order is undefined (#9788) http://hg.python.org/cpython/rev/df415bfbb652 -- ___ Python tracker

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 01722022f88d by Éric Araujo in branch '2.7': Add a link target for argparse.Namespace (#8982) http://hg.python.org/cpython/rev/01722022f88d -- ___ Python tracker

[issue9788] atexit and execution order

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Given Benjamin and Giampaolo’s support, I committed my patch, so that at least the current behavior is documented. I personally have no opinion on LIFO vs. FIFO vs. undefined; I just think that the atexit module is not a wrapper around C’s

[issue12618] py_compile cannot create files in current directory

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +easy nosy: +eric.araujo stage: - test needed versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12618

[issue12622] failfast argument to TextTestRunner not documented

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +docs@python, eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12622 ___ ___

[issue12626] run test cases based on a glob filter

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’d love this in regrtest and unittest. -- nosy: +eric.araujo versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12626 ___

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-07-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12629 ___ ___

[issue12633] sys.modules doc entry should reflect restrictions

2011-07-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The note’s spirit is good, but I think something more concise would do. Side note: Please don’t mix up unrelated cosmetic changes in your diffs. -- nosy: +eric.araujo ___ Python tracker

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5f7e71cfbcd6 by Charles-François Natali in branch '3.2': Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks: http://hg.python.org/cpython/rev/5f7e71cfbcd6 New changeset c0bae008df81 by

[issue12655] Expose sched.h functions

2011-07-29 Thread Benjamin Peterson
New submission from Benjamin Peterson benja...@python.org: For fun and profit. :) -- components: Extension Modules files: sched_stuff.patch keywords: patch messages: 141401 nosy: benjamin.peterson, pitrou priority: normal severity: normal status: open title: Expose sched.h functions

[issue12655] Expose sched.h functions

2011-07-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: @@ -10330,26 +10899,34 @@ INITFUNC(void) I know that it's only an increase of 5%, but I feel that posixmodule.c is already large enough. Does this feature belongs to the os module? Or is it time to split posixmodule.c in several

[issue12655] Expose sched.h functions

2011-07-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2011/7/29 Amaury Forgeot d'Arc rep...@bugs.python.org: Amaury Forgeot d'Arc amaur...@gmail.com added the comment: @@ -10330,26 +10899,34 @@ INITFUNC(void) I know that it's only an increase of 5%, but I feel that posixmodule.c is

[issue12656] test.test_asyncore: add tests for AF_INET6 and AF_UNIX sockets

2011-07-29 Thread Charles-François Natali
New submission from Charles-François Natali neolo...@free.fr: As noted in issue #12502, test_asyncore only tests AF_INET sockets. With the patch attached, the vast majority of the tests will also be run with AF_UNIX and AF_INET6 sockets (if supported by the host OS). -- components:

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Committed. Petri, thanks for the patch. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12657] Cannot override JSON encoding of basic type subclasses

2011-07-29 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: I found this out while experimenting with enum types that inherit from int. The json library provides for extending the encoder to handle non-basic types; in those cases, your class's .default() method is called. However, it is

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-07-29 Thread phep
phep patrice.pil...@teletopie.net added the comment: These are the changeset details: changeset: 18337:c2a60de91d2c branch: legacy-trunk user:Guido van Rossum gu...@python.org date:Fri Jun 29 13:06:06 2001 + summary: Solve SF bug #231249: cgi.py opens too many

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2011-07-29 Thread phep
Changes by phep patrice.pil...@teletopie.net: -- nosy: +phep ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6755 ___ ___ Python-bugs-list mailing

[issue12654] sum() works with bytes objects

2011-07-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7368d0e9b33e by Benjamin Peterson in branch 'default': bytes should be verboten in sum() (fixes #12654) http://hg.python.org/cpython/rev/7368d0e9b33e -- nosy: +python-dev

[issue9788] atexit and execution order

2011-07-29 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Thanks. After all, I think that keeping atexit simple is the best solution and a doc adjustement is just fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9788

[issue12575] add a AST validator

2011-07-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: It'd be nice to get this in soon, so phase 2 can begin. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12575 ___

[issue12654] sum() works with bytes objects

2011-07-29 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12654 ___

[issue12655] Expose sched.h functions

2011-07-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Haven't reviewed the implementation, but +1 for adding this functionality. As for splitting apart posixmodule.c, I agree that's a separate concern. Something like the _io module splitup (several C files compiled in a single extension module)

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12652 ___ ___ Python-bugs-list

  1   2   >