[issue18647] re.error: nothing to repeat

2013-08-10 Thread Armin Rigo
Armin Rigo added the comment: Just a side note for 2.7: could I recommend people to be really extra, extra careful when changing what kind of regexps are accepted and what kind of regexps are outright rejected? I believe the risk of making long-existing and working 2.7 programs suddenly

[issue17741] event-driven XML parser

2013-08-10 Thread Stefan Behnel
Stefan Behnel added the comment: I gave the implementation a try and attached an incomplete patch. Some tests are failing. It turns out that it's not entirely easy to do this. As Antoine noticed, the hack in the C implementation of the TreeBuilder makes it tricky to integrate with other

[issue18647] re.error: nothing to repeat

2013-08-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Serhiy, yup, that regexp is slow, but it does finish - so the engine is doing something to avoid _unbounded_ repetitive matching of an empty string. Yes, it finish, but it has exponential computation complexity. Increase the length of the string to 21,

[issue18695] os.statvfs() not working well with unicode paths

2013-08-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 2.7.x is a minor version, not 2.7. We fixed Unicode issues in Python 2 bugfixes many times. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18695 ___

[issue18701] Remove outdated PY_VERSION_HEX checks

2013-08-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which removes PY_VERSION_HEX checks in Modules/_ctypes/_ctypes.c, Modules/_sre.c, Objects/stringlib/unicodedefs.h and removes the Modules/_sqlite/sqlitecompat.h file. _sre.c checks support Python versions 2.2, 2.2 or 1.6 which doesn't made

[issue18702] Report skipped tests as skipped

2013-08-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Some tests in Python testsuite are silently skipped if requirements is not satisfied. The proposed patch adds explicit skipUnless() and raise SkipTest() so that these tests now reported as skipped. I.e. the code like if not condition: def

[issue18268] ElementTree.fromstring non-deterministically gives unicode text data

2013-08-10 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18268 ___

[issue18668] Properly document setting m_size in PyModuleDef

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset f55ba27776d4 by Eli Bendersky in branch '3.3': Issue #18668: Further clarify m_size setting for non-negative values http://hg.python.org/cpython/rev/f55ba27776d4 New changeset d43435e82e21 by Eli Bendersky in branch 'default': Issue #18668: Further

[issue18418] Thread.isAlive() sometimes True after fork

2013-08-10 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: Bump. I think my most recent patch (August 4) addresses all of Charles-François's comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18418

[issue17909] Autodetecting JSON encoding

2013-08-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17909 ___ ___

[issue16400] update default PyPI behavior in docs re: listing versions

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset dd0d751cc7f1 by Christian Heimes in branch 'default': Issue #16400: Add command line option for isolated mode. http://hg.python.org/cpython/rev/dd0d751cc7f1 -- ___ Python tracker rep...@bugs.python.org

[issue8713] multiprocessing needs option to eschew fork() under Linux

2013-08-10 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Added file: http://bugs.python.org/file31214/c7aa0005f231.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___

[issue16499] CLI option for isolated mode

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06c39789061e by Christian Heimes in branch 'default': typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400 http://hg.python.org/cpython/rev/06c39789061e -- nosy: +python-dev ___ Python

[issue16400] update default PyPI behavior in docs re: listing versions

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06c39789061e by Christian Heimes in branch 'default': typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400 http://hg.python.org/cpython/rev/06c39789061e -- ___ Python tracker

[issue8713] multiprocessing needs option to eschew fork() under Linux

2013-08-10 Thread Richard Oudkerk
Richard Oudkerk added the comment: The forkserver process is now started using _posixsubprocess.fork_exec(). This should fix the order dependent problem mentioned before. Also the forkserver tests are now reenabled on OSX. -- ___ Python tracker

[issue16499] CLI option for isolated mode

2013-08-10 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16499 ___

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-08-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18504 ___

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a060e2de608 by Eli Bendersky in branch 'default': Issue #15651: PEP 3121 refactoring for _elementtree http://hg.python.org/cpython/rev/8a060e2de608 -- nosy: +python-dev ___ Python tracker

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Eli Bendersky
Eli Bendersky added the comment: Antoine, I committed your patch (with a bit of comments added), *leaving the module caching in*. This is because removing it breaks the tests, unfortunately. The _elementtree tests are so crooked that they manage to create a situation in which the module under

[issue18483] Add hour-24 type of time to test_http2time_formats in test_http_cookiejar.py

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab8da1936297 by Ezio Melotti in branch '3.3': #18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/ab8da1936297 New changeset 5c3708f23351 by Ezio Melotti in branch 'default': #18483:

[issue18483] Add hour-24 type of time to test_http2time_formats in test_http_cookiejar.py

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3 ___ Python

[issue18484] No unit test for iso2time function from http.cookiejar module

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset fe5d105eba4b by Ezio Melotti in branch '3.3': #18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/fe5d105eba4b New changeset 7bf1f8892df5 by Ezio Melotti in branch 'default': #18484: merge with

[issue18484] No unit test for iso2time function from http.cookiejar module

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: patch review - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3 ___ Python

[issue18466] Spelling mistakes in various code comments.

2013-08-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18466 ___

[issue18465] There are unused variables and unused import in Lib/test/test_minidom.py

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4daa18b5ad49 by Ezio Melotti in branch '3.3': #18465: fix unused variables in test_minidom. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/4daa18b5ad49 New changeset 47770b408321 by Ezio Melotti in branch 'default': #18465: merge with

[issue18465] There are unused variables and unused import in Lib/test/test_minidom.py

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3 ___ Python

[issue18453] There are unused variables inside DateTimeTestCase class in test_xmlrpc.py

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 28c756093a63 by Ezio Melotti in branch '3.3': #18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/28c756093a63 New changeset 9f7581816890 by Ezio Melotti in branch 'default': #18453: merge with 3.3.

[issue18453] There are unused variables inside DateTimeTestCase class in test_xmlrpc.py

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3 ___ Python

[issue18516] Typos in Lib/email/generator.py and Lib/email/architecture.rst

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in 168f6ac90abf (3.3) and 40ef5ce25d08 (default). Thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3

[issue18512] sys.stdout.write does not allow bytes in Python 3.x

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: You can do sys.stdout.buffer.write(bhello) Note that this might not work when sys.stdout has been replaced with something else (e.g. a StringIO). -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org

[issue18667] missing HAVE_FCHOWNAT

2013-08-10 Thread Larry Hastings
Larry Hastings added the comment: Here's a patch for trunk. It's essentially what salinger wrote, but as a patch file so it works for review. I poked around a little to make sure we weren't going to have another baffling situation like fchmodat. AFAICT, nope, it's fine, it's as simple as

[issue18667] missing HAVE_FCHOWNAT

2013-08-10 Thread Larry Hastings
Larry Hastings added the comment: And here's a patch for 3.3. I should have mentioned--both these patches pass the same tests as an unmodified trunk. So I think it's just ready to go in. -- Added file: http://bugs.python.org/file31216/larry.have_fchownat.3.3.patch.1.txt

[issue18505] Duplicate function names in test_email.py

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 53d54503fc06 by Ezio Melotti in branch '3.3': #18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/53d54503fc06 New changeset cb0fba5c7828 by Ezio Melotti in branch 'default': #18505: merge

[issue18505] Duplicate function names in test_email.py

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.3 ___ Python

[issue18696] In unittest.TestCase.longMessage doc remove a redundant sentence

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed, closing. -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18696

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2013-08-10 Thread Tim Golden
Tim Golden added the comment: I attach a patch against 3.3; this is substantially Dave Chambers' original patch with a trivial test added and a doc change. This means that HKCR is scanned to determine extensions and these will override anything in the mimetypes db. The doc change highlights

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function inspect.getargspec()

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc49e82ee013 by R David Murray in branch '3.3': #8112: Update the documenting xmlrpc server to use getfullargspec. http://hg.python.org/cpython/rev/bc49e82ee013 New changeset 69e515209fa9 by R David Murray in branch 'default': Merge #8112: Update

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function inspect.getargspec()

2013-08-10 Thread R. David Murray
R. David Murray added the comment: Thanks, Claudio. -- resolution: - fixed stage: test needed - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8112

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function inspect.getargspec()

2013-08-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- Removed message: http://bugs.python.org/msg194816 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8112 ___

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function inspect.getargspec()

2013-08-10 Thread R. David Murray
R. David Murray added the comment: Thanks, Popa. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8112 ___ ___ Python-bugs-list mailing list

[issue18689] add argument for formatter to logging.Handler and subclasses in logging module

2013-08-10 Thread Vinay Sajip
Vinay Sajip added the comment: I suggest that the declarative configuration approach of logging.config.dictConfig() be used for configurations which can't be handled by basicConfig(). I don't propose to enhance the Handler API as suggested, as at the very least every handler would need to be

[issue18681] typo in imp.reload

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80b65aa2d579 by Ezio Melotti in branch '3.3': #18681: Fix a NameError in imp.reload() (noticed by Weizhao Li). http://hg.python.org/cpython/rev/80b65aa2d579 New changeset 6bee7f1061e0 by Ezio Melotti in branch 'default': #18681: merge with 3.3.

[issue18681] typo in imp.reload

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue18652] Add itertools.first_true (return first true item in iterable)

2013-08-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18652 ___ ___

[issue18648] FP Howto and the PEP 8 lambda guildline

2013-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO that part should not suggest to use lambdas as small functions, so I would drop the example with adder/print_assign and the discussion about lambdas vs defs (the example that uses defs can stay), and keep the rest (from the reduce example). --

[issue18646] Improve tutorial entry on 'Lambda Forms'.

2013-08-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18646 ___

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Antoine, I committed your patch (with a bit of comments added), *leaving the module caching in*. Thanks! A longer term solution to all this will be http://mail.python.org/pipermail/python-dev/2013-August/127766.html - I want to eventually run all

[issue18647] re.error: nothing to repeat

2013-08-10 Thread Tim Peters
Tim Peters added the comment: Serhiy, yes, I know the regexp you gave takes exponential time. But: 1. This appears to have nothing to do with repeated 0-length matches. I gave you an example of a very similar regexp that also takes exponential time, but never makes any 0-length sub-match.

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread madan ram
New submission from madan ram: Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses are available from Nokia. Since new version of Qt 5 is realsed and Licenced under Digia. So i am fixing this issue . i am going to write it as PyQt5 is licensed on all platforms

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread madan ram
Changes by madan ram madan_...@rocketmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18703 ___ ___

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread madan ram
Changes by madan ram madan_...@rocketmail.com: Removed file: http://bugs.python.org/file31218/gui.rst ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18703 ___

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread madan ram
Changes by madan ram madan_...@rocketmail.com: -- keywords: +patch Added file: http://bugs.python.org/file31219/mywork.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18703 ___

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread madan ram
Changes by madan ram madan_...@rocketmail.com: -- nosy: +aleax, eric.araujo, ezio.melotti, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18703 ___

[issue18647] re.error: nothing to repeat

2013-08-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 2. Matthew said that Python's engine is not robust against _unbounded_ repeated matching of an empty sub-match, and so That's the reason for the up-front check. I was asking for an example of _that_ behavior. I still haven't seen one. Perhaps Matthew

[issue18647] re.error: nothing to repeat

2013-08-10 Thread Tim Peters
Tim Peters added the comment: So does anyone believe this check serves a useful purpose _now_? Doesn't seem so to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18647 ___

[issue18698] importlib.reload() does not return the module in sys.modules

2013-08-10 Thread Brett Cannon
Brett Cannon added the comment: I'm sure it's an oversight. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18698 ___ ___ Python-bugs-list

[issue18264] enum.IntEnum is not compatible with JSON serialisation

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae1a7c420f08 by Ethan Furman in branch 'default': Close #18264: int- and float-derived enums now converted to int or float. http://hg.python.org/cpython/rev/ae1a7c420f08 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue18416] Move to absolute file paths for module.__file__

2013-08-10 Thread Brett Cannon
Brett Cannon added the comment: I'm currently leaning towards having sys.path_importer_cache store the actual directory name. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18416 ___

[issue18693] help() not helpful with enum

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d417257748e by Ethan Furman in branch 'default': Close #18693: __dir__ removed from Enum; help() now helpful. http://hg.python.org/cpython/rev/5d417257748e -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open

[issue18416] Move to absolute file paths for module.__file__

2013-08-10 Thread Eric Snow
Eric Snow added the comment: I'm currently leaning towards having sys.path_importer_cache store the actual directory name. Makes sense to me. It the problem that sys.path will still have '' in it and it may be hard to figure out what it means (and how it maps to sys.path_importer_cache)?

[issue18703] To change the doc of html/faq/gui.html

2013-08-10 Thread R. David Murray
R. David Murray added the comment: It seems to me (having checked) that the current language is correct. The fact that PyQt5 is available under the GPL isn't really relevant to the FAQ as it currently exists (it doesn't mention the GPL anywhere else). Keep in mind that Python's license is

[issue18226] IDLE Unit test for FormatParagrah.py

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 453b4f89a2b4 by Terry Jan Reedy in branch '2.7': Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py. http://hg.python.org/cpython/rev/453b4f89a2b4 New changeset bfdb687ca485 by Terry Jan Reedy in branch '3.3': Issue #18226:

[issue18693] help() not helpful with enum

2013-08-10 Thread Eli Bendersky
Eli Bendersky added the comment: Less than two days passed since this issue was opened. No waiting for feedback? No patch? No code review? Maybe there's another solution? Personally I find dir() often more useful than help(). Maybe help() can be adapted to behave nicely for classes with

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Eli Bendersky
Eli Bendersky added the comment: On Sat, Aug 10, 2013 at 10:38 AM, Antoine Pitrou rep...@bugs.python.orgwrote: Antoine Pitrou added the comment: Antoine, I committed your patch (with a bit of comments added), *leaving the module caching in*. Thanks! A longer term solution to all

[issue18226] IDLE Unit test for FormatParagrah.py

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless there is a buildbot problem, further enhancements of either file will be part of #18583 -- resolution: - fixed stage: patch review - committed/rejected status: open - closed superseder: - Idle: enhance FormatParagraph

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: If we want to stress test module unloading and reloading, let's have specific, targeted tests for that. Agreed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15651

[issue18592] IDLE: Unit test for SearchDialogBase.py

2013-08-10 Thread Phil Webster
Phil Webster added the comment: As suggested by Ezio, I factored out the button tests to a common method. -- Added file: http://bugs.python.org/file31220/test_searchdialogbase2.patch ___ Python tracker rep...@bugs.python.org

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 841984e96df6 by Terry Jan Reedy in branch '2.7': Issue #18429: Add user-oriented News entry about Format / Format Paragraph http://hg.python.org/cpython/rev/841984e96df6 New changeset 9eea6401b892 by Terry Jan Reedy in branch '3.3': Issue #18429:

[issue18676] Queue: document that zero is accepted as timeout value

2013-08-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: docs@python - terry.reedy nosy: +terry.reedy stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18676 ___

[issue18416] Move to absolute file paths for module.__file__

2013-08-10 Thread Nick Coghlan
Nick Coghlan added the comment: It seems to me that by *not* doing that, we may have a bug if the cwd changes and the import machinery returns a stateful importer that remembers the path name. Using the actual filesystem path for everything other than sys.path sounds like a much better

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-10 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: This is to create an IDLE extension that would integrate PEP8 (Syntax Style Checker https://pypi.python.org/pypi/pep8 ) into the IDLE editor window,so the developer who is using the IDLE editor can quickly and frequently check the PEP8 standards of the

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2013-08-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: The first two patches (_tkinter_pep3121-384_v0.patch and _tkinter_pep3121-384_v1.patch) seemed to have the refcounts right, but Andrew's further patches lost the required Py_INCREF in the various new() functions (and the corresponding Py_DECREF in deallocs),

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-10 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18704 ___ ___ Python-bugs-list

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d0c938870bc by Antoine Pitrou in branch 'default': Fix refcounting issue with extension types in tkinter. http://hg.python.org/cpython/rev/4d0c938870bc -- ___ Python tracker rep...@bugs.python.org

[issue10241] gc fixes for module m_copy attribute

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1edff836c954 by Antoine Pitrou in branch 'default': Issue #10241: Clear extension module dict copies at interpreter shutdown. http://hg.python.org/cpython/rev/1edff836c954 -- ___ Python tracker

[issue10241] gc fixes for module m_copy attribute

2013-08-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Re-applied patch after having fixed the tkinter issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10241 ___

[issue18676] Queue: document that zero is accepted as timeout value

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 737b53ec5d1a by Terry Jan Reedy in branch '2.7': Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get http://hg.python.org/cpython/rev/737b53ec5d1a New changeset 2122d56d6bc5 by Terry Jan Reedy in branch '3.3': Issue #18676:

[issue18676] Queue: document that zero is accepted as timeout value

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zhongyue, we merge 3.x patches forward (currently 3.3 to 3.4) so only one patch is usually needed unless the differences are non-trivial. It is easier if different version patches are tagged with the version in the filename.('-27', for instance. If you think

[issue5527] multiprocessing won't work with Tkinter (under Linux)

2013-08-10 Thread James Sanders
James Sanders added the comment: I recently got hit by this bug on 64-bit ubuntu 13.04, with python 3.3.1 and tcl/tk 8.5.13 installed from the Ubuntu repositories. However, I tried building the same versions of tcl, tk, and python locally, and couldn't reproduce the bug. I also built python

[issue18686] Tkinter focus_get on menu results in KeyError

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not able to reproduce any problem on Win 7 with either recent 2.7.6a0 (repository) or 3.3.2. Nothing happens if I click on [File] or anywhere else outside of the entry box or [_]...[X] window buttons. Please give the signin info such as Python 2.7.5+

[issue18705] Fix arround 100 typos/spelling mistakes

2013-08-10 Thread Févry Thibault
New submission from Févry Thibault: In issue 18466 I had said I was planning to write a tool that checks python source code to see if they are spelling mistakes in comments/strings. As it was said there, the big issue was the fact that python has so many non-english words and that docstrings

[issue18705] Fix arround 100 typos/spelling mistakes

2013-08-10 Thread Févry Thibault
Févry Thibault added the comment: Note that I am not a very good python programmer so the attached script may look ugly to you, but it works. -- versions: +Python 3.3 Added file: http://bugs.python.org/file31224/spell.py ___ Python tracker

[issue18705] Fix arround 100 typos/spelling mistakes

2013-08-10 Thread Févry Thibault
Févry Thibault added the comment: And here is a python_words.txt so you have to press enter less times :) -- Added file: http://bugs.python.org/file31225/python_words.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18705

[issue18466] Spelling mistakes in various code comments.

2013-08-10 Thread Févry Thibault
Févry Thibault added the comment: See issue 18705 for a basic script. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18466 ___ ___

[issue18706] test failure in test_codeccallbacks

2013-08-10 Thread Antoine Pitrou
New submission from Antoine Pitrou: Since issue #18681, the following test sequence fails: ./python -m test -v test_codecencodings_kr test_imp test_codeccallbacks [...] == ERROR: test_xmlcharnamereplace

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Eli Bendersky
Eli Bendersky added the comment: Found some problems in the interaction of PEP 3121 and import_fresh_module: http://mail.python.org/pipermail/python-dev/2013-August/127862.html I'd still like to see the in-PyInit__elementtree caching deleted eventually, without harming test coverage. So this

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Eli Bendersky
Eli Bendersky added the comment: BTW, Antoine, w.r.t documentation - I agree that the whole PyState_* sequence needs better documentation and examples, but in the meantime I'm attaching a simple patch for c-api/module.rst. It clarifies that PyState_AddModule doesn't really have to be called

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2013-08-10 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Added file: http://bugs.python.org/file31226/pystate-findmodule-clarify.1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15651 ___

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-08-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b0e9e9812f8 by Terry Jan Reedy in branch 'default': Issue #15301: skip new test method so Windows builtbots stop failing. http://hg.python.org/cpython/rev/9b0e9e9812f8 -- ___ Python tracker

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: This was the only failure on 2 of 4 buildbots when I last looked. test_os has several methods like this: def test_dup2(self): if hasattr(os, dup2): self.check(os.dup2, 20) Should the hasattr be moved to skipUnless for all of these?

[issue18706] test failure in test_codeccallbacks

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Failure is intermittent. The only related lines in test_codeccallbacks are 002: import html.entities 102:l.append(%s; % html.entities.codepoint2name[ord(c)]) -- nosy: +terry.reedy ___ Python tracker

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-08-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Likely they were written before the invention of unittest test skpping. They could be converted. 2013/8/10 Terry J. Reedy rep...@bugs.python.org: Terry J. Reedy added the comment: This was the only failure on 2 of 4 buildbots when I last looked.

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'fix', including the test, is included with the patch for #18226. It shares with normal text the problem that selections of partial lines do not work well. I think this might be fixed in #18583 by only re-wrapping complete lines. --

[issue18667] missing HAVE_FCHOWNAT

2013-08-10 Thread Larry Hastings
Larry Hastings added the comment: Georg, I'm gonna commit this for 3.4. You want it in 3.3 as well? I claim it's 100% a bugfix. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18667

[issue18667] missing HAVE_FCHOWNAT

2013-08-10 Thread Georg Brandl
Georg Brandl added the comment: Well, since you're a RM now you should know :D -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18667 ___ ___

[issue18693] help() not helpful with enum

2013-08-10 Thread Ethan Furman
Ethan Furman added the comment: Sorry, sorry. Long week, felt like more than two days, mild sense of unease and stress due to non-functioning Release Schedule on python.org, and wanting to get Enum used /somewhere/ in the stdlib before 3.4 is locked down. Making help() better would be a