[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: Demur: "This patch [ ushort.patch ] seeks to be a minimal change to achieve the desired aligned/batched memory read behavior of NEXTOP/NEXTARG." We are concerned by undefined behaviours in CPython for portability reasons. Using a "unsigned short*" pointer avoi

[issue27051] Create PIP gui

2016-05-25 Thread lorenzogotuned
lorenzogotuned added the comment: @Terry: Fine, we can do it. @Upendra: All the checks you mentioned have to be performed at start-up, so create a script that returns a configuration object for the UI. I think you can try to build a first easy view in which a package is selected (an input form

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Eryk Sun
Eryk Sun added the comment: In Py2Reg, `(*retDataBuf==NULL)` needs spaces around the == operator. Should the changes to the winreg docs be noted as new in 3.6? Bikeshedding: in "What's New" you mention the change to QueryValueEx, but Reg2Py and Py2Reg affect EnumValue, QueryValueEx, and SetVa

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I’m a bit worried about flex_complete() covering up errors. If I add calls to PyErr_WriteUnraisable(), I can see both the s1 and s2 decodes failing. Input the following line: >>> "©"; import x; and then move the cursor back one place, so it is directly after t

[issue26632] __all__ decorator

2016-05-25 Thread Franklin? Lee
Franklin? Lee added the comment: >>If @public were only to be used as a decorator, it would not be possible to >>have `public` called on a function outside of its definition. But someone >>might call `public(some_decorator(some_function))`. > >Do you mean, they'd call this is some module other th

[issue25419] Readline completion of module names in import statements

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I moved all the calls targetting the readline module into a ReadlineCompleter subclass. However the logic for parsing “import” statements still exists in the base Completer class in private methods. An overview of the two classes: class Completer: def compl

[issue27119] `compile` doesn't compile into an AST object as specified

2016-05-25 Thread Eryk Sun
Eryk Sun added the comment: What you're looking for is in the 2nd paragraph of the ast docs: An abstract syntax tree can be generated by passing ast.PyCF_ONLY_AST as a flag to the compile() built-in function, or using the parse() helper provided in this module. The result will be

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-05-25 Thread Martin Panter
Changes by Martin Panter : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27120] xmllib unable to parse in UTF8 format

2016-05-25 Thread Enrico
New submission from Enrico: The xmllib.XMLParser seems to be unable to parse an XML file that contains cyrillic characters. File "xmllib.pyc", line 172, in feed File "xmllib.pyc", line 268, in goahead File "xmllib.pyc", line 798, in syntax_error Error: Syntax error at line 8: illegal

[issue27108] mimetypes.__all__ list is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I left a comment about the empty blacklist. Other than removing the blacklist parameter, I think this is good to go. -- nosy: +martin.panter stage: -> commit review ___ Python tracker

[issue27119] `compile` doesn't compile into an AST object as specified

2016-05-25 Thread Franklin? Lee
Franklin? Lee added the comment: > What you're looking for is in the 2nd paragraph of the ast docs: Oh. I considered that, but then compile's docs say: The optional arguments flags and dont_inherit control which future statements (see PEP 236) affect the compilation of source.

[issue27107] mailbox.__all__ list is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: This patch looks good to me. I agree the reap_children() thing is a separate problem. -- nosy: +martin.panter stage: -> patch review ___ Python tracker ___

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I wonder if removing HTMLParser().unescape() would hurt Python 2 → 3 compatibility. This was mentioned in Ezio’s draft deprecation policy PEP : “nothing that is available and not depr

[issue27121] imghdr does not support jpg files with Lavc bytes

2016-05-25 Thread René Løwe Jacobsen
New submission from René Løwe Jacobsen: Some jpegs might have Lavc instead of JFIF or Exif. I have added a picture for you to test with. -- files: 5ZK0umWbRmsQwGkUb4LhIV6L9YnInn6t_thumb.jpg messages: 266327 nosy: René Løwe Jacobsen priority: normal severity: normal status: open title: i

[issue27110] smtpd.__all__ list is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: MailmanProxy is already included in __all__. Is there any advantage of removing it? Normally things are left in __all__ even when they actually get deprecated, as far as I understand. The patch looks sensible to me (though I am not very familiar with the module

[issue27108] mimetypes.__all__ list is incomplete

2016-05-25 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: Thank you, Martin. I'm uploading amended patch. -- Added file: http://bugs.python.org/file42988/mimetypes_all.v2.patch ___ Python tracker ___ _

[issue27109] plistlib.__all__ list is incomplete

2016-05-25 Thread Martin Panter
Changes by Martin Panter : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27106] configparser.__all__ is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: Looks good to me -- nosy: +martin.panter stage: -> patch review ___ Python tracker ___ ___ Python-bu

[issue27105] cgi.__all__ is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I don’t see why test() should be a special case. A few of the other functions seem to be just for debugging and testing too, e.g. print_environ(). Is there any advantage to having the test case in a separate MiscTestCase class, as opposed to the existing CgiTes

[issue27105] cgi.__all__ is incomplete

2016-05-25 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: Martin: > Is there any advantage to having the test case in a separate MiscTestCase > class, as opposed to the existing CgiTests class? Other than "the first test [well, that I know of] for __all__ list was in separate class called MiscTestCase so each next

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Valentin David
New submission from Valentin David: The attached script hangs while using 100% on Python 3.5.1 but not on Python 3.4.3. Tested both on Gentoo Linux and Ubuntu Linux. The loop seems to be in PyErr_SetObject in a loop that recursively go through PyException_GetContext. subprocess.Popen seems to

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: I am back from my travels. Thanks very much, Stefan. Running as administrator did the trick for Windows 10 installations. I now have a reliable, repeatable protocol that I can give to students with little computing experience that will enable them to install P

[issue15625] Support u and w codes in memoryview

2016-05-25 Thread Марк Коренберг
Марк Коренберг added the comment: Trigger the same bug I want to effectively slice big unicode string. So I decide to use memoryview for that in order to eliminate memory copying. In [33]: a = array.array('u', 'превед') In [34]: m = memoryview(a) In [35]: m[2:] Out[35]: In [36]: m[0] ...

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: I am back from my travels. Thanks Zachary for this. On Windows 10, no PYTHON or PYTHONHOME environment variable is set. On Windows 7, they are set. Moreover, even though I am installing Python 3.5.1, the refer to C:\Program files\Python34 ! I will continue to

[issue27105] cgi.__all__ is incomplete

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: OK. This is unusual name for public function and looks rather as internal function for manual module testing, but since it is documented, we perhaps should add its name to __all__. The patch LGTM. -- ___ Python tr

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good point. Maybe the deprecation period of HTMLParser.unescape() should be prolonged. On other side, this method is not documented, nor in 2.7, nor in 3.x. It is not a part of official API. -- ___ Python tracker

[issue27120] xmllib unable to parse in UTF8 format

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide minimal reproducer? Minimal script and minimal data that expose the issue. -- nosy: +serhiy.storchaka stage: -> test needed ___ Python tracker

[issue27118] Several Py_XDE/INCREFs in typeobject.c are not necessary

2016-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27112] tokenize.__all__ list is incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I think it might be better to add a separate “import tokenize as tokenize_module”. Or just “import tokenize” inside the test function. IMO changing all the names adds too much churn with minimal benefit. Maybe also should restore the “from unittest import . . .

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: All, it seems that installation of Python 3.5.1 on Windows 7 must also be done as administrator. Once I did that, the installation of Python 3.5.1, numpy 1.11.0, and matplotlib 1.5.1 all went seamlessly. The only environment variable that was changed was to add

[issue27118] Several Py_XDE/INCREFs in typeobject.c are not necessary

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: LGTM too. Serhiy, do you want to push the patch? -- nosy: +haypo ___ Python tracker ___ ___ Python-

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Victor's comments. -- Added file: http://bugs.python.org/file42990/ushort3.patch ___ Python tracker ___ __

[issue23883] __all__ lists are incomplete

2016-05-25 Thread Martin Panter
Martin Panter added the comment: I think pydoc could be left alone. The RST documentation doesn’t say anything about importing any functions from the module that I can see. I was surprised that it even defines __all__ = ["help"]. Perhaps pydoc.doc() was another false indication in Serhiy’s lis

[issue27118] Several Py_XDE/INCREFs in typeobject.c are not necessary

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b4c3dda679a by Serhiy Storchaka in branch 'default': Issue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c. https://hg.python.org/cpython/rev/3b4c3dda679a -- nosy: +python-dev ___ Python tracker

[issue27120] xmllib unable to parse in UTF8 format

2016-05-25 Thread Enrico
Enrico added the comment: I have attached xmllib.py. This file is in python23\lib folder. The strings in XML file are in cyrillic language. My code: import xmllib class Parser(xmllib.XMLParser): # a simple styling engine def __init__(self): xmllib.XMLParser.__init__(self)

[issue27118] Several Py_XDE/INCREFs in typeobject.c are not necessary

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Done. Thank you for your contribution Xiang Zhang. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue26306] Can't create abstract tuple

2016-05-25 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> abstract class instantiable when subclassing dict ___ Python tracker _

[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-05-25 Thread Andrea De Pasquale
Changes by Andrea De Pasquale : -- nosy: +adepasquale ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue5996] abstract class instantiable when subclassing dict

2016-05-25 Thread Maciej Szulik
Changes by Maciej Szulik : -- nosy: +maciej.szulik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27108] mimetypes.__all__ list is incomplete

2016-05-25 Thread R. David Murray
R. David Murray added the comment: I thought having the empty blacklist was a good reminder, in case names are added later that need blacklisting (though granted that should be unlikely at this point, since we are more consistent about using _ names for internals now). I have no objection to

[issue27110] smtpd.__all__ list is incomplete

2016-05-25 Thread R. David Murray
R. David Murray added the comment: Yeah, good point. Leave it alone. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gps ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2016-05-25 Thread R. David Murray
R. David Murray added the comment: Nevertheless, our current standing policy is to not remove anything until after 2.7 goes out of maintenance entirely. -- nosy: +r.david.murray ___ Python tracker

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2016-05-25 Thread Berker Peksag
Berker Peksag added the comment: It was removed before and added back with a deprecation warning (because someone was using it). A little bit off-topic, but it would be great to have a "deprecated APIs in Python 3" list somewhere in the Python documentation (see https://docs.djangoproject.com

[issue27113] sqlite3 connect parameter "check_same_thread" not documented

2016-05-25 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 16509, but I'm going to keep this open since there is a patch attached here. -- nosy: +berker.peksag stage: -> needs patch versions: +Python 3.5 ___ Python tracker

[issue16509] sqlite3 docs do not explain check_same_thread

2016-05-25 Thread Berker Peksag
Berker Peksag added the comment: Issue 27113 has a patch and more detailed description so I'm going to close this one as a 'duplicate'. Thanks for the report! -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> sqlite3

[issue27113] sqlite3 connect parameter "check_same_thread" not documented

2016-05-25 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Upendra Kumar added the comment: I am posting flow of logic for application and related page layouts. Related layouts are : 1. welcome_v1 2. select_venv_system 3. install_pyPI_v1 4. install_local_archive_v1 5. install_pythonlibs_v1 6. install_requirements_v1 7. update_package_v1 8. remove_packa

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42994/select_venv_system.jpg ___ Python tracker ___ ___ Python-bugs-list mai

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42993/welcome_v1.jpg ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42995/install_pyPI_v1.png ___ Python tracker ___ ___ Python-bugs-list mailin

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42996/install_requirement_v1.jpg ___ Python tracker ___ ___ Python-bugs-list

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42997/install_local_archive_v1.jpg ___ Python tracker ___ ___ Python-bugs-li

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42998/update_package_v1.png ___ Python tracker ___ ___ Python-bugs-list mail

[issue27118] Several Py_XDE/INCREFs in typeobject.c are not necessary

2016-05-25 Thread Xiang Zhang
Xiang Zhang added the comment: It's my pleasure and thanks for your time reviewing this thread too. -- ___ Python tracker ___ ___ Pyth

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: It's a regression introduced by the PEP 479 in Lib/contextlib.py by the changeset 36a8d935c322, "PEP 479: Change StopIteration handling inside generators (Closes issue #22906)". -- ___ Python tracker

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: Workaround, or maybe fix?, for the issue: diff -r 0af15b8ef3b2 Lib/contextlib.py --- a/Lib/contextlib.py Thu May 12 10:37:58 2016 +0300 +++ b/Lib/contextlib.py Wed May 25 15:56:50 2016 +0200 @@ -87,6 +87,8 @@ class _GeneratorContextManager(ContextDe

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: Simplified script to reproduce the bug. -- nosy: +haypo Added file: http://bugs.python.org/file42999/hang_bug2.py ___ Python tracker ___ ___

[issue26814] [WIP] Add a new _PyObject_FastCall() function which avoids the creation of a tuple or dict for arguments

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: I fixed even more issues with my setup to run benchmark. Results should be even more reliable. Moreover, I fixed multiple reference leaks in the code which introduced performance regressions. I started to write articles to explain how to run stable benchmarks:

[issue27113] sqlite3 connect parameter "check_same_thread" not documented

2016-05-25 Thread Thomas Kluyver
Changes by Thomas Kluyver : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27123] Allow `install_headers` command to follow specific directory structure

2016-05-25 Thread Sylvain Corlay
New submission from Sylvain Corlay: (instead of making a flat copy of the specified list of headers) Unlike wheel's `data_files`, which allows to specify data files as a list of tuples `[(target_directory, [list of files for target directory])]` the `headers` setup keyword argument only let'

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: The suggested fix looks basically correct to me - the problem is that the new except clause added by that patch is currently missing the "don't re-raise the passed in exception" logic needed to fully abide by the context management protocol, but we missed that o

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes the testGetServBy test for API 21 and 23 (fixing the cases a) and e) of my previous msg). -- keywords: +patch Added file: http://bugs.python.org/file43000/null-proto.patch ___ Python tracker

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Problems with the socket module on Android: API 21: a) Both getservbyname() and getservbyport() fail when the optional 'protocolname' parameter is not set to 'tcp' or 'udp'. b) getservbyname() fails when 'servicename' is set to 'http'. getaddrinfo()

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: > The loop seems to be in PyErr_SetObject in a loop that recursively go through > PyException_GetContext. We should also fix this function to avoid the infinite loop. Maybe we should deny setting "exc.__context__=exc" (modify PyException_SetContext for that).

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: ushort3.patch LGTM. You might also add (copy) the added assertions in PyCode_New*(). -- ___ Python tracker ___

[issue27096] Ability to get random bytes from random.Random (as with os.urandom)

2016-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Campbell, I concur with Serhiy that this isn't worth growing the API. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes the testGetaddrinfo test for API 21 (the test runs fine on API 23): The failing statement 'socket.getaddrinfo(HOST, "http")' in testGetaddrinfo does not test explicitly for "http" and for the absence of the optional 'type' parameter. W

[issue27124] binascii.a2b_hex raises binascii.Error, not TypeError

2016-05-25 Thread Lennart Grahl
New submission from Lennart Grahl: When using binascii.a2b_hex (or binascii.unhexlify) and the argument is invalid, the doc states that it should raise a TypeError for invalid arguments (e.g. passing an odd-length string). However, it does raise binascii.Error instead of TypeError: try: b

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Yury Selivanov
Yury Selivanov added the comment: > > Maybe we should deny setting "exc.__context__=exc" (modify > PyException_SetContext for that). Maybe raise a new RuntimeError in this case? There is a patch for that somewhere on the tracker -- ___ Python track

[issue27124] binascii.a2b_hex raises binascii.Error and ValueError, not TypeError

2016-05-25 Thread Lennart Grahl
Lennart Grahl added the comment: When using binascii.a2b_hex (or binascii.unhexlify) and the argument is invalid, the doc states that it should raise a TypeError for invalid arguments (e.g. passing an odd-length string). However, it does raise binascii.Error instead of TypeError: try: bin

[issue27124] binascii.a2b_hex raises binascii.Error and ValueError, not TypeError

2016-05-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: In Python 3.x, 'a' is just as much a Unicode string as 'ä'. I agree that binascii.a2b_hex should raise ValueError for argument 'ä', or ';' for that matter, as they are invalid values. There's an inconsistency in why some invalid characters raise ValueError an

[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-05-25 Thread Andrea De Pasquale
Andrea De Pasquale added the comment: Isn't this covered by the following test case? Lib/test/test_email/test_defect_handling.py:18 -- ___ Python tracker ___ ___

[issue6818] remove/delete method for zipfile/tarfile objects

2016-05-25 Thread Denis Akhiyarov
Denis Akhiyarov added the comment: has this been merged? -- nosy: +Denis Akhiyarov ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23883] __all__ lists are incomplete

2016-05-25 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: In this case I'm proposing a small patch just for testing pydoc module's __all__ list and left the decision to you, whether to apply it or not. :) Test doesn't use test.support.check__all__ (see msg266312) - blacklist would be huge and expected list, as you a

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset eda3716d6425 by Serhiy Storchaka in branch 'default': Issue #27097: Python interpreter is now about 7% faster due to optimized https://hg.python.org/cpython/rev/eda3716d6425 -- nosy: +python-dev ___ Pytho

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___ _

[issue25823] Speed-up oparg decoding on little-endian machines

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Corresponding patch was committed in issue27097. -- dependencies: -ceval: use Wordcode, 16-bit bytecode resolution: -> out of date stage: -> resolved status: open -> closed superseder: -> ceval: Wordcode follow up, explicit unsigned short read ___

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I join in the congratulations, Demur! Thank you for your contributions. I left this issue open for updating the documentation and other polishing. -- ___ Python tracker

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Berker Peksag
Berker Peksag added the comment: Debug builds are broken after eda3716d6425: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/4332/steps/compile/logs/stdio -- nosy: +berker.peksag ___ Python tracker

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-05-25 Thread Emanuel Barry
Emanuel Barry added the comment: Yes, and it seems that it is waiting for a review. http://bugs.python.org/issue25782 -- nosy: +ebarry ___ Python tracker ___ ___

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset b26d07812a8e by Serhiy Storchaka in branch 'default': Fixed the use of _Py_IS_ALIGNED (issue #27097). https://hg.python.org/cpython/rev/b26d07812a8e -- ___ Python tracker

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Opps, sorry. Fixed now. Thank you Berker for fast response. -- ___ Python tracker ___ ___ Python-b

[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-05-25 Thread R. David Murray
R. David Murray added the comment: Yes. The current behavior is not a bug, the question is, do we want to deal with that XXX comment in the test by detecting the duplicate and reconizing the "extra" mime part? The defect detection would remain. -- stage: -> needs patch type: -> enh

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Steve Dower
Steve Dower added the comment: I suspect PYTHONHOME is the problem and not the installation method. There have been thousands of (presumably successful) installations of Python 3.5, and I expect most of them are just for the current user (as that's the default). If these were all failing for t

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Mark Grandi
Mark Grandi added the comment: in 'test_winreg.py', there should probably be a test that covers REG_QWORD_LITTLE_ENDIAN, even if they are essentially equivalent Also, in Py2Reg and Reg2Py, it seems that both are missing the 'case' clause for REG_QWORD_LITTLE_ENDIAN as well case REG_QWORD: ca

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Steve Dower
Steve Dower added the comment: Thanks! I don't think we need to mention doc changes in whatsnew, but I've made the description more general and added the "New in version 3.6" notes to the winreg page. The formatting was presumably copied from the surrounding code, but I've fixed all instance

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed4eec682199 by Steve Dower in branch 'default': Closes #23026: Documentation improvements and code formatting https://hg.python.org/cpython/rev/ed4eec682199 -- resolution: -> fixed stage: commit review -> resolved status: open -> closed _

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Mark Grandi
Mark Grandi added the comment: Oh, I didn't realize that both REG_QWORD and REG_QWORD_LITTLE_ENDIAN had the same value, that works then. -- resolution: fixed -> status: closed -> open ___ Python tracker _

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2016-05-25 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-25 Thread Demur Rumed
Demur Rumed added the comment: A documentation touch up for EXTENDED_ARG is included in #27095 -- ___ Python tracker ___ ___ Python-bu

[issue27097] ceval: Wordcode follow up, explicit unsigned short read

2016-05-25 Thread STINNER Victor
STINNER Victor added the comment: Why not using sizeof(unsigned short) in the macro, rtbaer than 2? -- ___ Python tracker ___ ___ Pyth

[issue27112] tokenize.__all__ list is incomplete

2016-05-25 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: > * All names in black list are implementation details. Names in white list are > stable and already repeated in docs. Assumption here is that implementation details shouldn't "look" public - they should have names starting with "_"; I think blacklisting name

[issue27106] configparser.__all__ is incomplete

2016-05-25 Thread Łukasz Langa
Łukasz Langa added the comment: The reason we specifically omitted Error was two-fold: - the name "Error" is very generic and during a star-import might easily shadow some other class of the same name; - Error is only a base class for exceptions raised by configparser and as such isn't part of

[issue24225] Idlelib: changing file names

2016-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, the rename (only) patch is useless to read as it is hg's bloated expansion of the rename commands in i3rename.bat. The main update is based on my review of Al's patch. In user testing, I discovered that the debugger depended on 'RemoteDebugger.py' being

[issue27125] Typo in Python 2 multiprocessing documentation

2016-05-25 Thread Phoenix
New submission from Phoenix: At https://docs.python.org/2/library/multiprocessing.html#authentication-keys there is a typo in the documentation: "If authentication is requested but do authentication key is specified ..." s/b (emphasis added) "If authentication is requested but **no** authenti

  1   2   >