[issue20483] Missing network resource checks in test_urllib2 & test_smtplib

2016-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> works for me stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26081] Implement asyncio Future in C to improve performance

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! I can't review the whole thing, but I patched it in and tried running the asyncio/examples/crawl.py example, like so: $ ~/src/cpython36/python.exe examples/crawl.py xkcd.com -q Exception RuntimeError('yield was used instead of yield from in task >

[issue23722] During metaclass.__init__, super() of the constructed class does not work

2016-09-10 Thread Nick Coghlan
Nick Coghlan added the comment: And done - thanks for the patch Martin! The one additional change needed was to increment the magic number for pyc files, as this changed the code emitted for class definitions. I also picked up a latent defect in PC/launcher.c which hadn't been updated for

[issue23722] During metaclass.__init__, super() of the constructed class does not work

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset feb1ae9d5381 by Nick Coghlan in branch 'default': Issue #23722: Initialize __class__ from type.__new__() https://hg.python.org/cpython/rev/feb1ae9d5381 -- nosy: +python-dev ___ Python tracker

[issue23722] During metaclass.__init__, super() of the constructed class does not work

2016-09-10 Thread Nick Coghlan
Nick Coghlan added the comment: Reassigning to myself given Guido's +1 -- assignee: ned.deily -> ncoghlan stage: -> commit review type: -> behavior ___ Python tracker

[issue20885] Little Endian PowerPC64 Linux

2016-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27680] Reduce Github pull request rate

2016-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Nick Coghlan
Nick Coghlan added the comment: That sounds like the "re" module would be a better exemplar for an SSL module convenience API design than "random" then - that has a similar model of needing an LRU cache for the compiled patterns for performance reasons, while still making working with the

[issue26081] Implement asyncio Future in C to improve performance

2016-09-10 Thread INADA Naoki
INADA Naoki added the comment: Oh, I'm sorry. I usually working on git, and convert git diff to hg diff when posting patch. I've used `patch -p1` instead of `hg import --no-edit` to apply git patch into hg workdir. I wonder if Rietveld accepts git diff format... -- Added file:

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Donald Stufft
Donald Stufft added the comment: Thinking about that more, it's a bit harder than the Random module as well. The only state the random module has to worry about is the seed and internal state of the RNG. However, many of the arguments to ssl.wrap_socket change the SSLContext options for

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Donald Stufft
Donald Stufft added the comment: An implicit global SSL Context? It kinda sounds a bit gross. -- ___ Python tracker ___

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Nick Coghlan
Nick Coghlan added the comment: I asked in more detail about this on the list, but my main question is why can't wrap_socket() be fixed by doing a rip-and-replace on its internals (e.g. by using a model similar to the one in random, where there's an implicit global Random instance that gets

[issue28074] Add Configuration file parser action

2016-09-10 Thread Chris Nyland
New submission from Chris Nyland: I have recently developed a action for the argparse module that allows arguments to be read in from configuration files. It is different in functionality than the convert_arg_line_to_args in that the file path(s) is passed to the action and then opened. This

[issue18233] SSLSocket.getpeercertchain()

2016-09-10 Thread Miroslav Shubernetskiy
Changes by Miroslav Shubernetskiy : -- nosy: +miki725 ___ Python tracker ___ ___

[issue26141] typing module documentation incomplete

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7187d167abe8 by Guido van Rossum in branch 'default': Issue #26141: Update docs for typing.py. Ivan Levkivskyi. https://hg.python.org/cpython/rev/7187d167abe8 New changeset 1dc45beca118 by Guido van Rossum in branch '3.5': Issue #26141: Update docs

[issue26141] typing module documentation incomplete

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26141] typing module documentation incomplete

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: I'll figure it out. -- ___ Python tracker ___ ___ Python-bugs-list

[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75514816741a by Guido van Rossum in branch '3.5': Issue #28073: Improve wording around None. Michael Lee. https://hg.python.org/cpython/rev/75514816741a New changeset 7a4a16a880a4 by Guido van Rossum in branch 'default': Issue #28073: Improve

[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Busy Saturday night, right? :-) -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26141] typing module documentation incomplete

2016-09-10 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: The patch contains docs for both new 3.6 features and missing 3.5: ClassVar, Collection, plus also Sized, Hashable, DefaultDict, @overload, TYPE_CHECKING Should I generate a separate patch for 3.5 with only 3.5 omissions? --

[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Michael Lee
New submission from Michael Lee: For some reason, the section of the typing docs about Optional stated that Optional[T] was equivalent to Union[T, type(None)]. While this is true, it's somewhat inconsistent and potentially confusing since everywhere else in the docs, we just use None. This

[issue26141] typing module documentation incomplete

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Most things mentioned by Ben have been added (thanks Michael Lee!), but it seems the 3.5 docs and the 3.6 docs have deviated more than they ought to. I guess updating the 3.6 docs is more urgent because of the upcoming 3.6b1 release. I'll look later.

[issue26141] typing module documentation incomplete

2016-09-10 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Here is the patch for some omissions in typing module documentation. Guido, please take a look. -- keywords: +patch nosy: +gvanrossum Added file: http://bugs.python.org/file44541/typing-doc.diff ___ Python tracker

[issue27932] platform.win32_ver() leaks in 2.7.12

2016-09-10 Thread Eryk Sun
Eryk Sun added the comment: The leak is due the pointer-type cache that ctypes.POINTER uses. The type the pointer refers to is used as the key. In this case, VS_FIXEDFILEINFO is created each time win32_ver is called, so the pointer-type cache grows without bound. Example leak: >>> import

[issue28072] Empty Strings are not parsed to None.

2016-09-10 Thread Ethan Furman
Ethan Furman added the comment: Empty strings are empty strings, not None. An better way for your code example would be: def ...(): if url: else: raise URLError(...URL cannot be empty...) -- nosy: +ethan.furman resolution: -> not a bug stage: -> resolved

[issue28072] Empty Strings are not parsed to None.

2016-09-10 Thread Decorater
Changes by Decorater : -- versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue28072] Empty Strings are not parsed to None.

2016-09-10 Thread Decorater
New submission from Decorater: I noticed that the Python interpreter does not interpret a empty string as None so I have to do this unclean workaround every time in functions that cannot have a empty string passed to them. Here is some example Code I have to do to bypass this (the function

[issue28066] [Patch] Fix the ability to cross compile Python when doing a rebuild of importlib.h

2016-09-10 Thread Martin Panter
Martin Panter added the comment: Can you get your importlib changes so they are compatible with a native build? If so, maybe you can build the frozen module with a native build rather than a cross build. “freeze_importlib is built using the compiler for the target”: I may be mistaken, but I

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: One of the test_sysconfig failed test is caused by the changes made in issue 27917. I will fix it there. The other one is caused by a change in my android build setup that does not install anymore include/python3.6m/pyconfig.h, this is fixed now and the test

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that gets rid of calculating intersections. I didn't make benchmarking still. -- Added file: http://bugs.python.org/file44540/faster_build_map_unpack_with_call.patch ___ Python tracker

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Chi Hsuan Yen! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bee52e5f8fb1 by Serhiy Storchaka in branch 'default': Issue #28070: Fixed parsing inline verbose flag in regular expressions. https://hg.python.org/cpython/rev/bee52e5f8fb1 New changeset 842e75f0e592 by Serhiy Storchaka in branch '3.5': Backported

[issue25283] Make tm_gmtoff and tm_zone available on all platforms

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +patch stage: needs patch -> commit review Added file: http://bugs.python.org/file44539/issue25283.diff ___ Python tracker

[issue25901] `make test` crashes in test_httpservers

2016-09-10 Thread Martin Panter
Changes by Martin Panter : -- status: open -> pending ___ Python tracker ___ ___

[issue28071] Stop set.difference when set is empty

2016-09-10 Thread Terry J. Reedy
New submission from Terry J. Reedy: Proposal from SO: in the iteration loop for 'myset.difference(iterable)', add equivalent of "if not myset: break'. https://stackoverflow.com/questions/39378043/why-does-pythons-set-difference-method-take-time-with-an-empty-set In the toy example for testing

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread SilentGhost
SilentGhost added the comment: I get normal behaviour on e3dbe8b7279a -- nosy: +SilentGhost ___ Python tracker ___

[issue28070] 3.6 regression: re.compile not handling flags with X correctly

2016-09-10 Thread Chi Hsuan Yen
New submission from Chi Hsuan Yen: This test script: import re print(re.compile(r'(?ix)A').flags == re.I | re.X | re.U) print(re.compile(r'(?ix)A').flags == re.X | re.U) print(re.compile(r'(?im)A').flags == re.I | re.M | re.U) gives False, True, True on default:b28b37de9470+. Python 3.5.2

[issue19500] Add client-side SSL session resumption

2016-09-10 Thread Christian Heimes
Christian Heimes added the comment: I have committed the feature with rudimentary documentation. I will provide more documentation and an example before 3.6.0b2. -- assignee: -> christian.heimes components: +Documentation priority: normal -> high

[issue19500] Add client-side SSL session resumption

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f2644738876 by Christian Heimes in branch 'default': Issue #19500: Add client-side SSL session resumption to the ssl module. https://hg.python.org/cpython/rev/6f2644738876 -- nosy: +python-dev ___

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-10 Thread Christian Heimes
Christian Heimes added the comment: x86-64 Ubuntu 15.10 Skylake CPU 3.x is still blocking. It looks like I have to add another workaround for a Ubuntu quirk. -- ___ Python tracker

[issue15883] Add Py_errno to work around multiple CRT issue

2016-09-10 Thread Christian Heimes
Christian Heimes added the comment: It's no longer a problem with new VS. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue19763] Make it easier to backport statistics to 2.7

2016-09-10 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue4558] ./configure --with-stdc89 to test ANSI C conformity

2016-09-10 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Christian Heimes
Christian Heimes added the comment: I have pushed all deprecation except ssl.wrap_socket(). Nick raised some concerns. I like to discourage people to use it because it hurts performance and is no longer best practice. How about we mark the function as legacy function and move it to a less

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset aed3c541b2f1 by Christian Heimes in branch 'default': Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. https://hg.python.org/cpython/rev/aed3c541b2f1 -- nosy: +python-dev ___ Python

[issue27350] Compact and ordered dict

2016-09-10 Thread Joshua Bronson
Changes by Joshua Bronson : -- nosy: +jab ___ Python tracker ___ ___ Python-bugs-list

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-10 Thread SilentGhost
SilentGhost added the comment: Here is the patch, I'm not sure if any more changes are needed there, so it would be good to test. -- components: +Windows keywords: +patch nosy: +SilentGhost, paul.moore, steve.dower, tim.golden, zach.ware stage: -> patch review type: compile error ->

[issue23722] During metaclass.__init__, super() of the constructed class does not work

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Nick, if you feel like doing this, go ahead, either before or after beta1 (but if you want to do it before please do it quickly). (Off-topic: boy do I miss CI that triggers when you send a patch for review...) On Sat, Sep 10, 2016 at 11:14 AM, Martin

[issue28061] Python crashes on 'from test import support'

2016-09-10 Thread Emanuel Barry
Changes by Emanuel Barry : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue28069] signalmodule.c does "is" comparisons for SIG_IGN and SIG_DFL

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was not a problem before 3.5 since IgnoreHandler and DefaultHandler were singletons exposed in the signal module as SIG_DFL and SIG_IGN. But in issue21076 they were converted to enums. This involves converting between enums and ints. All works only

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7e477fa9e09 by Alexander Belopolsky in branch 'default': #28067: Fixed another typo. https://hg.python.org/cpython/rev/c7e477fa9e09 -- ___ Python tracker

[issue28043] Sane defaults for SSLContext options and ciphers

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b4c5d06c028 by Christian Heimes in branch 'default': Issue 28043: SSLContext has improved default settings https://hg.python.org/cpython/rev/1b4c5d06c028 -- nosy: +python-dev ___ Python tracker

[issue28043] Sane defaults for SSLContext options and ciphers

2016-09-10 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: -> christian.heimes stage: patch review -> commit review status: open -> pending ___ Python tracker

[issue28061] Python crashes on 'from test import support'

2016-09-10 Thread Emanuel Barry
Emanuel Barry added the comment: I compiled, I got a "Python stopped working" during compiling (but it went on anyway), and then launched it from VS in Debugging mode. I did 'from test import support' and then it crashed. VS said this line was the faulty one, and didn't give me anything else

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5bdfe132e4ed by Alexander Belopolsky in branch 'default': #28067: Fixed a typo. https://hg.python.org/cpython/rev/5bdfe132e4ed -- ___ Python tracker

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > What is gmime_s? A typo. Should be gmtime_s. -- ___ Python tracker ___

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Mark Dickinson
Mark Dickinson added the comment: What is gmime_s? -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a504694d92f by Alexander Belopolsky in branch 'default': Closes #28067: Do not call localtime (gmtime) in datetime module. https://hg.python.org/cpython/rev/8a504694d92f -- nosy: +python-dev resolution: -> fixed stage: commit review ->

[issue28067] Do not call localtime (gmtime) in datetime module

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- title: Do not call localtime in datetime module -> Do not call localtime (gmtime) in datetime module ___ Python tracker

[issue28069] signalmodule.c does "is" comparisons for SIG_IGN and SIG_DFL

2016-09-10 Thread Mark Dickinson
Mark Dickinson added the comment: Also applies to 2.7, 3.5. -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___

[issue28069] signalmodule.c does "is" comparisons for SIG_IGN and SIG_DFL

2016-09-10 Thread Mark Dickinson
New submission from Mark Dickinson: Modules/signalmodule.c contains this code: if (handler == IgnoreHandler) func = SIG_IGN; else if (handler == DefaultHandler) func = SIG_DFL; ... Here IgnoreHandler and DefaultHandler are ints. The code above effectively does an

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-10 Thread Gevorg Voskanyan
New submission from Gevorg Voskanyan: Traceback (most recent call last): File ".../freeze.py", line 493, in main() File ".../freeze.py", line 222, in main flagged_version = version + sys.abiflags AttributeError: module 'sys' has no attribute 'abiflags' -- components: Demos

[issue27629] Cannot create ssl.SSLSocket without existing socket

2016-09-10 Thread Christian Heimes
Christian Heimes added the comment: I'm considering to not fix this bug and rather remove the dead code. This feature was never documented and has been broken since 3.3, maybe earlier. It's also hard to use it correctly because you need to pass the correct socket family and type. For 3.6 I'm

[issue28067] Do not call localtime in datetime module

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +patch stage: -> commit review Added file: http://bugs.python.org/file44537/issue28067.diff ___ Python tracker

[issue22627] Calling timestamp() on a datetime object modifies the timestamp of a different datetime object.

2016-09-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Superseded by #28067. -- resolution: -> duplicate status: open -> closed superseder: -> Do not call localtime in datetime module ___ Python tracker

[issue28059] Windows: test_platform.test_architecture_via_symlink() regression

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94563ec74e1d by Steve Dower in branch '3.5': Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files https://hg.python.org/cpython/rev/94563ec74e1d New changeset 3ec4feb52a5b by Steve Dower in branch 'default': Closes #28059: Fixes

[issue28059] Windows: test_platform.test_architecture_via_symlink() regression

2016-09-10 Thread Steve Dower
Steve Dower added the comment: This bug is entirely because _ctypes cannot be found when we launch from the symlink without also setting PYTHONPATH. I've already removed the import of _ctypes, but I'll also set PYTHONPATH in the test as there's no reason to require only builtins here.

[issue25221] PyLong_FromLong() potentially returns irregular object when small_ints[] isn't used

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9eb0f7762999 by Mark Dickinson in branch '3.5': Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0. https://hg.python.org/cpython/rev/9eb0f7762999 New changeset c7b48798dbaa by Mark Dickinson

[issue25221] PyLong_FromLong() potentially returns irregular object when small_ints[] isn't used

2016-09-10 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report! Fixed. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue28067] Do not call localtime in datetime module

2016-09-10 Thread Alexander Belopolsky
New submission from Alexander Belopolsky: POSIX localtime function mutates global state which leads to subtle bugs on some platforms. We should call localtime_r or localtime_s instead. See issue 22627. -- assignee: belopolsky messages: 275678 nosy: belopolsky priority: normal

[issue28060] Clean up division fast paths in Objects/longobject.c

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch LGTM. I'll open separate issue for guaranteeing that a->ob_digit[0] is 0 in case of Py_SIZE(a) == 0 and using this fact for simplifying and optimizing the code. -- nosy: +serhiy.storchaka ___ Python

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Much thanks! It's now building fine and running fine with my configuration. The test suite is still running and I believe there won't be more surprise than failed tests. -- ___ Python tracker

[issue28064] String executed inside a function ignores global statements

2016-09-10 Thread Xiang Zhang
Xiang Zhang added the comment: Not a bug. Put the global statement inside: >>> variable = 'test' >>> def changeVariable(): ... exec("global variable; variable = 'newText'") ... >>> changeVariable() >>> print(variable) newText -- nosy: +xiang.zhang resolution: -> not a bug stage:

[issue28060] Clean up division fast paths in Objects/longobject.c

2016-09-10 Thread Mark Dickinson
Mark Dickinson added the comment: Serhiy: thanks for the review. Replying here, since I get a 500 error every time I try to reply from Rietveld. I'd rather not rely on either NSMALLPOSINTS > 0 or on digit 0 existing when Py_SIZE is 0. We don't rely on that elsewhere, and the code should stay

[issue25221] PyLong_FromLong() potentially returns irregular object when small_ints[] isn't used

2016-09-10 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson nosy: +mark.dickinson stage: -> commit review versions: +Python 3.6 ___ Python tracker

[issue28066] [Patch] Fix the ability to cross compile Python when doing a rebuild of importlib.h

2016-09-10 Thread Ed Schouten
New submission from Ed Schouten: For CloudABI (https://mail.python.org/pipermail/python-dev/2016-July/145708.html) we're providing packages containing a precompiled copy of Python. As we had to make some changes to importlib (namely to deal with directory file descriptors), we have to do a

[issue27932] platform.win32_ver() leaks in 2.7.12

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset dbfcb3b9c3c1 by Steve Dower in branch '3.5': Issue #27932: Backs out change https://hg.python.org/cpython/rev/dbfcb3b9c3c1 -- ___ Python tracker

[issue27932] platform.win32_ver() leaks in 2.7.12

2016-09-10 Thread Steve Dower
Steve Dower added the comment: Backed out because of issue28059. I'll rewrite this to properly use native code. -- assignee: -> steve.dower ___ Python tracker

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-10 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch to add sys._git and update Py_GetBuildInfo() as necessary. I would like to see this in Python 3.6 as 3.6.0 will be released using Mercurial but (hopefully) subsequent releases will be on git, so any reviews will be appreciated. I will hold off

[issue28065] Update Windows build to xz-5.2.2

2016-09-10 Thread Zachary Ware
New submission from Zachary Ware: Attached patch builds xz-5.2.2 ourselves rather than relying on pre-built binaries. It copies the project file from xz and modifies it to fit our setup, so updates may not be a 3 line change like a sqlite3 update. This is rather beta-quality, I'm sure

[issue10342] trace module cannot produce coverage reports for zipped modules

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___

[issue9004] datetime.utctimetuple() should not set tm_isdst flag to 0

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue24693] zipfile: change RuntimeError to more appropriate exception type

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changed cases 3, 4, 5, 7, and 8. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue766910] fix one or two bugs in trace.py

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> versions: +Python 3.7 -Python 3.3, Python 3.4 ___ Python tracker

[issue26885] Add parsing support for more types in xmlrpc

2016-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue9398] Unify sys.settrace and sys.setprofile tests

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> versions: -Python 3.5 ___ Python tracker ___

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.7 -Python 3.3 ___ Python tracker ___

[issue8915] Use locale.nl_langinfo in _strptime

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.7 -Python 3.4 ___ Python tracker ___

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> versions: +Python 3.7 -Python 3.4 ___ Python tracker ___

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> versions: -Python 2.6, Python 2.7 ___ Python tracker ___

[issue24693] zipfile: change RuntimeError to more appropriate exception type

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22112359abcf by Serhiy Storchaka in branch 'default': Issue #24693: Changed some RuntimeError's in the zipfile module to more https://hg.python.org/cpython/rev/22112359abcf -- nosy: +python-dev ___

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Zachary Ware
Zachary Ware added the comment: LGTM, thank you Xavier! -- ___ Python tracker ___ ___ Python-bugs-list

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: Haha whoops, that'd be my debugging. I'll remove it this weekend if nobody else has gotten to it. On Sat, Sep 10, 2016, 9:44 AM Xiang Zhang wrote: > > Xiang Zhang added the comment: > > Gregory, the change adds a print in: >

[issue23722] During metaclass.__init__, super() of the constructed class does not work

2016-09-10 Thread Martin Teichmann
Martin Teichmann added the comment: This is the originial patch rebased such that it applies to the current master. As a detail in the discussion: "__classcell__" is not visible during the execution of the class body, as it is added at the end of the class body. In this regard, it is

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: With the attached patch, the python test suite runs smoothly on android and without errors on linux. On android, there are two new failed test cases in test_sysconfig that I will look into later (in the frame of this issue, I guess ?), but otherwise about the

[issue28059] Windows: test_platform.test_architecture_via_symlink() regression

2016-09-10 Thread STINNER Victor
STINNER Victor added the comment: > Though ctypes here is incorrect anyway. I really ought to rewrite it into the > winapi module. I agree, it's much better to avoid ctypes in the stdlib. -- ___ Python tracker

[issue24254] Make class definition namespace ordered by default

2016-09-10 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___

[issue24254] Make class definition namespace ordered by default

2016-09-10 Thread Brett Cannon
Brett Cannon added the comment: All reasonable points. You just sounded upset and I wanted to point out the decision was not made lightly, without discussion with the person in charge of the proposal and the BDFL, or we were breaking backwards-compatibility due to some drunken ordered

[issue28059] Windows: test_platform.test_architecture_via_symlink() regression

2016-09-10 Thread Steve Dower
Steve Dower added the comment: Though ctypes here is incorrect anyway. I really ought to rewrite it into the winapi module. I'll revert the memory leak fix and fix the tests for b1, then look at converting it into a native function for b2. -- ___

[issue24254] Make class definition namespace ordered by default

2016-09-10 Thread Nick Coghlan
Nick Coghlan added the comment: While I hadn't read the related thread at the point where I made that comment (so thank you for at least raising the question there), I'm still on the opposite side of the planet, so any decision made in less than 24 hours from proposal to resolution is

  1   2   >