[issue33351] Support compiling with clang-cl on Windows

2018-04-29 Thread Ethan Smith
Ethan Smith added the comment: > Feel free to start creating patches so we can get an idea of what the changes > would look like. Hopefully it's not that dramatic. Okay, will do. I have a few smaller patches to start with. Clang-cl tries to be as compatible as possible

[issue33390] matmul @ operator precedence

2018-04-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: Precedence issues when dealing with units is unavoidable, I think. The units program on Linux/Unix has similar issues, and they write their own parser and choose their own precedence.

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread bbayles
Change by bbayles : -- pull_requests: +6343 ___ Python tracker ___ ___ Python-bugs-list

[issue33390] matmul @ operator precedence

2018-04-29 Thread Eric V. Smith
Eric V. Smith added the comment: Operator precedence cannot change without breaking existing code. -- nosy: +eric.smith type: behavior -> enhancement versions: +Python 3.8 -Python 3.5 ___ Python tracker

[issue32533] SSLSocket read/write thread-unsafety

2018-04-29 Thread Steve Dower
Steve Dower added the comment: We don't have a roadmap, just volunteers. When someone is sufficiently motivated to work on it, it will happen. (You're welcome to try and motivate people with reason, pleading, money and/or abuse, though I don't recommend the last one

[issue33351] Support compiling with clang-cl on Windows

2018-04-29 Thread Steve Dower
Steve Dower added the comment: Feel free to start creating patches so we can get an idea of what the changes would look like. Hopefully it's not that dramatic. Be very careful making performance claims without benchmarks to back it up, and ideally against multiple

[issue33378] Add Korean to the language switcher

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6342 ___ Python tracker ___

[issue33197] Confusing error message when constructing invalid inspect.Parameters

2018-04-29 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +6341 stage: needs patch -> patch review ___ Python tracker ___

[issue32533] SSLSocket read/write thread-unsafety

2018-04-29 Thread Alfred Krohmer
Alfred Krohmer added the comment: Is there anything on the roadmap to fix this? This is a pretty severe bug given that this breaks multi-threaded OpenSSL while the documentation says it's thread-safe. -- nosy: +devkid ___ Python

[issue33390] matmul @ operator precedence

2018-04-29 Thread fabrice salvaire
New submission from fabrice salvaire : I use the new matmul @ operator to implement units, for example 1@u_s for 1 second ( see alpha state implementation at https://github.com/FabriceSalvaire/PySpice/tree/master/PySpice/Unit ). It looks cool, but unfortunately

[issue33389] argparse redundant help string

2018-04-29 Thread Stefan Seefeld
New submission from Stefan Seefeld : I'm using Python's `argparse` module to define optional arguments. I'm calling the `argparse.add_argument` method to add both short and long arguments, but I notice that the generated help message lists some information twice. For

[issue33374] generate-posix-vars failed when building Python 2.7.14 on Linux

2018-04-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0b91f8a668201fc58fa732b8acc496caedfdbae0 by Benjamin Peterson (Florian Weimer) in branch '2.7': Indicate that _PyGC_Head is only 8-byte aligned. (closes bpo-33374)

[issue33330] Better error handling in PyImport_Cleanup()

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c1a6832f50b36ffec299e6e6038535904e2b158d by Serhiy Storchaka in branch 'master': bpo-0: Write exceptions occurred in PyImport_Cleanup() to stderr. (GH-6606)

[issue32608] Incompatibilities with the socketserver and multiprocessing packages

2018-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hi Michael, sorry, I haven't had a chance yet. I'll try to make some time soon, I hope you don't mind the delay :-S -- ___ Python tracker

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset 9a039d5679a5838c876ff607ce2f5d8dc0fb307a by Miss Islington (bot) in branch '3.6': bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)

[issue33256] module is not displayed by cgitb.html

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset 736f17fb8d8b105567d56317f9c0b4c577ce4105 by Miss Islington (bot) in branch '3.7': bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)

[issue33256] module is not displayed by cgitb.html

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset ef91552cfb4b45f75b415dd43fb6a21795c8dbee by Miss Islington (bot) in branch '3.6': bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset cebce2e8d15db101435194f79be31b5d80455bb0 by Miss Islington (bot) in branch '3.7': bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 55edd0c185ad2d895b5d73e47d67049bc156b654 by Serhiy Storchaka (Siddhesh Poyarekar) in branch 'master': bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)

[issue33388] Support PEP 566 metadata in dist.py

2018-04-29 Thread Robert Bricheno
Change by Robert Bricheno : -- keywords: +patch pull_requests: +6339 stage: -> patch review ___ Python tracker ___

[issue33386] IDLE: Double clicking only recognizes ascii chars as identifiers

2018-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21474 has the solution, which I plan to apply today. -- keywords: +pep3121 resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Idle: updata fixwordbreaks() for unicode identifiers title: Double

[issue33388] Support PEP 566 metadata in dist.py

2018-04-29 Thread Robert Bricheno
New submission from Robert Bricheno : PEP 566 added the metadata fields 'Description-Content-Type' and 'Provides-Extra': https://www.python.org/dev/peps/pep-0566/ http://setuptools.readthedocs.io/en/latest/setuptools.html#metadata Currently dist.py in CPython distutils

[issue33318] Move folding tuples of constants into compiler.c from peephole.c

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: -6338 ___ Python tracker ___ ___

[issue33318] Move folding tuples of constants into compiler.c from peephole.c

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +6338 ___ Python tracker ___ ___ Python-bugs-list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +6337 stage: -> patch review ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- Removed message: https://bugs.python.org/msg315906 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
New submission from Mark Shannon : The six complex bytecodes currently used for implementing 'with' and 'try' statements can be replaced with just two simpler bytecodes. The six bytecodes are WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Mark Shannon added the comment: The six complex bytecodes currently used for implementing 'with' and 'try' statements can be replaced with just two simpler bytecodes. The six bytecodes are WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6336 ___ Python tracker ___

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6335 ___ Python tracker ___

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9f3535c9cde8813ce631d6ebe4d790682f594828 by Serhiy Storchaka (Bo Bayles) in branch 'master': bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)

[issue33328] pdb error when stepping through generator

2018-04-29 Thread Rick Teachey
Rick Teachey added the comment: Closed as duplicate of issue 13044. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue33256] module is not displayed by cgitb.html

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6334 ___ Python tracker ___

[issue33256] module is not displayed by cgitb.html

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6333 ___ Python tracker ___

[issue33256] module is not displayed by cgitb.html

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7d68bfa82654ba01d860b8a772ff63bf0bd183ee by Serhiy Storchaka (sblondon) in branch 'master': bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)

[issue33386] Double clicking to select an identifier in IDLE does not work with some unicode characters

2018-04-29 Thread Dan Snider
New submission from Dan Snider : https://i.imgur.com/61sHBRR.png At least with "μ", it behaves as if it's one of the ascii characters for which id.isidentifier() returns False, as in https://i.imgur.com/XbEW0ZC.png. -- assignee: terry.reedy components: IDLE

[issue33197] Confusing error message when constructing invalid inspect.Parameters

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +yselivanov type: -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue33197] Confusing error message when constructing invalid inspect.Parameters

2018-04-29 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +6332 stage: -> patch review ___ Python tracker ___

[issue33197] Confusing error message when constructing invalid inspect.Parameters

2018-04-29 Thread Dong-hee Na
Dong-hee Na added the comment: @Nitish I will take a look this issue. I agree with to use "{!s}" in the format string -- nosy: +corona10 ___ Python tracker

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-04-29 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > Look like the only way is to rearrange Tcl stack frames so that the right one > is on top. Scratch that. Tkinter allows to execute entire scripts where the order of the frames is important. --

[issue31026] test_dbm fails when run directly

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33385] setdefault() with a single argument doesn't work for dbm.gdbm and dmb.ndbm objects

2018-04-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : setdefault() is not implemented directly in dbm.gdbm and dmb.ndbm database classes. It is inherited from MutableMapping: def setdefault(self, key, default=None): try: return self[key] except

[issue31026] test_dbm fails when run directly

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset a26a297b4ba1b8fe6c97c25af71216935960b343 by Miss Islington (bot) in branch '3.6': bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632)

[issue31026] test_dbm fails when run directly

2018-04-29 Thread miss-islington
miss-islington added the comment: New changeset e57d3e3a13d1d4c6a057e47db8361695194bb5ab by Miss Islington (bot) in branch '3.7': bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632)

[issue33255] json.dumps has different behaviour if encoding='utf-8' or encoding='utf8'

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You could decode only non-ascii strings. But I'm not sure that it is worth to change something in 2.7. This could be treated aa a new feature. Left this on to Benjamin, the release manager of 2.7. -- nosy:

[issue13044] pdb throws AttributeError at end of debugging session

2018-04-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: I can reproduce this bug with python 3.6.5 using akl's debug.py. The exception is now on 3.6.5: (Pdb) next --Call-- Exception ignored in: Traceback (most recent call last): File "/usr/lib/python3.6/types.py", line 27, in _ag File

[issue33328] pdb error when stepping through generator

2018-04-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is a duplicate of issue 13044. > Why the code of the never used asynchronous generator is executed at all? The destructor of the asynchronous generator is called during python finalization while the trace is still active. Here is the

[issue31026] test_dbm fails when run directly

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6331 ___ Python tracker ___

[issue31026] test_dbm fails when run directly

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6330 ___ Python tracker ___

[issue31026] test_dbm fails when run directly

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 70af06cdc4e8fbee0b9d7d46bdc193097d4bc71f by Serhiy Storchaka in branch 'master': bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632)

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1b27ec6e0b40f81bf276eefa6b5bdb773b2a8890 by Serhiy Storchaka in branch '3.6': [3.6] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630). (GH-6633)

[issue33255] json.dumps has different behaviour if encoding='utf-8' or encoding='utf8'

2018-04-29 Thread Nicolás Hatcher
Nicolás Hatcher added the comment: Hi Sehriy, I am ok with that change. I think it makes much more sense, but I also think it will break people's codes. At least with the simplest fix in which: >>> json.dumps({"g"}, ensure_ascii=False) u'"g"' Which is again compatible

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6329 ___ Python tracker ___ ___

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ee95feb69d937149bef3d245e87df1aef412b7fc by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': [3.7] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630) (GH-6631)

[issue31026] test_dbm fails when run directly

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6328 stage: -> patch review ___ Python tracker ___

[issue31026] test_dbm fails when run directly

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The same error is now occurred in Ubuntu 18.04 by default. The proposed patch moves the test for the empty value to separate methods and skips them if dbm.ndbm uses Berkeley DB. -- versions: +Python 3.8

[issue33384] Build does not work with closed stdin

2018-04-29 Thread Thomas Klausner
Change by Thomas Klausner : -- nosy: +wiz ___ Python tracker ___ ___ Python-bugs-list

[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2018-04-29 Thread Michael Romero
Michael Romero added the comment: So is this now considered resolved for High Sierra users via 2.7.15rc1? -- nosy: +Michael Romero ___ Python tracker

[issue33384] Build does not work with closed stdin

2018-04-29 Thread Martin Husemann
New submission from Martin Husemann : When building python extensions in the background w/o stdin (and stderr and stdout redirected to a log file), the invocation of setup.py fails. Normal build in a shell: Example from pyexpat: > /usr/pkg/bin/python3.6 setup.py build

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2e38cc39330bd7f3003652869b644110a97a78d8 by Serhiy Storchaka in branch 'master': bpo-33383: Fix crash in get() of the dbm.ndbm database object. (#6630)

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6327 ___ Python tracker ___

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6326 stage: -> patch review ___ Python tracker ___

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-04-29 Thread Kenneth Hoste
Kenneth Hoste added the comment: Willian: on which OS and (Intel?) processor generation are you seeing this? We're not seeing this on CentOS 7.4.1708 with Python 3.6.4 and icc 18.0.1.163 on Intel Haswell or Intel Skylake. We have seen this with other software on Intel

[issue33383] Crash in the get() method a single argument in dbm.ndbm

2018-04-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Calling the get() method of the dbm.ndbm database object with only single argument causes a crash because the default value is set to NULL. The regression was introduce in 3.5. The proposed patch fixes the crash and add tests

[issue33370] Addition of mypy cache to gitignore

2018-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: you could use a feature of git for the global .gitignore file git config --global core.excludesfile ~/.gitignore source: https://git-scm.com/docs/gitignore/2.17.0 -- nosy: +matrixise ___