[issue809163] Can't add files with spaces

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Previous comment: “If there is a way to make rpm read one line at a time, we should use it.” If there isn’t such an option, and if sed is guaranteed to be installed on rpm-based systems, we can try the sed script. --

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me; left some comments on Rietveld. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20135] FAQ need list mutation answers

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: I agree; if someone goes to the docs, “Programming FAQ” looks more enticing than “Design and History”. -- ___ Python tracker ___ _

[issue19627] python open built-in function - "updating" is not defined

2014-03-11 Thread Éric Araujo
Éric Araujo added the comment: Edited slightly and committed, thank you! -- assignee: docs@python -> eric.araujo resolution: -> fixed stage: needs patch -> committed/rejected ___ Python tracker ___

[issue19627] python open built-in function - "updating" is not defined

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f823c1559bd by Éric Araujo in branch '2.7': Define what “updating” means in docs for open (#19627). http://hg.python.org/cpython/rev/1f823c1559bd -- nosy: +python-dev ___ Python tracker

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

2014-03-11 Thread Westley Martínez
Westley Martínez added the comment: I updated the tests to be in sync, but the implementation of the fix is not so trivial. The conversion from cmp() to rich comparison is the primary culprit, so it will take time for me to get familiar enough with the C source to update the fix. I couldn't

[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 ___ ___ Python-b

[issue16104] Use multiprocessing in compileall script

2014-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> patch review type: -> enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___

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

2014-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[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

[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! ---

[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

[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 trac

[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',

[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 hap

[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 str(inspect.sig

[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

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

2014-03-11 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 comm

[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 ___ __

[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 the

[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 track

[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 lis

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

2014-03-11 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg213184 ___ Python tracker ___ ___ Python-bugs-list mailing

[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 w

[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 in

[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

[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.

[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 ___ _

[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 TestLoader.discove

[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 not

[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 ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 pmoody
pmoody added the comment: Yes, I think omitting the broadcast address in the usable hosts was a bug. -- ___ Python tracker ___ ___ Pyt

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

2014-03-11 Thread Claudiu.Popa
Changes by Claudiu.Popa : Added file: http://bugs.python.org/file34361/issue17442.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[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) --

[issue19628] maxlevels -1 on compileall for unlimited recursion

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

[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 ___

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

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

[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 install

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

2014-03-11 Thread Westley Martínez
Changes by Westley Martínez : -- nosy: +westley.martinez ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue20825] containment test for "ip_network in ip_network"

2014-03-11 Thread pmoody
pmoody added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[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 suspectin

[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 al

[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: test_gl

[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 here

[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 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 thin

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

2014-03-11 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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

[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

[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) http://hg.python.org/cpython/rev

[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 trac

[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-conside

[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 ___ ___

[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 http://hg.python.org/cpython

[issue17006] Warn users about hashing secrets?

2014-03-11 Thread priya
Changes by priya : -- keywords: +patch Added file: http://bugs.python.org/file34357/hashlib.patch ___ Python tracker ___ ___ Python-bu

[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 ___

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

2014-03-11 Thread Jessica McKellar
Changes by Jessica McKellar : Added file: http://bugs.python.org/file34356/issue4849_2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[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 ___ ___ Python-bugs-list mailing

[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 : -- Removed message: http://bugs.python.org/msg213157 ___ Python tracker ___ ___ Python-bugs-list mailing

[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

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

2014-03-11 Thread Xavier Combelle
Changes by Xavier Combelle : -- nosy: +xcombelle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 possibl

[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. -- _

[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 __

[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, subs

[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 ___ ___

[issue20815] ipaddress unit tests PEP8

2014-03-11 Thread pmoody
pmoody added the comment: Nick, did you want me to apply this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[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 tra

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

2014-03-11 Thread pmoody
Changes by pmoody : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[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 tests

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-11 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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 release.

[issue20890] Miscellaneous PEP 101 additions

2014-03-11 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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

[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 ___ ___ Python-b

[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 ___ __

[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 impr

[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: http://docs.python.org/dev

[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: 52b63b329684

[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 c

[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

[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 tra

[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 tolerant

[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 Pytho

[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 "co

[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 acc

[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 spec

[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 http

[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

[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

[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 ___ ___ Python-bugs-list mail

[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 so

[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 import

[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 .pytho

[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

[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

[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].linen

  1   2   >