[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-07 Thread Aaron Hall
Aaron Hall added the comment: I tweaked the docs a little more this morning, but I believe I am done making any further changes unless so requested. This issue doesn't say it's assigned to anyone. Is there anything else that needs to happen here? --

[issue30589] With forkserver, Process.exitcode does not get signal number

2017-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2055 ___ Python tracker ___ ___

[issue30589] With forkserver, Process.exitcode does not get signal number

2017-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review ___ Python tracker ___ ___

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Nobody has AFAIK. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-07 Thread Noah Levitt
New submission from Noah Levitt: As far as I can tell, sqlite3 executescript() does not respect isolation_level. Is that true? If so, I think it's worth mentioning in the doc. Or maybe it should respect isolation_level, not sure there's any particular reason not to. -- components:

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-07 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> needs patch ___ Python tracker ___ ___

[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: Attached test_unparse.py file should be copied to Lib/test/test_tools/test_unparse.py to run: ./python -m test -R 1:2 -m test_files test_tools With this change, I get this output: --- haypo@selma$ ./python -m test -R 1:2 -m test_files test_tools Run tests

[issue1207613] Idle Editor: Bottom Scroll Bar

2017-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Output Window definitely needs a scrollbar available on screens where it cannot be stretched to 160 chars or so. Thinking about it, if one greps idlelib in a local install, with a url something like C:/users/somename/appdata/local/python/lib/idlelib/*.py,

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for catching this bug SylvainDe. This is a regression caused by issue30534. I added "()" after the function name for unifying with other error messages but missed that _PyArg_NoKeywords() often is called with argument containing "()", e.g.

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-07 Thread SylvainDe
SylvainDe added the comment: The issue seems to be in: int _PyArg_NoKeywords(const char *funcname, PyObject *kwargs) I'm happy to submit a PR if needed. -- ___ Python tracker

[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: -easy (C) ___ Python tracker ___ ___

[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I tagged the issue too early as "[EASY]" while it's a super complex bug... I'm unable to say if the issue is a real leak or not... -- title: [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references -> test_files() of

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-07 Thread SylvainDe
SylvainDe added the comment: Reproduced locally using unit tests: +def test_varargs0_kw(self): +msg = r"bool\(\) takes no keyword arguments" +self.assertRaisesRegex(TypeError, msg, bool, x=2) + giving: Traceback (most recent call last): File

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: #26413 is about fixing shadowing problem. Current thought for this issue: add a section to IDLE doc listing known possible causes (message above). Reference section in message, giving web link. -- ___ Python

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 -Python 3.6 ___ Python tracker

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka components: +Interpreter Core nosy: +serhiy.storchaka type: enhancement -> behavior versions: +Python 3.7 ___ Python tracker

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5edf827c8052958b9d293f75ce8d93b66c1d58da by Serhiy Storchaka (Jonathan Eunice) in branch 'master': bpo-30591: Added test for textwrap backtracking. (#1988) https://github.com/python/cpython/commit/5edf827c8052958b9d293f75ce8d93b66c1d58da

[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread Nikhil Patel
Nikhil Patel added the comment: I'd like to respectfully disagree with the suggestions/conclusions mentioned here. I'll explain my reasoning and conclusions below. First the short version - I'm fairly confident the leak actually has to do with:

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-07 Thread SylvainDe
New submission from SylvainDe: Very recent "regression". Issue found because of a pet project trying to parse error messages using regexps : more on https://github.com/SylvainDe/DidYouMean-Python/issues/31 . On recent Cron builds on Jenkins, running the following code

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2054 ___ Python tracker ___ ___

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-07 Thread Chris Wilcox
Chris Wilcox added the comment: I am going to work on this if no one else has started. -- nosy: +crwilcox ___ Python tracker ___

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2017-06-07 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: needs patch -> patch review ___ Python tracker ___

[issue30590] str.format no longer accepts unpacked defaultdict for default values

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There was a bug (see issue18531). It was fixed in 3.6. Use str.format_map() for formatting with arbitrary mapping. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed

[issue28686] py.exe ignored PATH when using python3 shebang

2017-06-07 Thread Riccardo Polignieri
Riccardo Polignieri added the comment: @Jens Lindgren I know, pretty annoying right? But see previous answer by Paul here http://bugs.python.org/issue28686#msg287181 > The Unix ability to have 2 different versions of Python on PATH > and select which you use based on executable name doesn't

[issue30353] ctypes: pass by value for structs broken on Cygwin/MinGW 64-bit

2017-06-07 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3 by Vinay Sajip (Erik Bray) in branch 'master': bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559) https://github.com/python/cpython/commit/9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: I merged your fix. Thanks! Let's wait for Windows buildbots. If tests pass on buildbots, the change should be backported to other branches impacted by the bug. http://buildbot.python.org/all/waterfall?category=3.x.stable=3.x.unstable --

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Steve Dower
Steve Dower added the comment: Good point about not needing 3.5. Buildbots were clean, so I merged it. Thanks Antoine! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed versions: -Python 3.5 ___ Python tracker

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Steve Dower
Steve Dower added the comment: New changeset ceabf9acf03f9bbe660d856bff90ecab475ab543 by Steve Dower (Antoine Pietri) in branch '3.6': bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893) (#1985)

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 897bba75632dfce87c355e3cd4700468357715a7 by Victor Stinner (Denis Osipov) in branch 'master': bpo-30584: Fix test_os fails on non-English Windows (#1980) https://github.com/python/cpython/commit/897bba75632dfce87c355e3cd4700468357715a7

[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: It seems like compile() only leaks when using PyCF_ONLY_AST: compile(source, "filename", "exec", ast.PyCF_ONLY_AST) It's maybe a leak in the PyAST_mod2obj() function when creating dictionaries of created AST objects. But in ast_dealloc() of

[issue30590] str.format no longer accepts unpacked defaultdict for default values

2017-06-07 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___

[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: (Oops, I modified the file while uploading here. I reuploaded the correct bug.py.) -- Added file: http://bugs.python.org/file46930/bug.py ___ Python tracker

[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file46929/bug.py ___ Python tracker ___

[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: I isolated the leak to attached bug.py script. Output: --- haypo@selma$ ./python bug.py [ Top 10 differences ] bug.py:40: size=6728 B (+6728 B), count=80 (+80), average=84 B bug.py:46: size=2464 B (+2464 B), count=28 (+28), average=88 B bug.py:43: size=2464 B

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Jonathan Eunice
New submission from Jonathan Eunice: A rare case in textwrap when max_lines insufficient and textwrap needs to backtrack to a previous line to add the placeholder seems to lack test coverage. This issue added as prereq for suggesting an additional test. PR imminent. Code: Lib/textwrap.py (as

[issue30590] str.format no longer accepts unpacked defaultdict for default values

2017-06-07 Thread Carmen Bianca Bakker
New submission from Carmen Bianca Bakker: As brief as can be, the following script works in Python 3.4 and Python 3.5: from collections import defaultdict mydict = defaultdict(lambda: 'default') print('{foo}'.format(**mydict)) And prints "default". In Python 3.6, you get a

[issue30566] punycode codec raises IndexError in decode_generalized_number()

2017-06-07 Thread Vikram Hegde
Changes by Vikram Hegde : -- pull_requests: +2053 ___ Python tracker ___ ___

[issue30586] Encode to EBCDIC doesn't take into account conversion table irregularities

2017-06-07 Thread Vladimir Filippov
Vladimir Filippov added the comment: According to ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/CP037.TXT symbols [ and ] have other codes (instead of 0xAD and 0xBD): 0xBA0x005B #LEFT SQUARE BRACKET 0xBB0x005D #RIGHT SQUARE BRACKET Looks like

[issue30546] [EASY][Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: Ok, this issue was a duplicate of bpo-30567 which was already fixed. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Leak in sys.getwindowsversion ___ Python tracker

[issue30567] Leak in sys.getwindowsversion

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: The issue 30546 has been marked as a duplicate of this issue. -- nosy: +haypo ___ Python tracker ___

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Antoine Pietri
Antoine Pietri added the comment: The only backport was for 3.6 as the previous versions don't have the strict= parameter. PR submitted here: https://github.com/python/cpython/pull/1985 -- ___ Python tracker

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2017-06-07 Thread Mikhail
Mikhail added the comment: So, I tried the modified patch (see http://aldan.algebra.com/~mi/tmp/patch-issue30345) -- and now I simply get a different variable name in the error-message: (gdb) py-bt Python Exception Variable 'func' not found.: Error occurred in Python command: Variable

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Antoine Pietri
Changes by Antoine Pietri : -- pull_requests: +2052 ___ Python tracker ___ ___

[issue30588] Missing documentation for codecs.escape_decode

2017-06-07 Thread Matthieu Dartiailh
Matthieu Dartiailh added the comment: The issue is that unicode_escape will not properly handle strings mixing unicode character and escaped character as it assumes latin-1 compatible characters only. For example, given the literal string 'Δ\nΔ', one cannot encode using latin-1 and encoding it

[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-07 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> not a bug ___ Python tracker ___ ___

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Steve Dower
Steve Dower added the comment: New changeset add98eb4fe41baeaa70fbd4ccc020833740609a4 by Steve Dower (Antoine Pietri) in branch 'master': bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893) https://github.com/python/cpython/commit/add98eb4fe41baeaa70fbd4ccc020833740609a4

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-07 Thread Steve Dower
Steve Dower added the comment: As usual, I can easily hit merge but may not be able to get to the backport immediately. Someone else can feel free to cherrypick and submit the PRs and I'll hit merge on them. We should also watch the buildbots for failures though before backporting.

[issue30588] Missing documentation for codecs.escape_decode

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is an internal function kept for compatibility. It is used only for decoding pickle protocol 0 data created in Python 2. Look at unicode_escape and raw_unicode_escape codecs for doing similar decoding to strings in Python 3. -- nosy:

[issue30589] With forkserver, Process.exitcode does not get signal number

2017-06-07 Thread Antoine Pitrou
New submission from Antoine Pitrou: The documentation for multiprocessing.exitcode says: """ The child’s exit code. This will be None if the process has not yet terminated. A negative value -N indicates that the child was terminated by signal N. """ This is true for the "fork" method, but

[issue30588] Missing documentation for codecs.escape_decode

2017-06-07 Thread Matthieu Dartiailh
New submission from Matthieu Dartiailh: codecs.escape_decode does not appear in the codecs documentation. This function is to my knowledge the only convenient way to process the escaped characters in a literal string (actually found here

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2017-06-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems that commit (https://github.com/python/cpython/commit/c52572319cbd50adff85050a54122c25239a516d) changed the parameter name in the definition of _PyCFunction_FastCallDict(). I believe that changing 'func_obj' to just 'func' should fix it (in

[issue28686] py.exe ignored PATH when using python3 shebang

2017-06-07 Thread Jens Lindgren
Jens Lindgren added the comment: Sorry I need to clarify. On Linux both python and python3 works as there is a symlink created from python to python3 in the venv folder. On Windows only python.exe is created. I copied it to python3.exe. Now I can use python3 script.py to start but py-launcher

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2017-06-07 Thread Mikhail
Mikhail added the comment: The actual stack, which I'm trying to debug, begins like this: #0 0xbfbfd34e in ?? () #1 0x2a9ec81e in ?? () from /opt/lib/qt5/libQt5WebKit.so.5 #2 0x2acf0efe in ?? () from /opt/lib/qt5/libQt5WebKit.so.5 #3 0x2acd8b74 in ?? () from /opt/lib/qt5/libQt5WebKit.so.5

[issue30014] Speedup DefaultSelectors.modify() by 2x

2017-06-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: OK, https://github.com/python/cpython/pull/1030 should be good to go. -- ___ Python tracker ___

[issue12815] Coverage of smtpd.py

2017-06-07 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue28686] py.exe ignored PATH when using python3 shebang

2017-06-07 Thread Jens Lindgren
Jens Lindgren added the comment: I just got hit by this bug and would like to add my thoughts on this. If you are in an activated venv, no matter if you launch with command python or python3, it will launch the version in venv (version 3.6.1 in this case). I expect the py-launcher and shebang

[issue30586] Encode to EBCDIC doesn't take into account conversion table irregularities

2017-06-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> not a bug status: open -> pending ___ Python tracker ___

[issue30586] Encode to EBCDIC doesn't take into account conversion table irregularities

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The cp500 codec in Python is generated from the table ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/CP500.TXT . There are several EBCDIC code pages. EBCDIC-compatible encodings supported in Python are: cp037, cp273, cp424, cp500, cp875, cp1026

[issue30587] Mock with spec object does not ensure method call signatures

2017-06-07 Thread Claudiu Belu
New submission from Claudiu Belu: Mock can accept a spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the spec's methods signatures are respected in any way. This

[issue30359] Annotating a function as returning an (async) context manager?

2017-06-07 Thread Nick Coghlan
Nick Coghlan added the comment: As far as whether or not this usage fits within the guidelines at https://www.python.org/dev/peps/pep-0008/#function-annotations, it would definitely be worth bringing up in a python-dev thread before going ahead with it. I think it's a good dynamic use of

[issue30359] Annotating a function as returning an (async) context manager?

2017-06-07 Thread Nick Coghlan
Nick Coghlan added the comment: Even Python 2 functions support setting arbitrary attributes, so contextlib2.contextmanager can always just add an __annotations__ dict to decorated functions if it doesn't already exist. ``` >>> def f(): ... pass ... >>> f.__annotations__ Traceback (most

[issue1207613] Idle Editor: Bottom Scroll Bar

2017-06-07 Thread Cheryl Sabella
Cheryl Sabella added the comment: I hope you don't mind that I made a change for this. I was working with 'Find in files' and couldn't see the full line, so I figured out where to add the scroll bar. I only found this ticket after the fact. If it's not appropriate, I can withdraw the PR.

[issue1207613] Idle Editor: Bottom Scroll Bar

2017-06-07 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2050 ___ Python tracker ___ ___

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: With PR 1981, a ResourceWarning is printed when a RecursionError occurs while normalizing another exception and its traceback holds a reference to a non-closed file object. For information, issue 5437 removed the MemoryError singleton for the same reasons as

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-07 Thread Will Roberts
Will Roberts added the comment: Github PR adds simple test, as well as an entry in Misc/NEWS. -- ___ Python tracker ___

[issue30586] Encode to EBCDIC doesn't take into account conversion table irregularities

2017-06-07 Thread Vladimir Filippov
New submission from Vladimir Filippov: These 4 symbols were encoded incorrectly to EBCDIC (codec cp500): "![]|". Correct table of conversation for these symbols described in

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-07 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: +2049 ___ Python tracker ___ ___

[issue12815] Coverage of smtpd.py

2017-06-07 Thread Milan Oberkirch
Changes by Milan Oberkirch : -- nosy: -zvyn ___ Python tracker ___ ___

[issue30359] Annotating a function as returning an (async) context manager?

2017-06-07 Thread Nathaniel Smith
Nathaniel Smith added the comment: I can think of two downsides to using __annotations__ for this: 1) Obviously contextlib itself isn't going to add any kind of annotation in any versions before 3.7, but third-party projects might (like contextlib2, say). And these projects have been known to

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-07 Thread Sven Marnach
Sven Marnach added the comment: The current behaviour of islice() seems inconsistent with the rest of Python. All other functions taking start, stop and step arguments like slice(), range() and itertools.count() do accept integer-like objects. The code given as "roughly equivalent" in the

[issue30080] Add the --duplicate option for timeit

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, I even didn't know that "perf timeit" supports -n since it doesn't report the number of loops. And seems it runs the benchmark much more times, since even with -n1 it is slow. If the number of loops is determined automatically, it would do not matter.

[issue30546] [EASY][Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: It seems like the bug was already fixed last days! -- ___ Python tracker ___

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: > At the end, you should get the commit > 6b4be195cd8868b76eb6fbe166acc39beee8ce36. The commit is a giant change. So let me help you, the following change is strange. value is replaced whereas its value is non-NULL... Maybe it's the regression? ;-) diff

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: The failing unit test was added by: commit 2d350fd8af29eada0c3f264a91df6ab4af4a05fd Author: Antoine Pitrou Date: Thu Aug 1 20:56:12 2013 +0200 Issue #18619: Fix atexit leaking callbacks registered from sub-interpreters, and make it

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread Denis Osipov
Denis Osipov added the comment: Using the numeric SID instead of localized name in test_access_denied works for me (I've made PR). -- ___ Python tracker

[issue30500] [security] urllib connects to a wrong host

2017-06-07 Thread STINNER Victor
Changes by STINNER Victor : -- title: urllib connects to a wrong host -> [security] urllib connects to a wrong host ___ Python tracker

[issue30585] [security][3.3] Backport smtplib fix for TLS stripping vulnerability, CVE-2016-0772

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: PEP 398: Python 3.3 Release Schedule Python 3.3 branch end of support is expected to be at 2017-09-29, in 4 months. -- assignee: -> georg.brandl ___ Python tracker

[issue30585] [security][3.3] Backport smtplib fix for TLS stripping vulnerability, CVE-2016-0772

2017-06-07 Thread STINNER Victor
New submission from STINNER Victor: Attached pull request backports a fix for this security vulnerability: http://python-security.readthedocs.io/vuln/cve-2016-0772_smtplib_tls_stripping.html "A vulnerability in smtplib allowing MITM attacker to perform a startTLS stripping attack. smtplib does

[issue30500] urllib connects to a wrong host

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: > I think the best behavior is to do what popular web browsers do. Chrome and > Firefox, for example, parses this is host 127.0.0.1, path /, fragment > #@evil.com. I agree that in case of doubt, it's better to follow the implementation of most popular web

[issue30080] Add the --duplicate option for timeit

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: About the command line interface, I would expect that "timeit -n 10 --duplicate 10 STMT" would run STMT 100 times. I chose this behaviour in perf timeit: http://perf.readthedocs.io/en/latest/cli.html#timeit-cmd Current behaviour chosen by Serhiy, -n3

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread STINNER Victor
STINNER Victor added the comment: > exit status 1332. On the Internet, I found: 1332No mapping between account names and security IDs was done. The unit test: @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") def test_access_denied(self): # Default to

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread Denis Osipov
Changes by Denis Osipov : -- pull_requests: +2046 ___ Python tracker ___ ___

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-07 Thread Denis Osipov
New submission from Denis Osipov: test_os fails on non-English (Russian) Windows 7 Home Extended 6.1.7601 x64 == ERROR: test_access_denied (test.test_os.StatAttributeTests)