[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: OK, that sounds reasonable. That means I think we need to: 1. add an explicit porting note to the What's New for 3.4.0 final about frozen modules no longer defining __file__ 2. fix importlib.__init__ to tolerate freezing again in 3.4.1 3. remove

[issue14747] Classifiers are missing from distutils2-generated metadata

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14747 ___

[issue14830] pysetup fails on non-ascii filenames

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14830 ___

[issue2403] Add figleaf coverage metrics

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: Indeed, the devguide documents how to use coverage.py, and there is even a pure-stdlib solution with regrtest. I recommend closing this. -- resolution: - rejected stage: test needed - committed/rejected status: open - pending

[issue13400] packaging: build command should have options to control byte-compilation

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: -Add tests for files byte-compiled by distutils[2] resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14733] Custom commands don't work

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - fixed stage: - committed/rejected status: open - closed versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14733

[issue14651] pysetup run cmd can't handle option values in the setup.cfg

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14651 ___

[issue14517] distutils always recompiles all C source files

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - works for me stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14517 ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-13 Thread Andreas Schwab
New submission from Andreas Schwab: m68k has the same problem as x86 with excess floating point precision. The attached patch implements the necessary support for HAVE_PY_SET_53BIT_PRECISION. -- components: Interpreter Core files: m68k-float-prec.patch keywords: patch messages: 213359

[issue20902] Which operand is preferred by set operations? Missing information in the documentation

2014-03-13 Thread Giacomo Alzetta
Giacomo Alzetta added the comment: I asked this because, for example, in Haskell it *is* a well-defined behaviour (see its documentation at: http://hackage.haskell.org/package/containers-0.5.4.0/docs/Data-Set.html): the left operand is preferred by all operations. In fact, working with

[issue8254] write a configure command

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: accepted - out of date stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8254

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +mark.dickinson, skrah, tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20904 ___ ___

[issue20905] Adapt heapq push/pop/replace to allow passing a comparator.

2014-03-13 Thread Prashant Sharma
New submission from Prashant Sharma: It would be more convenient to extend heapq to support user defined comparators. Default can be cmp_lt in which case they behave as they do now. Caveat: What happens if uses switches comparator between calls to push or pop. The expected behavior can be

[issue8357] Add a --show-installation-paths in the install command

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: accepted - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8357

[issue8369] Add a lint command to distutils

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: This is better done by tools outside of the standard library. -- resolution: remind - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue20905] Adapt heapq push/pop/replace to allow passing a comparator.

2014-03-13 Thread Prashant Sharma
Prashant Sharma added the comment: Signed the PSF CLA. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20905 ___ ___ Python-bugs-list mailing

[issue12449] Add accelerator F to button Finish in all MSI installers made by bdist_msi

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: distutils2 is no more and the feature freeze for distutils was lifted. However, this does not strike me as an important feature to add. -- resolution: - rejected stage: needs patch - committed/rejected status: open - closed

[issue14848] Use shutil.move instead of os.rename in packaging

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14848 ___

[issue20905] Adapt heapq push/pop/replace to allow passing a comparator.

2014-03-13 Thread Gareth Rees
Gareth Rees added the comment: It would be better to accept a key function instead of a comparison function (cf. heapq.nlargest and heapq.nsmallest). But note that this has been proposed before and rejected: see issue1904 where Raymond Hettinger provides this rationale: Use cases aside,

[issue5747] knowing the parent command

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5747 ___

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-13 Thread Anastasia.Filatova
Anastasia.Filatova added the comment: I made a patch on this issue. I added a small example to the description. Should I provide a more detailed example or that one will be enough? Could someone please review the patch? -- keywords: +patch nosy: +Anastasia.Filatova Added file:

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-13 Thread Anastasia.Filatova
Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com: Added file: http://bugs.python.org/file34390/Issue20112_py33.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20112 ___

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-13 Thread Anastasia.Filatova
Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com: Added file: http://bugs.python.org/file34391/Issue20112_py34.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20112 ___

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: Fix is simple: --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -1519,7 +1519,7 @@ def _find_and_load_unlocked(name, import path = parent_module.__path__ except AttributeError: msg = (_ERR_MSG + '; {} is not

[issue20906] Unicode HOWTO

2014-03-13 Thread Graham Wideman
New submission from Graham Wideman: The Unicode HOWTO article is an attempt to help users wrap their minds around Unicode. There are some opportunities for improvement. Issues presented in order of the narrative: http://docs.python.org/3.3/howto/unicode.html History of Character Codes

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review, patch stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19257 ___

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py Eric, please attach the patch as a file to the issue, so it can be easily reviewed on Rietveld. -- nosy: +haypo ___ Python tracker

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: I figured it would take less time for someone to go to the file and make the edit than download and apply a patch file, but as you wish :) -- Added file: http://bugs.python.org/file34392/fix-import-not-package-tb.diff

[issue20337] bdist_rpm should support %config(noreplace)

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: Can you give more information about this change? As a new feature, it cannot go into 2.7. -- components: +Distutils -Build nosy: +eric.araujo type: - enhancement versions: +Python 3.5 -Python 2.7 ___ Python tracker

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: I figured it would take less time for someone to go to the file and make the edit than download and apply a patch file, but as you wish :) It's not to apply the patch, but to review it. The Rietveld tool helps to review a patch online, it displays more

[issue20464] Update distutils sample config file in Doc/install/index.rst

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: docs@python - eric.araujo nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20464 ___

[issue20091] An index entry for __main__ in 30.5 runpy is missing

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20091 ___ ___

[issue20787] typo in asyncio docs for subprocess_exec()

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review nosy: +haypo stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20787 ___

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20842 ___ ___ Python-bugs-list

[issue20905] Adapt heapq push/pop/replace to allow passing a comparator.

2014-03-13 Thread Prashant Sharma
Prashant Sharma added the comment: Hey Gareth, add Key= approach also solves the purpose. The purpose is to be able to use heapq as max heap too conveniently. (I just wish python had minmaxheap too, but felt that is too much to ask for.) It is a very common usage and usual tricks of

[issue20907] behavioral differences between shutil.unpack_archive and ZipFile.extractall

2014-03-13 Thread Peter Santoro
New submission from Peter Santoro: Since Python 3.3.1, ZipFile.extractall was enhanced to better handle absolute paths and illegal characters. The associated logic within shutil._unpack_zipfile essentially skips zip members with these issues. If a zip file contains all absolute paths,

[issue20787] typo in asyncio docs for subprocess_exec()

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a42fb12a736 by Victor Stinner in branch 'default': Close #20787: asyncio doc: fix typo. Patch written by akira. http://hg.python.org/cpython/rev/7a42fb12a736 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue20907] behavioral differences between shutil.unpack_archive and ZipFile.extractall

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20907 ___ ___ Python-bugs-list

[issue20720] test_create_server() of test_asyncio failure on x86 Windows Server 2008 [SB] 3.x buildbot

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: The following change should fix this issue. changeset: 89480:56c346e9ae4d user:Victor Stinner victor.stin...@gmail.com date:Thu Mar 06 01:00:36 2014 +0100 files: Lib/asyncio/test_utils.py Lib/test/test_asyncio/test_events.py description:

[issue20889] asyncio.docs : asyncio.Condition acquire/release/locked method undocumented

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset f22e1d89486d by Victor Stinner in branch 'default': Close #20889: asyncio doc: Document acquire(), locked() and release() method of http://hg.python.org/cpython/rev/f22e1d89486d -- nosy: +python-dev resolution: - fixed stage: -

[issue12135] The spawn function should return stderr.

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12135 ___

[issue20889] asyncio.docs : asyncio.Condition acquire/release/locked method undocumented

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: Thanks Alexandre for the report. -- stage: committed/rejected - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20889 ___

[issue20154] Deadlock in asyncio.StreamReader.readexactly() (fix applied, need unit test)

2014-03-13 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Deadlock in asyncio.StreamReader.readexactly() - Deadlock in asyncio.StreamReader.readexactly() (fix applied, need unit test) ___ Python tracker rep...@bugs.python.org

[issue11599] Useless error message when distutils fails compiling

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 43b06352221b by Éric Araujo in branch '3.3': Make distutils error messages more helpful (#11599). http://hg.python.org/cpython/rev/43b06352221b New changeset c04260b59e8c by Éric Araujo in branch 'default': Merge 3.3 (#11599)

[issue11599] Useless error message when distutils fails compiling

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: Fixed! -- components: -Distutils2 resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 3.4 -3rd party, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-03-13 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: commit review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20763 ___

[issue16535] json encoder unable to handle decimal

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: -202 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16535 ___ ___ Python-bugs-list mailing

[issue16535] json encoder unable to handle decimal

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: Patch looks good and contains tests for the C and Python code. Documentation is missing (a note to tell that json.dump converts decimal.Decimal instances to JSON numbers, a versionchanged directive, maybe a link to the doc that explains

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2014-03-13 Thread Kushal Das
Kushal Das added the comment: Will submit a patch for this. -- nosy: +kushaldas ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20842 ___ ___

[issue12901] Nest class/methods directives in documentation

2014-03-13 Thread Éric Araujo
Éric Araujo added the comment: I’m inclined to reject this patch: it doesn’t apply cleanly anymore, it does not cover all modules, and basically it’s markup changes without benefits for end users. Our doc can recommend nesting class and methods directives for new doc, and existing doc may or

[issue12258] Clean up bytes I/O in get_compiler_versions

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12258 ___

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

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10884 ___

[issue8680] Add a sandbox in Distutils2

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8680 ___

[issue1692592] Stripping debugging symbols from compiled C extensions

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - rejected stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1692592 ___

[issue9309] Add environment variable complementing command line option -no-user-cfg

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils -Distutils2 resolution: - rejected stage: - committed/rejected status: open - closed versions: -3rd party ___ Python tracker rep...@bugs.python.org

[issue12925] python setup.py upload_docs doesn't ask for login and password

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12925 ___

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2014-03-13 Thread Xavier Combelle
Changes by Xavier Combelle xavier.combe...@gmail.com: -- nosy: +xcombelle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20891 ___ ___

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
New submission from Luis G.F: A memory leak can happend in Reg2Py() loosing the reference to str pointer. See file PC/winreg.c +947 -- components: Extension Modules, Windows messages: 213384 nosy: luisgf priority: normal severity: normal status: open title: Memory leak in Reg2Py()

[issue1617161] Instance methods compare equal when their self's are equal

2014-03-13 Thread Armin Rigo
Changes by Armin Rigo ar...@users.sourceforge.net: -- assignee: arigo - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1617161 ___ ___

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
Luis G.F added the comment: Attach of patch for the 3.3.5 version. -- keywords: +patch versions: +Python 3.3 Added file: http://bugs.python.org/file34394/winreg_leak_v33.patch ___ Python tracker rep...@bugs.python.org

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-03-13 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: As a part of my GSOC 2014 proposal, i had prepared a mockup which adds linenumbering feature to a text widget.I am adding the mockup along with a image. Working: Intercepts low level calls and detects if any of the actions modify current view.If they do

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-03-13 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file34396/Screenshot from 2014-03-09 16:09:37.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-03-13 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Removed file: http://bugs.python.org/file34396/Screenshot from 2014-03-09 16:09:37.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-03-13 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file34397/line numbering mockup image.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535 ___

[issue16989] allow distutils debug mode to be enabled more easily

2014-03-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure I understand the justification. If the patch serves a logical purpose, and distutils isn't deprecated in the current development line, then I would suggest we apply the patch. If we don't fix the behavior today, then the library will be in the

[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d22ef969cb82 by Nick Coghlan in branch 'default': Close #19407: New installation distribution guides http://hg.python.org/cpython/rev/d22ef969cb82 -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: Not sure how much I'll be online tomorrow or Saturday, so I went ahead and committed what I had. The new guides definitely aren't perfect, but I think they're in acceptable shape for 3.4.0, and we can improve them in parallel with Python Packaging User Guide

[issue20909] 3.4 cherry pick: d22ef969cb82 new distribution installation guides

2014-03-13 Thread Nick Coghlan
New submission from Nick Coghlan: Cherry pick request for the Installation Distribution docs updates for PEP 453. New changeset d22ef969cb82 by Nick Coghlan in branch 'default': Close #19407: New installation distribution guides http://hg.python.org/cpython/rev/d22ef969cb82 --

[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset f5be4ea5b43e by Nick Coghlan in branch 'default': Issue #19407: fix link http://hg.python.org/cpython/rev/f5be4ea5b43e -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19407

[issue20909] 3.4 cherry pick: d22ef969cb82 f5be4ea5b43e new distribution installation guides

2014-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: Additional change set to fix a couple of malformed links: New changeset f5be4ea5b43e by Nick Coghlan in branch 'default': Issue #19407: fix link http://hg.python.org/cpython/rev/f5be4ea5b43e -- title: 3.4 cherry pick: d22ef969cb82 new distribution

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-13 Thread Brett Cannon
Brett Cannon added the comment: I assume you mean for 3. to fix PyImport_ImportFrozenModuleObject() and not stop resetting __file__ for _frozen_importlib in importlib.__init__ like we are currently doing. I think you're right that it could wait until 3.5 as it will only be apparent to people

[issue19257] Sub-optimal error message when importing a non-package

2014-03-13 Thread Brett Cannon
Brett Cannon added the comment: Is it confusing though? If you only had the latter exception all you would know is Python doesn't consider datetime a package but you wouldn't know why that is unless you knew the exact definition (the __path__ attribute exists). Having the former exception

[issue20910] Make sleep configurable in tests

2014-03-13 Thread STINNER Victor
New submission from STINNER Victor: Hi, I'm trying to make Python test suite reliable, but it's hard because the speed of our farm of buildbots varies a lot. The whole test suite takes less than 10 minutes on some buildbots (or event less than 5 minutes), while it took 10 hours on other

[issue18217] Deprecate and remove gettext.install

2014-03-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Mar 13, 2014, at 05:15 AM, Éric Araujo wrote: The source contains :meth:`self.gettext`, and Sphinx adds the parentheses when creating markup for a function, probably because it’s common to say things like “the len() function”. There is a Sphinx config

[issue20910] Make sleep configurable in tests

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: The test suite pass with test_sleep.patch applied on my fast Linux PC. The test must be tested on Windows (because of the clock resolution of 15.6 ms). I run the unit test using the command ./python -m test -j0 -rW. By the way, do you have an idea to simulate

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: IMO it's a bug in PyEval_InitThreads(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20891 ___ ___

[issue20910] Make sleep configurable in tests

2014-03-13 Thread R. David Murray
R. David Murray added the comment: Would it be possible for regrtest to do some operations to estimate the speed and choose good values for the constants automatically? If you have the right kind of VM setup, you could simulate a slow buildbot by giving the VM a low CPU share and then running

[issue20265] Bring Windows docs up to date

2014-03-13 Thread Zachary Ware
Zachary Ware added the comment: Éric Araujo wrote: From #20265: Correction, this is #20265, that message was from #20266 :) Kathleen: both Éric and I have left some review comments for you in Rietveld, which should have sent you an email with the comments and links to the Rietveld review.

[issue20265] Bring Windows docs up to date

2014-03-13 Thread Kathleen Weaver
Kathleen Weaver added the comment: It was Visual Studio that messed up the end of line feeds, it keep telling me that there was a problem but I didn't know what it meant. Erik and I were in #pyladies and he really helped me. As soon as I get done with gym and other mundane errands I will get

[issue19247] Describe surrogateescape algorithm in the Library Reference

2014-03-13 Thread R. David Murray
R. David Murray added the comment: Looking at the PEP, I don't think there's anything in there that can just be copied to the docs. I've suggested to one of the new contributors to do the break out of the error handlers into its own section, and then someone with more understanding of

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-03-13 Thread Zachary Ware
Zachary Ware added the comment: The problem with the previous approach and building inside Visual Studio was that makefile.vc in both Tcl and Tk first checks for one of MSDEVDIR, MSVCDIR, VCINSTALLDIR, MSSDK or WINDOWSSDKDIR being set, which Visual Studio doesn't set. That issue could have

[issue20910] Make sleep configurable in tests

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible for regrtest to do some operations to estimate the speed and choose good values for the constants automatically? It might be possible to make the parameters dynamic, for example using the system loads. But I'm not really interested to

[issue20910] Make sleep configurable in tests

2014-03-13 Thread STINNER Victor
STINNER Victor added the comment: The test must be tested on Windows (because of the clock resolution of 15.6 ms). The test suite pass on Windows too (PCbuild\python_d.exe -m test). -- ___ Python tracker rep...@bugs.python.org

[issue20911] urllib 'headers' is not a well defined data type

2014-03-13 Thread R. David Murray
New submission from R. David Murray: Some places in the code it is an email.message.Message object. Some places it is a simple dictionary. In one place (FTP), it is a string with embedded newlines. I'm not sure what should be done about this situation, but it looks like a bug magnet, and

[issue20910] Make sleep configurable in tests

2014-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: It might be possible to make the parameters dynamic, for example using the system loads. But I'm not really interested to invest too much time on optimizing the timing parameters for buildbots. I would like to ensure that tests pass with a short test sleep

[issue20517] Support errors with two filenames for errno exceptions

2014-03-13 Thread R. David Murray
R. David Murray added the comment: In 3.3: x = OSError(2, 'No such file or directory', 'foo', 0, 'bar') str(x) (2, 'No such file or directory', 'foo', 0, 'bar') So, I don't see this as a realistic backwards compatibility problem worthy of a porting note. -- nosy: +r.david.murray

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I take care of this. -- assignee: - jcea nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20908 ___

[issue15701] AttributeError from HTTPError when using digest auth

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 361c10d06b9c by R David Murray in branch 'default': whatsnew: HTTPError.headers (#15701). http://hg.python.org/cpython/rev/361c10d06b9c -- ___ Python tracker rep...@bugs.python.org

[issue20784] 'collections.abc' is no longer defined when collections is imported

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d575398d1916 by R David Murray in branch 'default': whatsnew: collections no longer implicitly imports 'abc' (#20784). http://hg.python.org/cpython/rev/d575398d1916 -- ___ Python tracker

[issue20784] 'collections.abc' is no longer defined when collections is imported

2014-03-13 Thread R. David Murray
R. David Murray added the comment: I've documented that 'collections.abc' is no longer implicit, which I presume means we are going to keep this behavior. (Unless you tell me to revert that and we fix it as a regression in 3.4.1). As long as an application follows the note and explicitly

[issue19861] Update What's New for Python 3.4

2014-03-13 Thread R. David Murray
R. David Murray added the comment: I'm done with everything in my edit queue except the final copy-edit/formatting pass. So if you know of anything missing, let me know. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is not actually important, since the program will finish a second after this. But cleanup is simple enough. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20908

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b44a3f6676b8 by Jesus Cea in branch '2.7': Closes #20908: Memory leak in Reg2Py() http://hg.python.org/cpython/rev/b44a3f6676b8 New changeset 07968254be96 by Jesus Cea in branch '3.3': Closes #20908: Memory leak in Reg2Py()

[issue20912] [zipfile.py]: Make zip directory attributes more friendly for MS-Windows

2014-03-13 Thread Vitaly Murashev
New submission from Vitaly Murashev: When I use 'zip' command-line tool on my Ubuntu 10.04 to pack a directory in zip-archive, it internally assigns '0x41ed0010' attributes for it. 0x41ed0010 = 0x41ed 0xfff + 0x0010 Where: 0x41ed - unix attributes (40755) 0x0010 - means # MS-DOS

[issue16104] Use multiprocessing in compileall script

2014-03-13 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's a new patch which addresses Éric's last comments. Antoine, I don't have at my disposal a system without multiprocessing support. How does it crash? -- Added file: http://bugs.python.org/file34400/issue16104_5.patch

[issue20910] Make sleep configurable in tests

2014-03-13 Thread Zachary Ware
Zachary Ware added the comment: I got a few failures on my Windows machine running `PCbuild\python_d.exe -m test -j0 -rW` [1], only one of which looks relevant [2]: == FAIL: test_monotonic (test.test_time.TimeTestCase)

[issue16104] Use multiprocessing in compileall script

2014-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here's a new patch which addresses Éric's last comments. Antoine, I don't have at my disposal a system without multiprocessing support. How does it crash? Neither do I, but you will probably get an ImportError of some sort. --

[issue672115] Assignment to __bases__ of direct object subclasses

2014-03-13 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue672115 ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: Technically I guess this counts as a new feature. It would be painful to have to wait for 3.5, though. I wonder whether we can sneak this in after 3.4 is released? Is the __mc68000__ #define specific to gcc? --

[issue12901] Nest class/methods directives in documentation

2014-03-13 Thread Georg Brandl
Georg Brandl added the comment: Agreed. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12901 ___ ___ Python-bugs-list

  1   2   3   >