[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general LGTM. Do you interesting in porting this to Python 3 (this would be non-trivial work)? -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka stage: - needs patch versions: +Python 3.3, Python 3.4

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now almost all listed changes are documented. Great work, David! But you perhaps forgot about changed multiprocessing.set_executable() and new urllib.error.HTTPError.headers. -- ___ Python tracker

[issue20888] tracemalloc: add getline() method to Traceback and Frame

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 14c1ff6a8086 by Victor Stinner in branch 'default': Issue #20888: improve Pretty Top example of tracemalloc, use linecache http://hg.python.org/cpython/rev/14c1ff6a8086 -- nosy: +python-dev ___ Python

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, and please document backward-incompatible changes in OSError signature (issue20517). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861 ___

[issue17741] event-driven XML parser

2014-03-11 Thread Stefan Behnel
Stefan Behnel added the comment: My latest status is that a decision on the future of the parser argument is still pending. See #20219. It's correctly deprecated in the sense that passing any previously existing parser isn't going to be supported anymore, but passing an XMLPullParser (which

[issue20888] tracemalloc: add a get_line() method to Trace and Frame classes

2014-03-11 Thread STINNER Victor
STINNER Victor added the comment: The method name should be get_line, not getline, to conform to the PEP 8. It's not very useful to add an helper to the Traceback, it's more interesting to add it to the Trace class. So linecache.getline(trace.traceback[0].filename, trace.traceback[0].lineno)

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

2014-03-11 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch to document the 3 missing methods. -- keywords: +patch nosy: +gvanrossum, haypo, yselivanov Added file: http://bugs.python.org/file34351/asyncio_doc_cond.patch ___ Python tracker

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

2014-03-11 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Item possibly related to this. When packaging a simple HelloWorld-like application like this: print(Hello world) import configparser using cx_Freeze and Python 3.4, you get the following error on packaged application startup: Traceback (most recent

[issue20886] Disabling logging to ~/.python_history is not simple enough

2014-03-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: On mar., 2014-03-11 at 02:38 +, Arfrever Frehtes Taifersar Arahesis wrote: Arfrever Frehtes Taifersar Arahesis added the comment: Antoine Pitrou: What sure not the panic mode is about, but in any case you can simply use e.g. chmod 111 .python_history

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

2014-03-11 Thread STINNER Victor
STINNER Victor added the comment: Item possibly related to this. I cannot reproduce your issue, it looks like a bug in cx_Freeze. import collections doesn't import collections.abc by default anymore, but configparser is correct: from collections.abc import MutableMapping. So it imports

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

2014-03-11 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: I cannot reproduce your issue Meaning you do not have the environment set up for this or that you tried it and it worked for you? If it 'worked for you', I can send you more detailed environment information when get back to my office in an hour or

[issue13530] Docs for os.lseek neglect to mention what it returns

2014-03-11 Thread Till Maas
Till Maas added the comment: This is not fixed for Python 2.7 and 2.6. -- nosy: +till ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13530 ___ ___

[issue20888] tracemalloc: add a get_line() method to Trace and Frame classes

2014-03-11 Thread Georg Brandl
Georg Brandl added the comment: The policy is clear, no API additions in micro releases (the only exceptions should be made for security issues). -- nosy: +georg.brandl versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue10835] sys.executable default and altinstall

2014-03-11 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Garbage in, garbage out. In this case – exec -a '' – yes, but in general not so – see Mismatch between sys.executable and sys.version in Python question at SO (http://stackoverflow.com/q/22236727/95735). As to not guessing Victor STINNER in comment

[issue13530] Docs for os.lseek neglect to mention what it returns

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 168e40af4a20 by Georg Brandl in branch '2.7': #13530: port to 2.7 branch (document what os.lseek returns). http://hg.python.org/cpython/rev/168e40af4a20 -- ___ Python tracker rep...@bugs.python.org

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

2014-03-11 Thread STINNER Victor
STINNER Victor added the comment: I cannot reproduce your issue Meaning you do not have the environment set up for this or that you tried it and it worked for you? I mean that executing the following lines in Python doesn't fail: --- print(Hello world) import configparser --- It's specific

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

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: cx-freeze feedback is better added to issue 20884 - I currently still suspect that 3.4 has just uncovered some latent spec non-compliance in the cx-freeze import system emulation (although I need to investigate further to be sure, since it's also possible we

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

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Oh, and yes, this is *definitely* a bug: _collections_abc.__name__ is set to collections.abc, but if collections.abc isn't imported anywhere in the program, then cx-freeze and similar tools will miss the fact that collections.abc should be bundled. If

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

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Reading https://bitbucket.org/anthony_tuininga/cx_freeze/src/default/cx_Freeze/finder.py I have a suspicion that the import system reimplementation in there is going to need updates to handle PEP 451 (I suspect there are even latent defects in relation to

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

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Another relevant link: http://docs.python.org/3.4/reference/import.html Just to clarify the reason for the pending status: At the moment, I suspect this is a matter of either 3.4 revealing a latent defect in the cx-freeze import emulation (by being less

[issue17741] event-driven XML parser

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I'd agree with Stefan here - documented deprecation is reasonable at this point (so that new users avoid it for now), but we may still undeprecate it later if we decide it makes sense to do so. -- ___ Python

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-11 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: This is a patch that includes the faq. -- keywords: +patch nosy: +sreepriya Added file: http://bugs.python.org/file34352/doc1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20692

[issue18321] Multivolume support in tarfile module

2014-03-11 Thread Eduardo Robles Elvira
Eduardo Robles Elvira added the comment: I guess I got it wrong, it's not part of the POSIX standard, just part of the GNU tar documentation. About the getmembers and getnames not reflecting the entirety of the archive, it's an optimization I needed and I think ccan be quite handy. It's also

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

2014-03-11 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Here's a recipe I can use to reproduce the problem on my PC. Environment: * Windows 7 SP1 x64 * Python 3.4.0rc3 * cx_Freeze checkout from its current HEAD * repository: https://bitbucket.org/anthony_tuininga/cx_freeze * HEAD commit:

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Nick Coghlan
New submission from Nick Coghlan: Spawned from a core-mentorship thread about possibly outdated branch names in dev guide examples. These are a few places that use real branch names in examples, and need to be kept current to make things easier for new contributors:

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread R. David Murray
R. David Murray added the comment: I did not forget about set_executable...that method now works on unix *because* spawn is supported on unix now, so I don't see any need to document that separately. (It didn't previously have an 'availability windows' line, so I think its docs need some

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Not sure how I missed issue 20517, because I remember reading it. Must have been a late night session ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861

[issue17741] event-driven XML parser

2014-03-11 Thread R. David Murray
R. David Murray added the comment: I think the current status of whatsnew is OK for this, then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17741 ___

[issue17741] event-driven XML parser

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Someone should add programatic deprecation for the html argument, though, since people need to switch to keyword-based calls to XMLParser to prepare for that going away. -- ___ Python tracker

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20890 ___ ___ Python-bugs-list mailing

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Ned Deily
Ned Deily added the comment: - Along with checking for the latest version of pip, there should be an item to inspect the installed bundled version of pip to check for changes in the licenses of pip and its chain of vendored dependencies to ensure we do not inadvertently taint a Python

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-11 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20887 ___ ___ Python-bugs-list

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20890 ___ ___ Python-bugs-list

[issue18410] IDLE Improvements: Unit test for SearchDialog.py

2014-03-11 Thread Westley Martínez
Westley Martínez added the comment: I've submitted a patch. It's not complete. The global functions for the SearchDialog module don't yet have tests because I'm not sure of what these functions are used for. I'd like for anyone to point me in the right direction for implementing those

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6271cbcc762 by Peter Moody in branch 'default': Issue #19157: Include the broadcast address in the usuable hosts for IPv6 http://hg.python.org/cpython/rev/b6271cbcc762 -- nosy: +python-dev ___ Python

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread pmoody
Changes by pmoody pyt...@hda3.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19157 ___ ___ Python-bugs-list mailing

[issue20815] ipaddress unit tests PEP8

2014-03-11 Thread pmoody
pmoody added the comment: Nick, did you want me to apply this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20815 ___ ___ Python-bugs-list

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-11 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: New patch after first review. -- Added file: http://bugs.python.org/file34355/doc2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20692 ___

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: Many people will not realize that the interactive help is affected by inspect or pydoc; it would be courteous to mention this. (Viewing http://docs.python.org/dev/whatsnew/3.4.html#summary-release-highlights ) In the highlights (table of contents?) section,

[issue20826] Faster implementation to collapse consecutive ip-networks

2014-03-11 Thread pmoody
pmoody added the comment: Hey Exhuma, thanks for the patch. Can you give me an example list on which this shift reduce approach works much better? -- assignee: - pmoody ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20826

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: I do not think it is sufficient to mention the help change under Other Language Changes, because the people who know to look at that level of detail (let alone that particular location) are not the ones who will be confused. --

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: (If the installation has Internet access, it is of course possible to upgrade pip to a release more recent than the bundled pip by using the bundled pip command itself once it is installed.) -- (If the installation has Internet access, it is of course possible

[issue3849] FUD in documentation for urllib.urlopen()

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

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ae1707d427a by R David Murray in branch 'default': whatsnew: summary section tweaks. http://hg.python.org/cpython/rev/9ae1707d427a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-03-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- Removed message: http://bugs.python.org/msg213157 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19561 ___

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Add help mention to summary in 9ae1707d427a. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861 ___ ___

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2014-03-11 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: Added file: http://bugs.python.org/file34356/issue4849_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4849 ___

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Zachary Ware
Zachary Ware added the comment: It may warrant a mention that doctest now checks method_descriptors' (C methods) __doc__ for doctests. -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861

[issue17006] Warn users about hashing secrets?

2014-03-11 Thread priya
Changes by priya priyapappachan...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file34357/hashlib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17006 ___

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

2014-03-11 Thread Steve Dower
New submission from Steve Dower: In Python 3.4rc3, calling PyGILState_Ensure() from a thread that was not created by Python and without any calls to PyEval_InitThreads() will cause a fatal exit: Fatal Python error: take_gil: NULL tstate I believe this was added in

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

2014-03-11 Thread Steve Dower
Steve Dower added the comment: Should have linked to #19576 as well, which is the issue associated with that changeset. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20891 ___

[issue20892] Typo in howto/pyporting.rst

2014-03-11 Thread Auke Willem Oosterhoff
New submission from Auke Willem Oosterhoff: Somewere around the paragraph 'Projects to Consider'[1]: ...level library for suppoting Python 2 Obviously this should be: ...level library for supporting Python 2 [1]:http://docs.python.org/3.4/howto/pyporting.html#projects-to-consider

[issue20892] Typo in howto/pyporting.rst

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f149207d3cf by Benjamin Peterson in branch '3.3': fix typo (closes #20892) http://hg.python.org/cpython/rev/2f149207d3cf New changeset e47646fca428 by Benjamin Peterson in branch 'default': merge 3.3 (closes #20892)

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ec36351f684 by R David Murray in branch 'default': whatsnew: mention that upgrading PIP means it doesn't get unistalled. http://hg.python.org/cpython/rev/9ec36351f684 -- nosy: +python-dev ___ Python

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8520e0ff8e36 by R David Murray in branch 'default': whatsnew: doctest finds tests in extension modules (#3158) http://hg.python.org/cpython/rev/8520e0ff8e36 -- ___ Python tracker rep...@bugs.python.org

[issue3158] Doctest fails to find doctests in extension modules

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8520e0ff8e36 by R David Murray in branch 'default': whatsnew: doctest finds tests in extension modules (#3158) http://hg.python.org/cpython/rev/8520e0ff8e36 -- ___ Python tracker rep...@bugs.python.org

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2014-03-11 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5207 ___ ___ Python-bugs-list

[issue20825] containment test for ip_network in ip_network

2014-03-11 Thread pmoody
pmoody added the comment: subnet_of and supernet_of also avoid confusion with the IP?Interface classes (which incidentally can be used in 'a in b' containment tests). Michael, have you signed the contributor license agreement? I don't think I have anyway of seeing if you have or not and I

[issue20876] python -m test test_pathlib fails

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Hmm. I could have sworn that we had some tests that catered to NFS (either skips or other doges), but I can't find any searching for the string 'nfs', so perhaps not. Do we consider 'nfs' to be an 'unsupported platform'? That doesn't seem likely...

[issue20825] containment test for ip_network in ip_network

2014-03-11 Thread Michel Albert
Michel Albert added the comment: Yes. I signed it last Friday if I recall correctly. As I understood it, the way for you to tell if it's done, is that my username will be followed by an asterisk. But I'm not in a hurry. Once I get the confirmation, I can just ping you again via a comment

[issue20876] python -m test test_pathlib fails

2014-03-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: NFS should certainly be supported as far as the stdlib goes, but I'm not sure the whole test suite is guaranteed to succeed. Also, in this case, the behaviour is weird, e.g.: == ERROR:

[issue17006] Warn users about hashing secrets?

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Priya: I see that there is already a 'warning' box at the top of the hashib page. If Christian concurs, I suggest we add your note to that warning, with the link to the security considerations section as you have it, and removing the reference to the 'see

[issue20876] python -m test test_pathlib fails

2014-03-11 Thread R. David Murray
R. David Murray added the comment: My guess about that is that it is an nfs work file in the directory, and nfs didn't delete it by the time the final testing-cleanup rmdir was happening. But I am *purely* guessing, since I haven't used NFS in probably 20 years. So, essentially, I'm

[issue20825] containment test for ip_network in ip_network

2014-03-11 Thread pmoody
pmoody added the comment: Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20825 ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2014-03-11 Thread Westley Martínez
Changes by Westley Martínez aniko...@gmail.com: -- nosy: +westley.martinez ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1617161 ___ ___

[issue20883] Windows 'for current user' installation - 32/64-bit registrations overwrite each other

2014-03-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: I haven't tested the per-user installations in the last five years, so I don't actually know what the problems are these days. One key issue is the elevated privileges topic (UAC). Correct me if I'm wrong: installing per-user still requires to run the

[issue18039] dbm.open(..., flag=n) does not work and does not give a warning

2014-03-11 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: -- versions: +Python 3.5 -Python 3.3 Added file: http://bugs.python.org/file34359/issue18039.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18039

[issue20815] ipaddress unit tests PEP8

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I like the small readability tweaks in the r3 patch, so feel free to apply that one. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20815 ___

[issue19628] maxlevels -1 on compileall for unlimited recursion

2014-03-11 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: -- versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file34360/issue19628.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19628

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Peter, just confirming: you consider this a bug fix rather than a new feature? I ask as default is currently still 3.4.1, which I find slightly confusing myself (it will switch to 3.5 after the 3.4.0 final release this weekend) --

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-03-11 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file34361/issue17442.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17442 ___

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread pmoody
pmoody added the comment: Yes, I think omitting the broadcast address in the usable hosts was a bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19157 ___

[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-11 Thread Anastasia.Filatova
Anastasia.Filatova added the comment: Hello, I've made patch which address this issue. Could you please review it? -- keywords: +patch nosy: +Anastasia.Filatova Added file: http://bugs.python.org/file34362/Issue19060.patch ___ Python tracker

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Cool, thanks for clarifying. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19157 ___ ___ Python-bugs-list

[issue20883] Windows 'for current user' installation - 32/64-bit registrations overwrite each other

2014-03-11 Thread Steve Dower
Steve Dower added the comment: UAC is still required for the installer - unfortunately MSI just doesn't support having a single package that can do both elevated and unelevated installs. Still, you can install once per-user and then copy the PythonXY folder onto another machine, which does

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc74393062f7 by R David Murray in branch '2.7': #20030: doc that TestLoader.discover returns a TestSuite. http://hg.python.org/cpython/rev/cc74393062f7 New changeset 71df53af61ec by R David Murray in branch '3.3': #20030: doc that

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Lita. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030 ___

[issue4322] function with modified __name__ uses original name when there's an arg error

2014-03-11 Thread R. David Murray
R. David Murray added the comment: The 'Ex' generally means this is a public API but we needed to change it, so we made a new function with an extended API. Which means yours would be PyEval_EvalCodeExEx, I suppose :) Seriously, though, I don't know what we actually do in a case like this.

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: wave can now write output to unssekable files. -- wave can now write output to unseekable files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861 ___

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: Changes in the Python API: If you use pyvenv in a script and desire that pip not be installed, you must add --wihtout-pip to your command invocation. -- If you use pyvenv in a script and desire that pip not be installed, you must add --without-pip to your command

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 996652f3c136 by R David Murray in branch 'default': whatsnew: spelling errors. http://hg.python.org/cpython/rev/996652f3c136 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19861

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-11 Thread Kamilla
Kamilla added the comment: Applying changes as suggested by R. David Murray in the Core-mentorship e-mail list. Instead of doing the if tests I've replaced the existing if isinstance(expected_regex, (bytes, str)): by if expected_regex is not None: And also made a change in one of

[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- Removed message: http://bugs.python.org/msg213184 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19060 ___

[issue20893] ctypes crash during PyFinalize when librt used

2014-03-11 Thread STINNER Victor
STINNER Victor added the comment: MessageQueueAttributes structure is incomplete, you forgot a padding of 4 long. It's not a bug in ctypes, but a bug in your application. -- nosy: +haypo resolution: - invalid status: open - closed ___ Python

[issue20893] ctypes crash during PyFinalize when librt used

2014-03-11 Thread Greg Harris
New submission from Greg Harris: When interacting with librt via a ctypes.Structure object I can reliably cause the python interpreter to crash during Py_Finalize *after* all of my code has executed. It appears to only happen on structures that have been passed to the mq_getattributes call

[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Anastasia, thanks for the patch, but the change being suggested here is just the adding of the note that it does not replace os.exec or os.fork. The listing of what things it does replace is already correct (it differs between python2 and python3, which is

[issue18039] dbm.open(..., flag=n) does not work and does not give a warning

2014-03-11 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18039 ___ ___

[issue20844] coding bug remains in 3.3.5rc2

2014-03-11 Thread Musashi Tamura
Musashi Tamura added the comment: Thanks Mark. Perhaps, the problem is text-mode handling. When using Windows's text-mode stream, ftell() may return -1 even if no error occured. -- ___ Python tracker rep...@bugs.python.org

[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Anastasia, thanks for the patch, but the change being suggested here is adding the note about it not replace os.exec or os.fork. The listing of what things it does replace is already correct (it differs between python2 and python3, which is why Anatoly's

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: ClassBrowser has multiple problems. I agree with the goal of given signatures. But the patch has these problems. 1. Idle is getting out of the business of formatting signatures. If we use inspect, '(...)' should simply be replaced (in 3.3+) by

[issue10415] readline.insert_text documentation incomplete

2014-03-11 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: I could get readline.insert_text() to work, ish, without calling startup_hook. The script is attached to this message. Apparently, there is some need to call readline.redisplay() to update what's on screen. However, I can't really understand what's

[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with David about not adding the note. Simplify This module intends to replace several other, older modules and functions, such as: to This module replaces several older modules and functions:. The 2.7 list has 'popen*', which would include 'popen',

[issue20844] coding bug remains in 3.3.5rc2

2014-03-11 Thread Musashi Tamura
Musashi Tamura added the comment: When opening LF-newline file, ftell() may return zero when the position is not at the beginning of the file. Maybe LF-newline file should open in binary-mode. http://support.microsoft.com/kb/68337 -- ___ Python

[issue20882] Link to OpenHatch “getting started” page from devguide

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ffbbbac0a4d by Éric Araujo in branch 'default': Link to OpenHatch setup guide (#20882). http://hg.python.org/devguide/rev/3ffbbbac0a4d -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue20882] Link to OpenHatch “getting started” page from devguide

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Sorry for the delay, I was sick today. The thing I changed: “setup guide” is now the link text, as I think it makes more sense that “OpenHatch” (and if one day we work more with OpenHatch, the word will be free to become another link). Thanks for the patch!

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

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Left some comments for Nick on Rietveld (the ever-useful CC name selection did not let me find you, so you may have not gotten a mail). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19407

[issue20886] Disabling logging to ~/.python_history is not simple enough

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

[issue16104] Use multiprocessing in compileall script

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Patch looks good. Some comments on Rietveld. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16104 ___

[issue16104] Use multiprocessing in compileall script

2014-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - patch review type: - enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16104 ___