[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-10 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 _

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

2014-03-10 Thread Marcus Smith
Marcus Smith added the comment: about the hhgtp link, logged here: https://github.com/python/pythondotorg/issues/268 (and already fixed) also, pyvenv is more prominent now in PUG as of latest changes (see https://github.com/pypa/python-packaging-user-guide/pull/35) -- __

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

2014-03-10 Thread Alexandre JABORSKA
New submission from Alexandre JABORSKA: While the asyncio.Condition.acquire(), release() an locked() methods work as expected (on the underlying Lock), they are not mentioned in the documentation. -- assignee: docs@python components: Documentation messages: 213117 nosy: ajaborsk, docs@p

[issue18456] Documentation for PyDict_Update is incorrect

2014-03-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nice catch. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2014-03-10 Thread R. David Murray
R. David Murray added the comment: Yes it is too late. The only reason any code changes should be made to the final RC is if we would otherwise have a brown bag release. -- nosy: +r.david.murray ___ Python tracker

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

2014-03-10 Thread Arfrever Frehtes Taifersar Arahesis
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" (which will forbid both reading and > writing the file). It surely does not work: $ rm -f .python_history $ to

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

2014-03-10 Thread STINNER Victor
New submission from STINNER Victor: Is it too late in Python 3.4 release process to add a new method to classes of the tracemalloc module? Here is a patch which adds unit tests and uses the new method in the documentation. Example before: Top 10 lines #1: collections/__init__.py:368:

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Good catch! I fixed that and loaded it in the attached patch! -- Added file: http://bugs.python.org/file34348/unittest_doc.patch ___ Python tracker __

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

2014-03-10 Thread Lina Clark
Lina Clark added the comment: I uploaded a patch to reflect reading and writing in the python 2.7 documentation for 'updating'. -- keywords: +patch nosy: +linaclark Added file: http://bugs.python.org/file34347/function_doc.patch ___ Python tracker <

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

2014-03-10 Thread Kamilla
Kamilla added the comment: I've implemented a piece of code to check if the expected_regex is a string or regex object. If it's not it raises a TypeError exception. The check is inside the __init__ method of the _AssertRaisesBaseContext class so it will always check the expected_regex in all m

[issue11380] Improve reporting of broken stdout pipe during interpreter shutdown

2014-03-10 Thread mike bayer
mike bayer added the comment: my users are reporting one of these issues, and while I can easily catch IOError on Python 2, I can't catch anything on Python 3, and pointing SIGPIPE to SIG_DFL isn't an option because this is for Alembic migrations and the command needs to complete its work. Wh

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

2014-03-10 Thread R. David Murray
R. David Murray added the comment: 'returns' should be 'return', but otherwise it looks good to me. -- ___ Python tracker ___ ___ Pyth

[issue13477] tarfile module should have a command line

2014-03-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: lars.gustaebel -> resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

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

2014-03-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: What sure not the "panic mode" is about, but in any case you can simply use e.g. "chmod 111 .python_history" (which will forbid both reading and writing the file). -- nosy: +pitrou ___ Python tracker

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Hello! I have created a patch for the new documentation. I would love it if I could get feedback. Thanks! -- keywords: +patch Added file: http://bugs.python.org/file34345/unittest_doc.patch ___ Python tracker

[issue1492704] distinct error type if shutil.copyfile() fails because of src and dst are the same file

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 276227a93f6f by R David Murray in branch 'default': whatsnew: shutil copyfile SameFileError (#1492704) http://hg.python.org/cpython/rev/276227a93f6f -- ___ Python tracker

[issue16110] Provide logging.config.configParserConfig

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 113341605247 by R David Murray in branch 'default': whatsnew: logging.fileConfig accepts ConfigParser instances. (#16110) http://hg.python.org/cpython/rev/113341605247 -- ___ Python tracker

[issue17741] event-driven XML parser

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31e6adf5bfba by R David Murray in branch 'default': whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*. http://hg.python.org/cpython/rev/31e6adf5bfba -- ___ Python tracker

[issue16464] urllib.request: opener not resetting content-length

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6d862886e5c by R David Murray in branch 'default': whatsnew: urllib Request objects are now reusable. http://hg.python.org/cpython/rev/e6d862886e5c -- ___ Python tracker

[issue16333] Trailing whitespace in json dump when using indent

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb43e8e05a7c by R David Murray in branch 'default': whatsnew: json dump-with-indent whitespace change (#16333). http://hg.python.org/cpython/rev/bb43e8e05a7c -- ___ Python tracker

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1cc413874631 by R David Murray in branch 'default': whatsnew: total_ordering supports NotImplemented (#10042) http://hg.python.org/cpython/rev/1cc413874631 -- ___ Python tracker

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

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b941a320601a by R David Murray in branch 'default': whatsnew: multiprocessing start methods and context (#8713 and #18999) http://hg.python.org/cpython/rev/b941a320601a -- ___ Python tracker

[issue18673] Add O_TMPFILE to os module

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0525f7268067 by R David Murray in branch 'default': whatsnew: os.open O_TMPFILE (#18673). http://hg.python.org/cpython/rev/0525f7268067 -- ___ Python tracker _

[issue18999] Support different contexts in multiprocessing

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b941a320601a by R David Murray in branch 'default': whatsnew: multiprocessing start methods and context (#8713 and #18999) http://hg.python.org/cpython/rev/b941a320601a -- ___ Python tracker

[issue15452] Improve the security model for logging listener()

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset fe1804387687 by R David Murray in branch 'default': whatsnew: logging.config.listen *verify* (#15452). http://hg.python.org/cpython/rev/fe1804387687 -- ___ Python tracker

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b1d5caf63ca by R David Murray in branch 'default': whatsnew: filecmp.DEFAULT_IGNORES (#15442) http://hg.python.org/cpython/rev/2b1d5caf63ca -- ___ Python tracker

[issue17272] request.full_url: unexpected results on assignment

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6d862886e5c by R David Murray in branch 'default': whatsnew: urllib Request objects are now reusable. http://hg.python.org/cpython/rev/e6d862886e5c -- ___ Python tracker

[issue17485] Deleting Request data does not update Content-length header.

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6d862886e5c by R David Murray in branch 'default': whatsnew: urllib Request objects are now reusable. http://hg.python.org/cpython/rev/e6d862886e5c -- ___ Python tracker

[issue17741] event-driven XML parser

2014-03-10 Thread R. David Murray
R. David Murray added the comment: As far as I can tell from scanning this ticket, there was no agreement on deprecating the parser argument to iterparse, but it has been documented as deprecated with no documentation about what to replace it with, nor any DeprecationWarning in the code that I

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Changes by Claudiu.Popa : Added file: http://bugs.python.org/file34344/issue20197_v2.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2014-03-10 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Thank you!! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: I'll try to set up and post a reproducible use case tomorrow. Then you can decide. It could turn out that the use case we ran into has an easy workaround. -- ___ Python tracker

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

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks, I will change one detail and push this. -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2014-03-10 Thread Nick Coghlan
Nick Coghlan added the comment: It's at least a deferred blocker, and that's my instinct as to the right setting (especially since we're assuming that 3.4.1 will happen a month or so after the PyCon US sprints). I'll dig into a bit more to see if I can provoke the misbehaviour (e.g. we may be

[issue20483] Missing network resource checks in test_urllib2 & test_smtplib

2014-03-10 Thread Nadja Deininger
Nadja Deininger added the comment: I tried to reproduce this by disabling my network connection and running these tests, but they worked for me. -- nosy: +ndeininger ___ Python tracker

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-10 Thread Brian Kearns
Changes by Brian Kearns : -- nosy: +bdkearns ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-10 Thread mattip
New submission from mattip: Files must be explicitly closed on pypy, and switch to use test_support.rmtree which tries harder on Windows. only test_zipfile.py is patched. -- components: Tests files: zipfile_patch messages: 213086 nosy: mattip priority: normal severity: normal status: o

[issue20885] Little Endian PowerPC64 Linux

2014-03-10 Thread Ned Deily
Changes by Ned Deily : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2014-03-10 Thread Ned Deily
Ned Deily added the comment: "I hope this can be resolved before the 3.4 final release or it will not be possible to use cxFreeze with Python 3.4 without additional workarounds in cxFreeze." It's too late for this to go into 3.4.0 unless someone can make a really good case to the release mana

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

2014-03-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I would suggest to support PYTHONHISTFILE variable (similar to HISTFILE and LESSHISTFILE) and to not replace file pointed by this variable. This shows that file is being currently replaced: # cp /dev/null .python_history # LC_ALL="C" stat -

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

2014-03-10 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: docs@python -> eric.araujo stage: needs patch -> commit review ___ Python tracker ___ ___ Python

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

2014-03-10 Thread R. David Murray
R. David Murray added the comment: It should say that it finds all the test modules and returns a TestSuite containing them. -- nosy: +r.david.murray ___ Python tracker ___

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

2014-03-10 Thread R. David Murray
R. David Murray added the comment: readline (all uses of readline, not just by python) can be controlled via the '.inputrc' file, which is documented in the readline man page, which should be available if readline is available :) Perhaps this should be mentioned in the paragraph(s) where we t

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Sure! I've changed it so that it is in the setup.rst. Does that work? -- Added file: http://bugs.python.org/file34342/openhatch_setup.patch ___ Python tracker ___

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Hello! I would like to tackle this. Does that mean the documentation needs to change such that it states that the TestSuite object is returned? It looks you can iterate over the unittest.suite.TestSuite object, as I am getting something like this: ]>, ]>, ]>, ]>,

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

2014-03-10 Thread Sworddragon
New submission from Sworddragon: I have noticed that since Python 3.4 the interactive mode does log all commands to ~/.python_history. This caused me to switch into "normal user mode" and look for a solution. With Google I have found the related entry in the documentation: On systems that supp

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

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: I think it would make sense to have the link at the top of the setup.rst file instead, so that people being directly linked to that page would see the link too. -- ___ Python tracker

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

2014-03-10 Thread Steve Dower
Steve Dower added the comment: I would be in favour of having separate keys for 32-bit and 64-bit installs (in addition to the current one, if dropping it completely is not an option). We use the registry keys in PTVS (http://pytools.codeplex.com/) to detect installed interpreters, so the coll

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Changes by Claudiu.Popa : Added file: http://bugs.python.org/file34341/issue20197_v1.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: I added a link to the OpenHatch's "Contributing to Python" page right next to the "Getting Started" link. I thought about adding it to Additional Resources, but someone on the mailing list suggested it go somewhere on the top. I also wanted to place it where it woul

[issue20197] Support WebP image format detection in imghdr module

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

[issue20879] base64 module of Python 3.4 uses 920 kB of memory

2014-03-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Victor's approach looks fine to me. -- type: performance -> resource usage versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker ___

[issue16104] Use multiprocessing in compileall script

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

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Claudiu.Popa added the comment: Thanks for your patch, Fabrice! I've uploaded a change to your patch, by adding a .webp test file and adding the .webp format in imghdr's test suite. -- Added file: http://bugs.python.org/file34338/issue20197.patch __

[issue20135] FAQ need list mutation answers

2014-03-10 Thread R. David Murray
R. David Murray added the comment: I'm in favor of moving the FAQ answer Ezio identified to the Programming section, myself, but I'd like concurrence from at least one other committer before we do it. -- ___ Python tracker

[issue19281] add __objclass__ to the docs

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: I think Nick was referring to this function: http://docs.python.org/3.4/library/inspect#inspect.ismethod -- versions: +Python 2.7, Python 3.3 ___ Python tracker _

[issue19281] add __objclass__ to the docs

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch. Could you make sure the text wraps at 80 characters? -- ___ Python tracker ___ _

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

2014-03-10 Thread Jessica McKellar
Changes by Jessica McKellar : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: > Nor was Martin suggesting it as far as I can tell I'm sorry if I came across too strongly. I can assure you I meant no disrespect nor have I at any point felt affronted by anything anyone else said in this thread/issue. :-) -- __

[issue19385] dbm.dumb should be consistent when the database is closed

2014-03-10 Thread Claudiu.Popa
Claudiu.Popa added the comment: Updated the patch to catch dbm.dumb.error in tests (reverting a change added in c2f1bb56760d). -- Added file: http://bugs.python.org/file34337/issue19385.patch ___ Python tracker __

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: And as for simultaneous 64/32-bit Python installations on a single 64-bit machine - as Paul said, whichever way Microsoft implemented its automatic registry key redirection, it is up to Python to decide how its installer should behave. So the question is -

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

2014-03-10 Thread Lita Cho
Lita Cho added the comment: I will go ahead and try to add the link to the page from the devguide. Thanks! -- nosy: +Lita.Cho ___ Python tracker ___ _

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

2014-03-10 Thread Paul Moore
Paul Moore added the comment: Agreed, that is not necessary. Nor was Martin suggesting it as far as I can tell, he was simply saying that it would be less disruptive in the broader scheme of things than messing with the Python registry scheme to work around the limitation that 32 and 64 bit Py

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: I'm against removing local user installation support because that is the only way Python can be installed without write access to shared system locations like the Windows system folder or the HKEY_LOCAL_MACHINE registry hive. -- ___

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

2014-03-10 Thread Paul Moore
Paul Moore added the comment: OK, fair enough (I agree that the Windows behaviour here is the root cause of the problem). However, it *would* have been possible for the registry keys to be HKEY_LOCAL_MACHINE\Software\Python\PythonCore\3.4-32 and HKEY_LOCAL_MACHINE\Software\Python\PythonCore\3.

[issue20885] Little Endian PowerPC64 Linux

2014-03-10 Thread David Edelsohn
New submission from David Edelsohn: PowerLinux is shifting to Little Endian with a new ABI (ELFv2). Upstream libffi includes support for the new ABI. What is the recommended method to merge support into CPython? Will CPython update the base libffi or _ctypes/libffi.diff should be updated? ---

[issue20090] slight ambiguity in README.txt instructions for building docs

2014-03-10 Thread Georg Brandl
Georg Brandl added the comment: I think this should be sufficient. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

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

[issue20090] slight ambiguity in README.txt instructions for building docs

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset d975f50de5aa by Georg Brandl in branch '3.3': Closes #20090: update Doc/README and the error message in sphinx-build.py to make http://hg.python.org/cpython/rev/d975f50de5aa New changeset 43820a4fcaba by Georg Brandl in branch 'default': Closes #20

[issue15605] Explain sphinx documentation building in devguide

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: Updated text is clear and comprehensive, thanks! Another edit could be done after the packaging docs is revamped to add links to the pyvenv and pip sections of the doc, to avoid users reading “install Sphinx and its deps” and not knowing how to do that.

[issue16508] include the "object" type in the lists of documented types

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: I think there was another issue discussing a separation between object.__str__ and someobject.__bytes__, to make it clear which are existing methods of the object class and which are methods that one may implement in their classes. -- ___

[issue20090] slight ambiguity in README.txt instructions for building docs

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ae254c11921 by Georg Brandl in branch '2.7': Closes #20090: update Doc/README and the error message in sphinx-build.py to make http://hg.python.org/cpython/rev/0ae254c11921 -- nosy: +python-dev resolution: -> fixed stage: -> committed/re

[issue20135] FAQ need list mutation answers

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: Resources: http://nedbatchelder.com/text/names.html http://python.net/~mwh/hacks/objectthink.html -- nosy: +eric.araujo ___ Python tracker _

[issue15605] Explain sphinx documentation building in devguide

2014-03-10 Thread Georg Brandl
Georg Brandl added the comment: Thanks for your patience. I believe I have addressed all issues raised. -- nosy: +georg.brandl ___ Python tracker ___

[issue15605] Explain sphinx documentation building in devguide

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset f32569ddc2db by Georg Brandl in branch 'default': Closes #15605: update and refurbish doc building section of the devguide. http://hg.python.org/devguide/rev/f32569ddc2db -- nosy: +python-dev resolution: -> fixed stage: -> committed/reject

[issue15605] Explain sphinx documentation building in devguide

2014-03-10 Thread Éric Araujo
Éric Araujo added the comment: Note that 3.4 finally removes getting Sphinx from a subversion repository, so the installation instructions will need a version-specific part for that. -- ___ Python tracker

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

2014-03-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug in Python, but either intentional, or a bug in Windows. Processing of Wow64Node is done by Windows, see http://msdn.microsoft.com/en-us/library/windows/desktop/aa384253(v=vs.85).aspx As you can see, the SOFTWARE key is redirected in HKEY_LO

[issue20135] FAQ need list mutation answers

2014-03-10 Thread M. Volz
M. Volz added the comment: I've written and attached a patch for the list mutation question. I took a little bit of a different tack on this and addressed a more general question whilst still including list mutation as an example. I know the language can get a little fussy on these sorts of th

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

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

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: David: Nope, the issue does not exist with 3.3. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2014-03-10 Thread Don Dwiggins
Don Dwiggins added the comment: Varun, thanks for the patch; sounds like the right way to go, in that it should work whether the usage is single-connection or multiple-connection. Ideally, the documentation would be expanded a bit to clarify just which attributes get reset on close(). --

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

2014-03-10 Thread Brett Cannon
Brett Cannon added the comment: Not having __file__ defined is an odd issue as importlib.__init__ always comes from a file in CPython. I have no issue making the setting of the attribute conditional, though. -- ___ Python tracker

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

2014-03-10 Thread R. David Murray
R. David Murray added the comment: So you aren't running into problems with issue 20778? (That issue exists in 3.3 as well). -- nosy: +brett.cannon, eric.snow, r.david.murray ___ Python tracker __

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

2014-03-10 Thread Jurko Gospodnetić
New submission from Jurko Gospodnetić: Python 3.4 introduced a change to Lib/importlib/__init__.py that added the following code to it: > else: > # importlib._bootstrap is the built-in import, ensure we don't create > # a second copy of the module. > _bootstrap.__name__ = 'importlib

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

2014-03-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

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

2014-03-10 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: A possible solution would be to update installers and runners to use HKEY_CURRENT_USER\Software\Wow6432Node registry entries for 32-bit 'for current user only' installations on a 64-bit Windows OS. To preserve backward compatibility, runners could fall back

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34334/test_kqueue.py.diff ___ Python tracker

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

2014-03-10 Thread Jurko Gospodnetić
New submission from Jurko Gospodnetić: When running the Python Windows installer 'for all users', the 32-bit installation and the 64-bit installation each gets a separate registration in the Windows registry. E.g. under: HKEY_LOCAL_MACHINE\Software\Python\PythonCore\3.4 and: HKEY_LOCAL_M

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34335/test_kqueue.py.diff ___ Python tracker

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34332/test_kqueue.py.diff ___ Python tracker

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34333/test_kqueue.py.diff ___ Python tracker

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34331/test_kqueue.py.diff ___ Python tracker

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- keywords: +patch Added file: http://bugs.python.org/file34330/test_kqueue.py.diff ___ Python

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

2014-03-10 Thread Éric Araujo
New submission from Éric Araujo: The OpenHatch project created this page for would-be GSoC/OPW participants: https://openhatch.org/wiki/Contributing_to_Python (it’s also useful for anyone wanting to contribute). It contains platform-specific advice to install an IRC client and navigate using

[issue19281] add __objclass__ to the docs

2014-03-10 Thread priya
priya added the comment: I added __objclass__ to the datamodel section. Patch is submitted for the same. Can you clarify about the link to be provided from this section? I couldn't find the classification function in Documentation. -- nosy: +priyapappachan

[issue20881] Can't install pip-1.5.4, ez_setup.py

2014-03-10 Thread R. David Murray
R. David Murray added the comment: 3.5 doesn't exist yet. Neither pip nor ez_setup are part of the python standard library. 3.4 *does* ship a version of pip for ease of initial installation, but since you are saying you are failing to install pip itself, it doesn't sound like you are testing

[issue20265] Bring Doc/using/windows up to date

2014-03-10 Thread Zachary Ware
Zachary Ware added the comment: You can rewrite about as much you want. The biggest restriction on that is trying to keep existing links intact, which means either avoiding renaming or removing sections, or being sure to keep a reference to the old name. I have reservations about suggesting t

[issue20881] Can't install pip-1.5.4, ez_setup.py

2014-03-10 Thread Adolph Atkins
New submission from Adolph Atkins: In Windows 7 64 bits,I can't install pip-1.5.4, nor ez_setup.py. -- messages: 213034 nosy: Adolph.Atkins priority: normal severity: normal status: open title: Can't install pip-1.5.4, ez_setup.py versions: Python 3.5 __

[issue20880] Windows installation problem with 3.3.5

2014-03-10 Thread Mark Lawrence
Mark Lawrence added the comment: I did this. Install 3.4.0.rc3 and check that the py[w].exe files were in c:\windows. Uninstall 3.3.5, the py[w].exe files had been deleted. Reinstall 3.3.5, py[w].exe were in c:\windows but I noticed that they were different sizes from the 3.4 versions. The

  1   2   >