[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows

2017-10-26 Thread Akos Kiss
Akos Kiss added the comment: And I thought that my analysis was thorough... Exit code 1 is the way to go, I agree now. -- ___ Python tracker

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 37d1d967eed4018ef397dd9d1515683e5b6b55e7 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907)

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +4110 stage: -> patch review ___ Python tracker ___

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset d609b0c24ebdb748cabcc6c062dfc86f9000e6c4 by Berker Peksag (cocoatomo) in branch 'master': bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907)

[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows

2017-10-26 Thread Eryk Sun
Eryk Sun added the comment: A C/C++ program returns EXIT_FAILURE for a generic failure. Microsoft defines this macro value as 1. Most tools that a user might use to forcibly terminate a process don't allow specifying the reason; they just use the generic value of 1. This

[issue31860] IDLE: Make font sample editable

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the patch. Adding the feature is somehow easier than I expected. After moving the sample text to module level, which I considered doing before, saving edits for the duration of an IDLE session turned out to also be easy. With

[issue31881] subprocess.returncode not set depending on arguments to subprocess.run

2017-10-26 Thread Nick
Nick added the comment: I have verified that $ mpirun -np 4 myexe.x moreargs; echo $? 1 -- ___ Python tracker ___

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4109 stage: commit review -> patch review ___ Python tracker ___

[issue31881] subprocess.returncode not set depending on arguments to subprocess.run

2017-10-26 Thread R. David Murray
R. David Murray added the comment: If you run mpirun -np 4 myexe.x moreargs; echo $? in /bin/sh, what do you see? You also might try to make sure it is the same mpirun and the same myexe.x that is being called in both cases (it is the mpirun return code you are

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I put the new shell variables into PyShell itself. There is usually only one instance created in a session. I tested the patch manually in both shell and editor with both the default prompt and with sys.ps1 set before importing

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +4107, 4108 stage: test needed -> patch review ___ Python tracker

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4107 stage: test needed -> patch review ___ Python tracker ___

[issue31881] subprocess.returncode not set depending on arguments to subprocess.run

2017-10-26 Thread Nick
New submission from Nick : If subprocess.run is called with a single string, say: completed_ps = subprocess.run('mpirun -np 4 myexe.x moreargs', shell=True) and 'myexe.x moreargs' fails with a returncode of 1, then 'completed_ps.returncode' is None. However, if we

[issue31415] Add -X option to show import time

2017-10-26 Thread INADA Naoki
INADA Naoki added the comment: Does it worth enough? I didn't think it's worth enough because import will be much slower than one dict lookup. -- ___ Python tracker

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- versions: -Python 3.5 ___ Python tracker ___ ___

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4106 ___ Python tracker ___ ___

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Ivan. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c83c23fa32405aa9212f028d234f4129d105a23 by Serhiy Storchaka (Ivan Levkivskyi) in branch 'master': bpo-28936: Detect lexically first syntax error first (#4097)

[issue25729] update pure python datetime.timedelta creation

2017-10-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Brian, is this still relevant? If so, cab you submit a pull request? -- versions: +Python 3.7 -Python 3.6 ___ Python tracker

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-26 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: > Is it correct that the parameter can be annotated in the function body? I agree with Guido, this is rather a task for type checkers. -- ___ Python tracker

[issue31803] time.clock() should emit a DeprecationWarning

2017-10-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 26.10.2017 13:46, Serhiy Storchaka wrote: > > It is very bad, that the function with such attractive name has different > meaning on Windows and Unix. I'm sure that virtually all uses of clock() are > broken because its behavior on

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-26 Thread David Bolen
David Bolen added the comment: Sure, I can certainly do that. Does "basically a requirement" mean it should have been there all along (with the VC9 installation), or just that trying to use VC9 on a recent system like Win 10 safely requires it installed separately? I

[issue20486] msilib: can't close opened database

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4105 ___ Python tracker ___ ___

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-26 Thread Guido van Rossum
Guido van Rossum added the comment: Those seem things that the type checker should complain about, but I don't think Python should. -- ___ Python tracker

[issue28281] Remove year limits from calendar

2017-10-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 66c88ce30ca2b23daa37038e1a3c0de98f241f50 by Alexander Belopolsky in branch 'master': Closes bpo-28281: Remove year (1-) limits on the weekday() function. (#4109)

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Uh, sorry for the noise. I see now that shutil was already patched by Victor and you in #26801, so that it already works with IDLE started from an icon. So now I don't understand your last comment, "Patching shutil will help for pandas."

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is better to open a new issue for a new feature. The bug reported in this issue two years ago already is fixed. -- ___ Python tracker

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am preparing a PR for shutil.get_window_size. Pyplot should probably call that instead of the os version. -- ___ Python tracker

[issue30553] Add HTTP Response code 421

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you Julien (for the report) and Vitor (for the patch) -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 -Python 3.6 ___ Python tracker

[issue30553] Add HTTP Response code 421

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 52ad72dd0a5a56414cc29b7c9b03259169825f35 by Berker Peksag (Vitor Pereira) in branch 'master': bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589)

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patching shutil will help for pandas. -- ___ Python tracker ___

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-26 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: -4103 ___ Python tracker ___ ___

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What do you want to do Terry? -- ___ Python tracker ___

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-10-26 Thread Tom Floyer
Tom Floyer added the comment: I've added those keywords to documentation master branch. -- nosy: +tomfloyer pull_requests: +4104 ___ Python tracker

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-26 Thread Tom Floyer
Change by Tom Floyer : -- pull_requests: +4103 ___ Python tracker ___ ___

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: If one starts IDLE from a command-line console (python -m idlelib) or Python console (import idlelib.idle), sys.__stdout__ is the TextIOWraper for that console and .fileno() returns 1. .get_terminal_size() will then return the console

[issue20486] msilib: can't close opened database

2017-10-26 Thread xoviat
xoviat added the comment: Unfortunately, this issue has taken on a much lower importance for me, and as such, I won't be able to address it. Sorry about that. 2017-10-26 0:01 GMT-05:00 Berker Peksag : > > Berker Peksag added

[issue16135] Removal of OS/2 support

2017-10-26 Thread Erik Bray
Change by Erik Bray : -- pull_requests: +4102 ___ Python tracker ___ ___

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-26 Thread Steve Dower
Steve Dower added the comment: Are you able to install .NET 3.5 on the Windows 10 machine? This is basically a requirement for the VC9 toolset (it's compatible with .NET 2.0 so should fulfil that requirement). -- ___ Python

[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2017-10-26 Thread John Brearley
New submission from John Brearley : There is an interesting interaction between the IDLEX GUI and subprocess module that causes pygnuplot silent failures. The example.py script below works fine when run from the WinPython Command Prompt.exe terminal window. The script will

[issue30904] Python 3 logging HTTPHandler sends duplicate Host header

2017-10-26 Thread Vinay Sajip
Change by Vinay Sajip : -- versions: +Python 3.7 ___ Python tracker ___ ___

[issue31879] Launcher fails on custom command starting with "python"

2017-10-26 Thread Robert
New submission from Robert : In the "py.ini" file it is possible to specifiy customized commands (see https://www.python.org/dev/peps/pep-0397/#customized-commands). Unfortunately it is not possible to specify custom commands beginning with one of the buildin names (i.e.

[issue31415] Add -X option to show import time

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The importtime option is cached only if it is set. If it is not set (the common case), it is not cached. PR 4138 makes it be cached in the common case and improves errors handling. -- status: closed -> open

[issue31415] Add -X option to show import time

2017-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4101 ___ Python tracker ___ ___

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: Alright, now it makes sense. Thank you for writing a thoughtful response. -- ___ Python tracker

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread R. David Murray
R. David Murray added the comment: Ionel please give commenters the benefit of the doubt. In this case, Raymond is merely articulating our policy: if something is in pre-PEP stage we don't generally keep issues open in the tracker. We open issues for PEPs when they

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread R. David Murray
R. David Murray added the comment: In this case I think the cost of editing for consistency may be higher than the value, especially since as you say there are ambiguous cases. -- ___ Python tracker

[issue31877] Build fails on Cython since issue28180

2017-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> ncoghlan components: +Interpreter Core, Windows nosy: +paul.moore, steve.dower, tim.golden ___ Python tracker

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: Fixed by issue 30697. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed versions: -Python 3.5 ___ Python tracker

[issue31828] Support Py_tss_NEEDS_INIT outside of static initialisation

2017-10-26 Thread Erik Bray
Change by Erik Bray : -- nosy: +erik.bray ___ Python tracker ___ ___ Python-bugs-list

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-10-26 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset 4b27d51222be751125e6800453a39360a2dec11d by xdegaye in branch '3.6': [3.6] bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327). (#4135)

[issue31878] Cygwin: _socket module does not compile due to missing ioctl declaration

2017-10-26 Thread Erik Bray
Change by Erik Bray : -- keywords: +patch pull_requests: +4100 stage: -> patch review ___ Python tracker ___

[issue31878] Cygwin: _socket module does not compile due to missing ioctl declaration

2017-10-26 Thread Erik Bray
New submission from Erik Bray : On Cygwin, ioctl() is found in sys/ioctl.h (as on Darwin). Without adding something to the effect of #ifdef __CYGWIN__ # include #endif the _socket module cannot compile on Cygwin. A fix was this was included in the (rejected)

[issue2445] Use The CygwinCCompiler Under Cygwin

2017-10-26 Thread Erik Bray
Change by Erik Bray : -- pull_requests: +4099 stage: commit review -> patch review ___ Python tracker ___

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: It should be open for getting some visibility, as I need some help here - Raymond, I hope you can find a way to be hospitable here and stop with the kindergarten behavior. -- status: closed -> open

[issue31877] Build fails on Cython since issue28180

2017-10-26 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7 ___ Python tracker ___ ___

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-10-26 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +4098 stage: -> patch review ___ Python tracker ___

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking as closed. This can be reopened if a PEP is submitted and is favorably received. -- assignee: rhettinger -> status: open -> closed versions: +Python 3.7 -Python 3.5 ___

[issue31877] Build fails on Cython since issue28180

2017-10-26 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +haypo, ncoghlan, zach.ware ___ Python tracker ___

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread David Antonini
David Antonini added the comment: Does the Unicode documentation currently conform to that convention, or does it require editing? It appears to me that a lot of cases where reference to "Unicode object" is currently capitalised (most of them, in fact) may need to

[issue31877] Build fails on Cython since issue28180

2017-10-26 Thread Erik Bray
Change by Erik Bray : -- keywords: +patch pull_requests: +4097 stage: -> patch review ___ Python tracker ___

[issue31877] Build fails on Cython since issue28180

2017-10-26 Thread Erik Bray
New submission from Erik Bray : I'm trying once again to get the test suite up to snuff on Cygwin so I can start running a buildbot (particularly now that PEP 539 is done). However, as of issue28180 the build fails with: gcc-o python.exe Programs/python.o

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current code OBVIOUSLY is wrong. Bytes are erased if q == oldq && nbytes < original_nbytes. But q == oldq only if realloc() returns the new address 2*sizeof(size_t) bytes larger than its argument. This is virtually never

[issue31876] python363.chm includes gibberish

2017-10-26 Thread Hery
New submission from Hery : Just Open https://www.python.org/ftp/python/3.6.3/python363.chm And click the first page, it says "What抯 New in Python". And most of pages the chm file include some gibberish. -- assignee: docs@python components: Documentation

[issue31875] Error 0x80070642: Failed to install MSI package.

2017-10-26 Thread Gareth Moger
Change by Gareth Moger : Added file: https://bugs.python.org/file47241/Python 3.6.1 (32-bit)_20171026151143.log ___ Python tracker

[issue31875] Error 0x80070642: Failed to install MSI package.

2017-10-26 Thread Gareth Moger
New submission from Gareth Moger : I had my work computer re-imaged this week but Python 3.6.1 is gone and I am unable to install. I have tried to completely remove it with CCleaner and any other references I found but it still will not install. I am installing

[issue31874] [feature] runpy.run_module should mimic script launch behavior for sys.path

2017-10-26 Thread Jason R. Coombs
Change by Jason R. Coombs : -- components: +Library (Lib) ___ Python tracker ___ ___

[issue31874] [feature] runpy.run_module should mimic script launch behavior for sys.path

2017-10-26 Thread Jason R. Coombs
Change by Jason R. Coombs : -- type: -> enhancement ___ Python tracker ___ ___

[issue31874] [feature] runpy.run_module should mimic script launch behavior for sys.path

2017-10-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: At first, I didn't understand why one wouldn't simply omit sys.path[0], similar to what scripts do, but then I realized that Nick was aware of a common use-case that I was overlooking - that `python -m` may be used to launch behavior in a

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: Hello everyone, Is anyone still interested in fixing this bug and help with whatever PEP drafting was needed for convincing people? I would sketch up a draft but for me at least it's not clear what are the disadvantages of not

[issue16737] Different behaviours in script run directly and via runpy.run_module

2017-10-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've filed a separate request here for the sys.path[0] aspect: https://bugs.python.org/issue31874 -- ___ Python tracker

[issue31874] [feature] runpy.run_module should mimic script launch behavior for sys.path

2017-10-26 Thread Jason R. Coombs
New submission from Jason R. Coombs : In [this comment](https://bugs.python.org/issue16737#msg282872) I describe an issue whereby launching an application via runpy.run_module (aka python -m) produces different and unexpected behavior than running the same app via an entry

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread R. David Murray
R. David Murray added the comment: It may be a proper noun, but it is conventionally spelled with a lowercase letter when referring to the type/object. It would be spelled with an upper case letter when referring to the *standard*. --

[issue16737] Different behaviours in script run directly and via runpy.run_module

2017-10-26 Thread Isaiah Peng
Isaiah Peng added the comment: Not sure if it's stated before, this difference of behavior also has other effects, e.g. $ python -m test.test_traceback # Ran 61 tests in 0.449s # FAILED (failures=5) This is because the loader associated with the module get confused, it

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree that the inconsistency should be fixed. But I'm not sure that we should use the words "an Unicode object" in Python 3. In many similar cases ("a bytes object", "a type object", "a module object") the name of Python type

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread David Antonini
New submission from David Antonini : Make 'unicode'/'Unicode' capitalization consistent. 'Unicode' is a proper noun, and as such should be capitalized. I submitted a pull request correcting the inconsistent capitalization in the Unicode page of the Documentation -

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-10-26 Thread Tom Floyer
Change by Tom Floyer : -- keywords: +patch pull_requests: +4095 stage: needs patch -> patch review ___ Python tracker ___

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset 56d1f5ca32892c7643eb8cee49c40c1644f1abfe by xdegaye in branch 'master': bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) https://github.com/python/cpython/commit/56d1f5ca32892c7643eb8cee49c40c1644f1abfe

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: Checking the test_exceptions test cases that are added by PR 2327 on the current master branch, before the merge of PR 2327: * test_recursion_normalizing_exception still fails (SIGABRT on a debug build and SIGSEGV otherwise) *

[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows

2017-10-26 Thread Akos Kiss
Akos Kiss added the comment: A follow-up: in addition to `taskkill`, I've taken a look at another "official" way for killing processes, the `Stop-Process` PowerShell cmdlet

[issue31803] time.clock() should emit a DeprecationWarning

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is very bad, that the function with such attractive name has different meaning on Windows and Unix. I'm sure that virtually all uses of clock() are broken because its behavior on other platform than used by the author of the

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it correct that the parameter can be annotated in the function body? def f(x): x: int Or that the local variable can be annotated after assignment? def f(): x = 1 x: int --

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- type: -> behavior ___ Python tracker ___ ___

[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows

2017-10-26 Thread Akos Kiss
Akos Kiss added the comment: `taskkill /F` sets exit code to 1, indeed. (Confirmed by experiment. Cannot find this behaviour documented, though.) On the other hand, MS Docs state (https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/signal#remarks) that

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-26 Thread STINNER Victor
STINNER Victor added the comment: "PR 4119 is too complex for a bugfix (especially if backport it to 3.5 and 3.4). It can introduce other regressions." Which kind of regression do you expect? Something like a crash? "The performance hit is not the only issue.

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
New submission from Andrew Svetlov : `SSLContext.wrap_bio` creates a new `SSLObject` instance with passed `server_hostname`. The name becomes IDNA-decoded: `'xn--2qq421aovb6v1e3pu.xn--j6w193g'` is converted to `'雜草工作室.香港'` by `SSLObject` constructor. Than on SSL

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-26 Thread STINNER Victor
STINNER Victor added the comment: "the bug should be fixed in all affected versions" I don't understand why you insist to change Python 3.4 and Python 3.5. IMHO this issue only impacts OpenBSD. "The current code in not correct on all platforms. We don't know how

[issue31803] time.clock() should emit a DeprecationWarning

2017-10-26 Thread STINNER Victor
STINNER Victor added the comment: Alexander Belopolsky: "I was not aware of time.clock() depreciation before Victor brought this issue to my attention." That's why the function now emits a DeprecationWarning :-) Alexander Belopolsky: "time.clock() is a very

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2b5cbbb13c6c9138d04c3ca4eb7431f8c65d8e65 by Serhiy Storchaka in branch '3.6': [3.6] bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (GH-4118) (#4128)

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Good catch, Pavel. Thanks! This is now fixed in 3.6 and 3.7 docs. Thanks for the patch, Ammar. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.6

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 614ea48986f80d361043510ac3945f3dcd666c31 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730)

[issue30949] Provide assertion functions in unittest.mock

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report. This is a duplicate of issue 24651. -- components: +Library (Lib) -Tests nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Mock.assert* API is in

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4094 ___ Python tracker ___

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 275d2d9c4663a1ea8d1f7c8778567a735b0372c1 by Berker Peksag (Ammar Askar) in branch 'master': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730)

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4093 stage: backport needed -> patch review ___ Python tracker ___

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue already is fixed in 3.5 (see issue26801). The Stackoverflow question is related to 3.4 which is too old for getting this fix. I'm wondering if it is worth to patch shutil.get_terminal_size() in IDLE so that it will

  1   2   >