[issue5305] imaplib should support international mailbox names
Jesús Cea Avión added the comment: Or a new encoder/decoder in codecs module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5305 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21093] ctypes test_macholib fails if libz is not installed in /usr/lib
Roundup Robot added the comment: New changeset e30142fde075 by Ned Deily in branch '2.7': Issue #21093: Prevent failures of ctypes test_macholib on OS X if a http://hg.python.org/cpython/rev/e30142fde075 New changeset 831bd1a1cf6c by Ned Deily in branch '3.4': Issue #21093: Prevent failures of ctypes test_macholib on OS X if a http://hg.python.org/cpython/rev/831bd1a1cf6c New changeset 33c4c01404cd by Ned Deily in branch 'default': Issue #21093: merge from 3.4 http://hg.python.org/cpython/rev/33c4c01404cd -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21093 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21093] ctypes test_macholib fails if libz is not installed in /usr/lib
Ned Deily added the comment: test_macholib has been changed to no longer fail if a local copy of libz is encountered on the dyld search path ($HOME/lib or /usr/local/lib). Applied for release in 3.5.0, 3.4.1, and 2.7.7. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21093 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21029] IDLE mis-coloring print
Terry J. Reedy added the comment: start with no indent: orange add any indent: turns purple delete indent: back to orange same in edit window change does not happen with other keywords (or 3.x) The underlying cause is that 'print' is both in keyword.kwlist and in module __builtin__ (for use when the print_function future import suppresses recognition of print as keyword). Hence it is in both the partial regexes that get concatenated together at the top of ColorDelegator.py and used with .match on lines 201 and 232. The proximal cause is that .match in recolorize_main, 201, 232 gives different answers without or with a leading space. import keyword import __builtin__ import re def any(name, alternates): Return a named group pattern matching list of alternates. return (?P%s % name + |.join(alternates) + ) kw = r\b + any(KEYWORD, keyword.kwlist) + r\b builtinlist = [str(name) for name in dir(__builtin__)] builtin = r([^.'\\\#]\b|^) + any(BUILTIN, builtinlist) + r\b prog = re.compile(kw + | + builtin , re.S) print(prog.match('print').groupdict().items()) print(prog.match(' print').groupdict().items()) [('BUILTIN', None), ('KEYWORD', 'print')] [('BUILTIN', 'print'), ('KEYWORD', None)] The prefix [^.'\\\#] added to builtin but not kw matches a space. Removing 'print' from builtinlist prevents it from matching as a builtin. I think this is the right thing to do since Idle cannot know how 'print' will be interpreted, so should use the keyword default. builtinlist.remove('print') I am not going to write a test for this. -- assignee: - terry.reedy keywords: +patch nosy: +terry.reedy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21029 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21059] idle_test.test_warning failure
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21059 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21066] The separate download version for the documentation doesn't work
Terry J. Reedy added the comment: When I open it on Win7 from the start menu ('Python Manuals'), I see a page starting with Welcome! This is the documentation for Python 2.7.6, last updated Nov 10, 2013. . Did you do something differnt? Can you access pages from the contents? -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21066 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21077] Turtle Circle Speed 0
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21077 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20942] _frozen_importlib should not have a __file__ attribute
Boštjan Mejak added the comment: Haven't we forget something in the patch for the docs? + .. versionchanged:: 3.5 + The ``__file__`` attribute is no longer set on the module. Where's 3.4 mentioned? Should we add the mention? Like... + .. versionchanged:: 3.4 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20942 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18823] Idle: use pipes instead of sockets to talk with user subprocess
Terry J. Reedy added the comment: Pydev, Re: Status of PEP 3145 - Asynchronous I/O for subprocess.popen; Antoine Pitrou: Why don't you use multiprocessing or concurrent.futures? They have everything you need for continuous conversation between processes. -- stage: - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18823 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21066] The separate download version for the documentation doesn't work
Cristian Baboi added the comment: Yes. I downloaded the separate chm file and double clicked on the file. There is no entry on the start menu. The file included in the python installer is OK. On 29 martie 2014 09:38:50 EET, Terry J. Reedy rep...@bugs.python.org wrote: Terry J. Reedy added the comment: When I open it on Win7 from the start menu ('Python Manuals'), I see a page starting with Welcome! This is the documentation for Python 2.7.6, last updated Nov 10, 2013. . Did you do something differnt? Can you access pages from the contents? -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21066 ___ -- title: The separate download version for the documentation doesn't work - The separate download version for the documentation doesn't work ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21066 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21066] The separate download version for the documentation doesn't work
Martin v. Löwis added the comment: Can you please provide a screenshot? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21066 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19983] When interrupted during startup, Python should not call abort() but exit()
Jurko Gospodnetić added the comment: Anyone have an eye on this item? What are the chances of the suggested patch being applied for Python 3.5? Or the issue resolved in some other way? Anything I can do to help? P.S. I'm not sure exactly how the regular development protocol goes around here so, just for the record, please know that no offense in intended with this ping. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19983 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19983] When interrupted during startup, Python should not call abort() but exit()
Jurko Gospodnetić added the comment: err... by Python 3.5 I meant Python 3.4.1 as well :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19983 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21092] json serializer implicitly stringifies non-string keys
Berker Peksag added the comment: This implicit stringification of non-string dictionary keys does not currently appear to be documented. I think this is part of the JSON spec. See http://json.org/object.gif for example. Also, this is already documented in the json.dumps() documentation: Keys in key/value pairs of JSON are always of the type str. When a dictionary is converted into JSON, all the keys of the dictionary are coerced to strings. http://docs.python.org/3.4/library/json.html#json.dumps -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21092 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21092] json serializer implicitly stringifies non-string keys
Changes by Brett Cannon br...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21092 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21086] Source with # -*- coding: ASCII -*- and UNIX EOL (\n) results in SyntaxError
Arfrever Frehtes Taifersar Arahesis added the comment: Fix was not cherry-picked to 3.4.0. Fix will be in 3.4.1. -- nosy: +Arfrever resolution: - duplicate status: open - closed superseder: - Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21086 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21086] Source with # -*- coding: ASCII -*- and UNIX EOL (\n) results in SyntaxError
Morten Z added the comment: Thank you :-D -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21086 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21078] multiprocessing.managers.BaseManager.__init__'s serializer argument is not documented
Yuriy Taraday added the comment: Adding Benjamin Peterson as original author of multiprocessing (according to hg logs) -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21078 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21078] multiprocessing.managers.BaseManager.__init__'s serializer argument is not documented
R. David Murray added the comment: He wasn't, sbt (with help) was. Benjamin may have checked it in or something. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21078 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21078] multiprocessing.managers.BaseManager.__init__'s serializer argument is not documented
Yuriy Taraday added the comment: Oh, sorry. -- nosy: -benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21078 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20726] inspect: Make Signature instances picklable
Roundup Robot added the comment: New changeset f2bae047f6d0 by Yury Selivanov in branch 'default': inspect.docs: Document that Signature and Parameter are now picklable (issue #20726) http://hg.python.org/cpython/rev/f2bae047f6d0 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20726 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19983] When interrupted during startup, Python should not call abort() but exit()
Eric Snow added the comment: P.S. I'm not sure exactly how the regular development protocol goes around here so, just for the record, please know that no offense in intended with this ping. :-) What you did is just right. The offer to help move things along is both effective and appreciated! One thing you can do is determine which patch (likely the most recent one) is the most appropriate and then apply it to a local clone of the repo and run the test suite. It probably won't apply cleanly but I'm sure it wouldn't take much to fix that. Then you can make a note in the issue as to what you find. Doing this is probably unnecessary (and I don't want to waste your time), but it would also be a good way to get familiar with our workflow, particularly relative to mercurial. Another thing you can do is see if there are any outstanding review comments that have not been addressed. Next to each patch should be a review link that will take you to the web-based code review tool we use. If the patch has any unresolved feedback, you could address it in your own fork of the patch and attach it to this ticket. Finally, you could review the patch yourself through the same link. My guess is that Victor hadn't gotten sufficient eyes on his patch. Furthermore we typically don't commit anything until we get another committer to have a look, so that may be a blocker as well. Posting to the core-mentorship list (https://mail.python.org/mailman/listinfo/core-mentorship) will help get more eyes on this issue if you are interested in getting more involved, which it sounds like you are. FYI, we've been working on a comprehensive guide to our development process. You will find it at http://docs.python.org/devguide/. That should help get you rolling. :) -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19983 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19983] When interrupted during startup, Python should not call abort() but exit()
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: -eric.snow stage: - patch review versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19983 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21096] Python icon hardcoded
New submission from Nathanel Titane: The python icon path in each of the respective launchers for the 2.x and 3.x series seem to be hardcoded to an absolute path rather than designating the relative /usr/share/icons/... directory on the 'Icon=' line within the desktop launcher file located within usr/share/applications/ Arguments: Trivial bug yet very important to prevent inexperienced user root access and modification of system files Needed to prevent system-wide icon theme 'breakage' from non standard 'Icon=' path that should normally refer to /usr/share/icons/ when using third party themes (ex: Faenza, Numix, etc.) --- Before: Icon=/usr/share/pixmaps/python2.7.xpm Icon=/usr/share/pixmaps/python3.3.xpm Icon=/usr/share/pixmaps/python3.4.xpm After: Icon=python -- components: Installation messages: 215137 nosy: nathanel.titane priority: normal severity: normal status: open title: Python icon hardcoded type: enhancement versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21096 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17846] Building Python on Windows - Supplementary info
Zachary Ware added the comment: Devguide patch review, review comment lines start with # (in column 1) diff -r e665cddd6cde setup.rst --- a/setup.rst Sun Mar 23 19:31:22 2014 -0400 +++ b/setup.rst Tue Mar 25 07:47:54 2014 -0500 @@ -217,8 +217,9 @@ Windows ''' -The readme included in the solution has more details, especially on the -software needed to resolve the below mentioned build errors. +The readme http://hg.python.org/cpython/file/default/PCbuild/readme.txt # This should be a link, not just a URL thrown inline. 'readme' can be # the linked word. +included in the solution has more details, especially on the software +needed to resolve the below mentioned build errors. **Python 3.3** and later use Microsoft Visual Studio 2010. You can download Microsoft Visual C++ 2010 Express `from Microsoft's site @@ -238,6 +239,9 @@ http://msdn.microsoft.com/en-us/library/hs24szh9%28v=VS.90%29.aspx`_ and `here (2010) http://msdn.microsoft.com/en-us/library/hs24szh9%28v=vs.100%29.aspx`_. +Because the Python solution file uses Solution Folders, VS Express will warn +you about that fact every time you open the ``pcbuild.sln`` file. You can +safely dismiss the warning with no impact on your ability to build Python. # What fact? If you're going to copy my words verbatim, copy all of them. # Otherwise, rewrite them so it makes sense. To build from the Visual Studio GUI, open the ``pcbuild.sln`` solution file with Visual Studio. Choose the :menuselection:`Build Solution` option @@ -267,6 +271,7 @@ ``PCBuild\amd64\python_d.exe``. If you are compiling in release mode (which you shouldn't, in general), replace ``python_d.exe`` with ``python.exe``. + # No need to add a blank line here. .. _build_troubleshooting: Troubleshooting the build -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17846 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17846] Building Python on Windows - Supplementary info
Changes by Zachary Ware zachary.w...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17846 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21096] Python icon hardcoded
Ned Deily added the comment: You don't say what platform you are using but, from the paths, I assume one of the Linux distributions. The files you are talking about are not part of the Python source but most likely added by whatever distribution you are using. I suggest you open an issue on its bug tracker. -- nosy: +ned.deily resolution: - 3rd party stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21096 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21090] File read silently stops after EIO I/O error
Changes by Claudiu.Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21090 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21078] multiprocessing.managers.BaseManager.__init__'s serializer argument is not documented
Richard Oudkerk added the comment: No, the argument will not go away now. However, I don't much like the API which is perhaps why I did not get round to documenting it. It does have tests. Currently 'xmlrpclib' is the only supported alternative, but JSON support could be added quite easily. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21078 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21066] The separate download version for the documentation doesn't work
Martin v. Löwis added the comment: This is not a bug in Python, but a Windows limitation. In the first box, uncheck Always ask before opening this file, then reopen. Alternatively, right-click on the file, open properties, and press Unblock. Microsoft imposes this behavior on all CHM files downloaded from the internet. For other file types (.exe, .msi) they allow the package author to use code signing to establish trust in the authenticity of the file, but not so for CHM. Closing this as 3rd party. -- resolution: - 3rd party status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21066 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19711] add test for changed portions after reloading a namespace package
Eric Snow added the comment: Well, the same patch (modulo adjusting to apply cleanly) fails in exactly the same way in 3.3. So either the test isn't right or namespace packages have never supported reload in this way. I'll keep investigating. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15331] Codecs docs should explain that the bytes-bytes shorthand aliases are missing
Nick Coghlan added the comment: The aliases are back in 3.4+ -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed type: behavior - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15331 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19711] add test for changed portions after reloading a namespace package
Eric Snow added the comment: Regarding this issue, keep in mind that namespace packages have a dynamic __path__ which already updates (effectively) when new portions are added to sys.path. So we just need to make sure that reloading does not break that. To that end, here's a much simpler patch (with passing tests) that verifies that PEP 451 did not break anything here. -- Added file: http://bugs.python.org/file34661/issue19711-test_namespace_pkgs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
New submission from Eric Snow: While working on #19711 it dawned on me that test_namespace_pkgs might be more appropriate as a submodule of test_importlib. The feature doesn't have it's own module nor is it otherwise independent of importlib. I don't want to introduce churn here for the sake of conceptual purity. Rather, the module would be more discoverable if associated with importlib in this way. For #19711 I wrote a test case that was overly complicated and did not work (goes hand-in-hand, no?) that I would not have spent time on if I'd remembered about test_namespace_pkgs or seen it somewhere under test_import*. As a bonus, this change moves 1 file and 1 directory out of Lib/test (a directory that takes flat is better than nested to the extreme). Any objections? -- messages: 215145 nosy: barry, brett.cannon, eric.smith, eric.snow, ncoghlan priority: low severity: normal stage: needs patch status: open title: Move test_namespace_pkgs into test_importlib. type: enhancement versions: Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21098] Address remaining PEP 451-related to-do comments.
New submission from Eric Snow: (from msg207510 in issue 18864) There are a few lingering to-do comments: Lib/test/test_importlib/extension/test_case_sensitivity.py:# XXX find_spec tests Lib/test/test_importlib/extension/test_finder.py:# XXX find_spec tests Lib/test/test_importlib/source/test_file_loader.py:mod = loader.load_module('_temp') # XXX Lib/test/test_importlib/source/test_file_loader.py:# XXX Change to use exec_module(). Lib/test/test_importlib/test_windows.py:# XXX Need a test that finds the spec via the registry. -- assignee: eric.snow components: Tests messages: 215146 nosy: brett.cannon, eric.snow, ncoghlan priority: normal severity: normal stage: test needed status: open title: Address remaining PEP 451-related to-do comments. type: behavior versions: Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21098 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21099] Switch applicable importlib tests to use PEP 451 API
New submission from Eric Snow: (from msg202657 in issue 18864) A bunch of importlib (and other?) tests make direct calls to find_module(), find_loader(), or load_module(). These are still working, as expected. However, we should probably either replace them or supplement them with equivalent tests that make use of specs directly. -- assignee: eric.snow components: Tests messages: 215147 nosy: brett.cannon, eric.snow, ncoghlan priority: normal severity: normal stage: needs patch status: open title: Switch applicable importlib tests to use PEP 451 API type: enhancement versions: Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21099 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20035] Clean up Tcl library discovery in Tkinter on Windows
Zachary Ware added the comment: Here's an even less ugly new version of the patch; it does everything with multi-byte strings instead of wide-char strings (so that there's just one conversion of prefix from wcs to mbs at the beginning of the block, and TCL_VERSION is used directly). This patch also cleans up the Tkinter tests to remove the previous workarounds and un-reverts the change to PCbuild/rt.bat that I reverted after #15968 in an attempt to avoid test failures (that apparently didn't work). -- components: +Windows -Tests title: Suppress 'os.environ was modified' warning on Tcl/Tk tests - Clean up Tcl library discovery in Tkinter on Windows versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file34662/issue20035.v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20035 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)
Changes by Eric Snow ericsnowcurren...@gmail.com: -- dependencies: +Address remaining PEP 451-related to-do comments., Switch applicable importlib tests to use PEP 451 API ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18864 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19711] add test for changed portions after reloading a namespace package
Changes by Eric Snow ericsnowcurren...@gmail.com: -- assignee: - eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19711 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
Nick Coghlan added the comment: Fine by me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21099] Switch applicable importlib tests to use PEP 451 API
Nick Coghlan added the comment: New tests please - we want to make sure these keep working unless/until we reach agreement to actually remove them, and I'd prefer not to raise any new barriers to migration from Python 2.6/7 until 3.6 at the earliest :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21099 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21099] Switch applicable importlib tests to use PEP 451 API
Eric Snow added the comment: Agreed. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21099 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)
Eric Snow added the comment: I've gone ahead and moved all remaining work into separate issues. Once the 4 remaining sub-issues are resolved, this one can be closed. I've *finally* got a couple days free so I want to close this out. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18864 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
Eric V. Smith added the comment: Makes sense to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21098] Address remaining PEP 451-related to-do comments.
Eric Snow added the comment: Lib/test/test_importlib/test_windows.py is addressed in #19714 #21099 should cover the other four. If any *new* tests are needed we can address them in this ticket. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21098 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20035] Clean up Tcl library discovery in Tkinter on Windows
Zachary Ware added the comment: Also, I have confirmed that the blind symlink issue in non-English Windows Vista (issue3881) is not a problem in Tcl/Tk 8.6. That issue was easy to reproduce in a standard installation of Python 3.3 (with Tcl/Tk 8.5) on German Windows Vista by setting TCL_LIBRARY manually; the same test with a standard installation of Python 3.4 (with Tcl/Tk 8.6) showed no problem. Thus, I don't believe the convert_path() acrobatics from the top of Lib/tkinter/_fix.py are necessary in the C replacement. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20035 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
Roundup Robot added the comment: New changeset 6d44bd8066ee by Eric Snow in branch 'default': Issue #21097: Move test_namespace_pkgs into test_importlib. http://hg.python.org/cpython/rev/6d44bd8066ee -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
Roundup Robot added the comment: New changeset 48790b202a50 by Eric Snow in branch '3.4': Issue #21097: Move test_namespace_pkgs into test_importlib. http://hg.python.org/cpython/rev/48790b202a50 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21097] Move test_namespace_pkgs into test_importlib.
Eric Snow added the comment: I seriously need to remember to apply to 3.4 and merge forward! :P -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1697175] winreg module for cygwin?
Terry J. Reedy added the comment: It is not officially supported (no patches from core developers, no buildbot), but it is not officially rejected (working patches might be reviewed, and even applied). I think a request like this, with no code, should have gone to cygwin people first, and without a patch, should be closed as out of date -- how knows what the situation with cygwin and winreg is now -- or 3rd party. Simon's post suggests that there once was a 3rd party solution that might have solved Zooko's problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1697175 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21098] Address remaining PEP 451-related to-do comments.
Eric Snow added the comment: I don't anticipate any more tests for now. -- resolution: - rejected stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21098 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21099] Switch applicable importlib tests to use PEP 451 API
Eric Snow added the comment: Here's a patch. In most spots I'm left things alone. There is a comment in the docstring for test_abc.SourceOnlyLoaderTests about reload-related tests and module_for_loader (which is deprecated now). I'm not going to worry about that for now. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file34663/issue21099-better-use-of-451-api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21099 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21029] IDLE mis-coloring print
Roundup Robot added the comment: New changeset 6f87f50ecab7 by Raymond Hettinger in branch '2.7': Issue #21029: IDLE now colors print consistently as a keyword. http://hg.python.org/cpython/rev/6f87f50ecab7 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21029 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21029] IDLE mis-coloring print
Raymond Hettinger added the comment: Thanks Terry. Your solution works perfectly. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21029 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20184] Derby #16: Convert 50 sites to Argument Clinic across 9 files
Nick Coghlan added the comment: Updated the builtins patch for the 3.4.0 Argument Clinic changes. Also moved the issue back to 3.4, since Larry has indicated that AC conversions are in scope for 3.4.x maintenance releases, so long as no public API behaviour changes. -- nosy: +yselivanov versions: +Python 3.4 -Python 3.5 Added file: http://bugs.python.org/file34664/issue20184_builtin_conversion_v6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20184 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose
Nick Coghlan added the comment: Under the name from_len, this is now part of a larger proposal to improve the consistency of the binary APIs: http://www.python.org/dev/peps/pep-0467/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20895 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21100] Micro-optimization for tuple comparison
New submission from Raymond Hettinger: The tuple comparison code contains an outdated comment to the effect that testing unequal lengths for an early-out may not be worth it because it is an uncommon case in real code. While the unequal length case remains rare, the common case code (added when rich comparisons were introduced) pays a price by not being able to assume the lengths are equal. Adding an single early length equality test saves a repeated inner loop test for i wlen and a single post-loop test for i = wlen. -- components: Interpreter Core files: tuple_micro_optimization.diff keywords: patch messages: 215166 nosy: rhettinger priority: low severity: normal stage: patch review status: open title: Micro-optimization for tuple comparison type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file34665/tuple_micro_optimization.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21100 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15044] _dbm not building on Fedora 17
Nick Coghlan added the comment: I think we can skip the belated NEWS entry for something that happened a couple of years ago... -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15044 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14710] pkgutil.get_loader is broken
Nick Coghlan added the comment: Update as of Python 3.4: pkgutil.get_loader() still throws AttributeError for this case, but importlib.util.find_spec() returns None as expected. -- versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14710 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com