[issue33953] The DEFAULT_ENTROPY variable used to store the current default random bytes value should be documented for `secrets` module

2018-06-25 Thread Serge Matveenko
New submission from Serge Matveenko : There is the corresponding section on the topic here https://github.com/python/cpython/blob/3.6/Doc/library/secrets.rst#how-many-bytes-should-tokens-use The current value of 32 bytes is mentioned there correctly. Unfortunately, there is no way to know whi

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error

2018-06-25 Thread STINNER Victor
New submission from STINNER Victor : Example: vstinner@apu$ ./python Python 3.8.0a0 (heads/master-dirty:bcd3a1a18d, Jun 23 2018, 10:31:03) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.str(2.5)

[issue33934] locale.getlocale() seems wrong when the locale is yet unset (python3 on linux)

2018-06-25 Thread STINNER Victor
STINNER Victor added the comment: When testing this issue, I found a bug in Python :-( I opened bpo-33954: float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error. -- ___ Python tracker __

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue3971] s_push: parser stack overflow MemoryError

2018-06-25 Thread ait
ait added the comment: Also affected, a code generator produced deeply nested code with the structure depicted below and then crashed: #!/usr/bin/python2 -BEsStt A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A([A(

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset 4a6e746079441d18c30e3c4d014f106faaf7792f by Tal Einat (Andrés Delfino) in branch 'master': bpo-33952: Fix typo in str.upper() documentation (GH-7898) https://github.com/python/cpython/commit/4a6e746079441d18c30e3c4d014f106faaf7792f -- nosy:

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7509 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33943] doc Add references to logging.basicConfig

2018-06-25 Thread Tal Einat
Tal Einat added the comment: Thanks for the PR, Andrés! Merged and backported. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7510 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +7511 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset 80f1a908a87e55c318776fb8e6f8c21d8a8664ef by Tal Einat (Miss Islington (bot)) in branch '3.7': bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7903) https://github.com/python/cpython/commit/80f1a908a87e55c318776fb8e6f8c21d8a8664ef ---

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset ac5a6e35ef4a73846136804fff924760ec67ebbd by Tal Einat (Miss Islington (bot)) in branch '3.6': bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7904) https://github.com/python/cpython/commit/ac5a6e35ef4a73846136804fff924760ec67ebbd ---

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset 78209734a0ecd1567f819d95314b1c7c9b26f48a by Tal Einat in branch '2.7': [2.7] bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7905) https://github.com/python/cpython/commit/78209734a0ecd1567f819d95314b1c7c9b26f48a --

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Tal Einat
Tal Einat added the comment: Thanks for the PR, Andrés! Merged and backported. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue33934] locale.getlocale() seems wrong when the locale is yet unset (python3 on linux)

2018-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, part of the confusion is that I misremembered the command we run implicitly during startup - it's only `setlocale(LC_CTYPE, "")`, not `setlocale(LC_ALL, "")`. However, the default category for `locale.getlocale()` is `LC_CTYPE`, so it reports the text enc

[issue33930] Segfault with deep recursion into object().__dir__

2018-06-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: The crash is likely caused by recursion during the clean-up of the object().__dir__.__dir__ chain. The trashcan API (see Py_TRASHCAN_SAFE_BEGIN/Py_TRASHCAN_SAFE_END in Include/object.h) can help here. Those do some real work and have a cost, I can't

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset fdd6e0bf18517c3dc5e24c48fbfe890229fad1b5 by Tal Einat in branch 'master': bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) https://github.com/python/cpython/commit/fdd6e0bf18517c3dc5e24c48fbfe890229fad1b5 --

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7512 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7513 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-06-25 Thread Ronald Oussoren
New submission from Ronald Oussoren : The (non-portable) pthread APIs "pthread_get_stacksize_np()" and "pthread_get_stackaddr_np()" can be used to implement PyOS_CheckStack on macOS, which would give nicer behavior than crashing when the recursion limit is too high for the stack size of the c

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset 150cd3cb272021e9a2d865dd28486b00199fe77d by Tal Einat (Miss Islington (bot)) in branch '3.7': [3.7] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) (GH-7906) https://github.com/python/cpython/commit/150cd3cb272021e9a2

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread Tal Einat
Tal Einat added the comment: New changeset 8fd8cfa369fe4b6d6ac430cd28ead32717df7bee by Tal Einat (Miss Islington (bot)) in branch '3.6': [3.6] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) (GH-7907) https://github.com/python/cpython/commit/8fd8cfa369fe4b6d6a

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-25 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue33930] Segfault with deep recursion into object().__dir__

2018-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The trashcan mechanism is used for slot wrappers. The following code doesn't crash: o = object() for x in range(100): o = o.__hash__ -- ___ Python tracker __

[issue33914] test_gdb fails for Python 2.7.15

2018-06-25 Thread Vibhuti
Vibhuti added the comment: Hi ,sorry for the delayed reply The architecture is s390x and the OS is SLES 12 SP3 (however test_gdb fails on SLES 11 SP4 too) Python was installed using https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz The whole output of `./python -Werror -m test -v

[issue33851] 3.7 regression: ast.get_docstring() for a node that lacks a docstring

2018-06-25 Thread Marius Gedminas
Marius Gedminas added the comment: I've ran my findimports testsuite with CPython's git commit a50b825c18a92655f3dd7939e793fa3d4440d886 and my tests passed, so yes. -- ___ Python tracker ___

[issue33914] test_gdb fails for Python 2.7.15

2018-06-25 Thread Vibhuti
Vibhuti added the comment: STINNER Hi I tried the commit but it did not work.The same failure is observed. -- ___ Python tracker ___ __

[issue33930] Segfault with deep recursion into object().__dir__

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33774] Document that @lru_cache caches based on exactly how the function arguments are specified

2018-06-25 Thread Al-Scandar Solstag
Al-Scandar Solstag added the comment: Speaking frankly, I might not have grasped what might happen by reading your line. I think having at least a minimal example is crucial. Perhaps: "Distinct argument patterns, such as `f(1)` and `f(first_arg=1)`, may not cache for each other even if the u

[issue24567] random.choice IndexError due to double-rounding

2018-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: > Python _configuration_ should be changed to disable double rounding on such > platforms That sounds good to me, with the nitpick that setting an x87 FPU to 53-bit precision still doesn't avoid potential double rounding on underflow, and I'm not aware of a

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-25 Thread INADA Naoki
Change by INADA Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-25 Thread INADA Naoki
INADA Naoki added the comment: When I grepped "Unknown encoding 874", I see some people got trouble from anaconda installation. I don't know about what anaconda setup does, but it will not happen on normal CPython. We use UTF-8 by default on Windows, for fsencoding and console encoding, from

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-25 Thread INADA Naoki
INADA Naoki added the comment: I grepped PYTHONIOENCODING and found this line. https://github.com/conda/conda/blob/082fe8fd7458ecd9dd7547749039f4b1f06d76db/conda/activate.py#L726 -- ___ Python tracker __

[issue33956] update vendored expat to 2.2.5

2018-06-25 Thread Benjamin Peterson
New submission from Benjamin Peterson : https://github.com/libexpat/libexpat/releases/tag/R_2_2_5 Release 2.2.5 Tue October 31 2017 Bug fixes: #8 If the parser runs out of memory, make sure its internal state reflects the memory it actually has, not th

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-25 Thread INADA Naoki
INADA Naoki added the comment: I found original pull request and issue report https://github.com/conda/conda/pull/4558 https://github.com/ContinuumIO/anaconda-issues/issues/1410 -- ___ Python tracker __

[issue33278] libexpat uses HAVE_SYSCALL_GETRANDOM instead of HAVE_GETRANDOM_SYSCALL

2018-06-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python calls XML_SetHashSalt, so expat itself doesn't need to generate randomness. -- nosy: +benjamin.peterson resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Inada-san! Seems this issue can be closed as a third party issue. -- ___ Python tracker ___ _

[issue30237] Access violation due to CancelSynchronousIo of console read

2018-06-25 Thread Valeriya Sinevich
Change by Valeriya Sinevich : -- keywords: +patch pull_requests: +7514 stage: test needed -> patch review ___ Python tracker ___ ___

[issue33774] Document that @lru_cache caches based on exactly how the function arguments are specified

2018-06-25 Thread Srinivas Reddy T
Srinivas Reddy T added the comment: Hi Raymond, I find your statement hard to understand.I agree with Solstag, it is always helpful to have an example. +1 for solstag wording. -- nosy: +thatiparthy ___ Python tracker

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2018-06-25 Thread Petter S
Petter S added the comment: For Python 3: $ python3 --version Python 3.7.0b3 $ python3 Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time OverflowError: timestamp too large to convert to C _PyTime_t Current thread 0x7f0232c21080 (most recent call first): Aborted (cor

[issue33957] use correct term than generic wording

2018-06-25 Thread Srinivas Reddy T
New submission from Srinivas Reddy T : I think it is better to use "Big-O notation" than a generic wording "computer science notation". I understand the use of latter, but i guess it helps the programmer since it makes him/her to google it or ask some one if he/she didn't know it yet.

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2018-06-25 Thread Petter S
Petter S added the comment: I get this error when starting the interpreter in Windows subsystem for Linux (WSL). I am using Python 2.7.15rc1 $ python --version Python 2.7.15rc1 $ python Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time

[issue33957] use standard term than generic wording

2018-06-25 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- title: use correct term than generic wording -> use standard term than generic wording ___ Python tracker ___

[issue33877] Doc: Delete UNIX qualification for script running instructions

2018-06-25 Thread Andrés Delfino
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33952] doc Fix typo in str.upper() documentation

2018-06-25 Thread Andrés Delfino
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33869] doc Add link to list definition in Glossary list entry

2018-06-25 Thread Andrés Delfino
Change by Andrés Delfino : -- title: doc Add set, frozen set, and tuple entries to Glossary -> doc Add link to list definition in Glossary list entry ___ Python tracker ___ ___

[issue24567] random.choice IndexError due to double-rounding

2018-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: [Tim] > a couple lines of inline assembler could be added at Python startup to > set the Pentium's FPU "precision control" bits to "round to 53 bits" mode On second thoughts, I don't think this will work; or at least, not easily. The libm on such a platform m

[issue33883] doc Mention mypy, pyrex, pytype and PyAnnotate in FAQ

2018-06-25 Thread Andrés Delfino
Andrés Delfino added the comment: I'm adding Pyre to the list of type checkers. I have also simplified the proposed text. -- title: doc Mention mypy, pytype and PyAnnotate in FAQ -> doc Mention mypy, pyrex, pytype and PyAnnotate in FAQ ___ Python t

[issue33958] Unused variable in pur embedding example

2018-06-25 Thread Philip Kendall
New submission from Philip Kendall : Line 6 of the "Pure Embedding" example at https://docs.python.org/3/extending/embedding.html#pure-embedding : PyObject *pName, *pModule, *pDict, *pFunc; contains the pDict variable which is not used anywhere else in the code, giving a compiler warning. Si

[issue33959] doc Remove time complexity mention from list Glossary entry

2018-06-25 Thread Andrés Delfino
New submission from Andrés Delfino : Per Raymond's comment in msg319931 I believe time complexity for list items access should be removed from the Glossary. -- assignee: docs@python components: Documentation messages: 320437 nosy: adelfino, docs@python priority: normal severity: normal

[issue33959] doc Remove time complexity mention from list Glossary entry

2018-06-25 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7516 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33919] Expose _PyCoreConfig structure to Python

2018-06-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 23, 2018, at 20:21, Nick Coghlan wrote: > > Only exposing a `forced_hash_seed` (and hiding randomly generated ones as > `forced_hash_seed=None`) seems reasonable though, since those can already be > read from os.environ anyway. Only mirroring $PYTH

[issue31938] Convert selectmodule.c to Argument Clinic

2018-06-25 Thread Tal Einat
Tal Einat added the comment: When ready, should this (and other AC conversions) be backported to the relevant 3.x branches? -- ___ Python tracker ___

[issue33960] IDLE REPL: Strange indentation

2018-06-25 Thread Julien Palard
New submission from Julien Palard : Using IDLE REPL, I found confusing the absence of a "secondary prompt" while typing multiline statements, see attached screenshot where the "correctly aligned" code raises a SyntaxError while a strangely unaligned code is given correctly to the interpreter.

[issue24935] LDSHARED is not set according when CC is set.

2018-06-25 Thread Martin Scherer
Change by Martin Scherer : -- keywords: +patch pull_requests: +7517 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2018-06-25 Thread STINNER Victor
STINNER Victor added the comment: > I get this error when starting the interpreter in Windows subsystem for Linux > (WSL). This bug is currently closed, please open a new bug. About your issue. I'm not sure if Windows subsystem for Linux is officially supported. How did you install Python 2

[issue33958] Unused variable in pur embedding example

2018-06-25 Thread Emily Morehouse
Emily Morehouse added the comment: Thanks, Philip! If you're interested in submitting a PR, please do! If not, just comment back so someone else can pick it up. -- nosy: +emilyemorehouse stage: -> needs patch ___ Python tracker

[issue24567] random.choice IndexError due to double-rounding

2018-06-25 Thread Tim Peters
Tim Peters added the comment: Mark, do you believe that 32-bit Linux uses a different libm? One that fails if, e.g., SSE2 were used instead? I don't know, but I'd sure be surprised it if did. Very surprised - compilers have been notoriously unpredictable in exactly when and where extended

[issue27780] memory leaks in pgen build step abort build with address sanitizer enabled

2018-06-25 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +7518 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-06-25 Thread Chris Cogdon
New submission from Chris Cogdon : The documentation for dataclasses.dataclass includes this text: "If any of the added methods already exist on the class, a TypeError will be raised." However, the documentation for various options has ONE case of TypeError, some cases of ValueError and othe

[issue33881] dataclasses should use NFKC to find duplicate members

2018-06-25 Thread Valeriya Sinevich
Change by Valeriya Sinevich : -- keywords: +patch pull_requests: +7519 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue33881] dataclasses should use NFKC to find duplicate members

2018-06-25 Thread Valeriya Sinevich
Valeriya Sinevich added the comment: I sent a PR and measured how it affected the performance by creating a dataclass with 1 members. python.bat -m timeit -s "from dataclasses import make_dataclass" -s "arg_list = [chr(k) * i for k in range(97, 123) for i in range(1, 500)]" "make_datacla

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2018-06-25 Thread STINNER Victor
STINNER Victor added the comment: I tried 64-bit builds of Python 2.7 and 3.7rc1 (binaries from python.org) on Windows 10 on year 2045: start with no error, time.time() and datetime.datetime.now() don't fail. I tried Python 2.7.12 and 3.5.2 on Ubuntu 16.04 in WSL on my Windows 10: same, sta

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-06-25 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue33935] shutil.copyfile throws incorrect SameFileError on Google Drive File Stream

2018-06-25 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue33960] IDLE REPL: Strange indentation

2018-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python's secondary prompt in interactive mode is an artifact of the fact the command line consoles work with physical lines while python works with statements that quite possibly comprises multiple lines. As mentioned in the its doc, IDLE works with statemen

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-06-25 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +7521 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-06-25 Thread Chris Cogdon
Chris Cogdon added the comment: Also, one occurrence of s/:/;/ This is my First PR! I've read the contribution docs, but am very open to correction. -- ___ Python tracker __

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-06-25 Thread Chris Cogdon
Chris Cogdon added the comment: CLA signed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-06-25 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7524 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue18932] Optimize selectors.EpollSelector.modify()

2018-06-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This was implemented in https://bugs.python.org/issue30014. Closing as duplicate. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed versions: +Python 2.7 -Python 3.5 ___ Python t

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-06-25 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7525 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: -7482 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: -7525 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: -7403 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33881] dataclasses should use NFKC to find duplicate members

2018-06-25 Thread Steve Dower
Steve Dower added the comment: The benchmark may not be triggering that much work. NFKC normalization only applies for characters outside of the basic Latin characters (0-255). I ran the below benchmarks and saw a huge difference. Granted, it's a very degenerate case with collections this bi

[issue33881] dataclasses should use NFKC to find duplicate members

2018-06-25 Thread Steve Dower
Steve Dower added the comment: > outside of the basic Latin characters (0-255) This should be (0-127). The Latin characters in 128-255 are considered extended ones, and may be decomposed by normalization. -- ___ Python tracker

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread Mark Roseman
Change by Mark Roseman : -- pull_requests: +7526 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33929] test_multiprocessing_spawn: WithProcessesTestProcess.test_many_processes() leaks 5 handles on Windows

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7527 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7528 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 937ee9e745d7ff3c2010b927903c0e2a83623324 by Victor Stinner in branch 'master': Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919) https://github.com/python/cpython/commit/937ee9e745d7ff3c2010b927903c0e2a83623324 -

[issue33929] test_multiprocessing_spawn: WithProcessesTestProcess.test_many_processes() leaks 5 handles on Windows

2018-06-25 Thread STINNER Victor
STINNER Victor added the comment: It seems like Popen of multiprocess.popen_spawn_win32 has a race condition. If the child process is killed in the parent using terminate() before the child process "steals" rhandle, rhandle remains open. I wrote the PR 7921 to fix it. -- ___

[issue33930] Segfault with deep recursion into object().__dir__

2018-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Alistair, how did you happen upon this case? -- nosy: +rhettinger ___ Python tracker ___ ___ P

[issue27755] Retire DynOptionMenu with a ttk Combobox

2018-06-25 Thread Mark Roseman
Mark Roseman added the comment: Given the difference between the old and new (ttk) spinbox, especially on macOS, I'd like to incorporate it into IDLE when available. See screenshot spinbox.png, noting white border around old one. Terry, can we add a spinbox wrapper to IDLE for the time being

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 42397731d7ba8bdf63025d48008d133cb2070229 by Terry Jan Reedy (Mark Roseman) in branch 'master': bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) https://github.com/python/cpython/commit/42397731d7ba8bdf63025d48008d133cb2

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7530 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +7531 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread miss-islington
miss-islington added the comment: New changeset ee60e36fbf640e9e2ab6cd26821aad5d90529d96 by Miss Islington (bot) in branch '3.7': bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) https://github.com/python/cpython/commit/ee60e36fbf640e9e2ab6cd26821aad5d90529d96

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread miss-islington
miss-islington added the comment: New changeset c6040638aa1537709add895d24cdbbb9ee310fde by Miss Islington (bot) in branch '3.6': bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) https://github.com/python/cpython/commit/c6040638aa1537709add895d24cdbbb9ee310fde

[issue33924] In IDLE menudefs, change 'windows' to 'window'

2018-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark's PR added two conversions, in macosx, that I missed. I rechecked a recursive case sensitive whole-word grep of 'windows' in idlelib and I believe all remaining occurrences refer to the Windows OS (usually capitalized) or multiple windows. --

[issue4260] Document that ctypes.xFUNCTYPE are decorators.

2018-06-25 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7532 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue4260] Document that ctypes.xFUNCTYPE are decorators.

2018-06-25 Thread Andrés Delfino
Andrés Delfino added the comment: I suspect we'll be working on this PR a little, but a least it's a start to get this moving. -- nosy: +adelfino ___ Python tracker ___ ___

[issue33460] "..." is used to confusingly indicate many different things in chapter 3

2018-06-25 Thread ppperry
Change by ppperry : -- title: ... used to indicate many different things in chapter 3, some are confusing -> "..." is used to confusingly indicate many different things in chapter 3 ___ Python tracker _

[issue33962] IDLE: use ttk.spinbox

2018-06-25 Thread Terry J. Reedy
New submission from Terry J. Reedy : Spinoff from #27755, which has a image of tk and ttk versions of a spinbox on Mac and asks about using ttk.spinbox. ttk Spinbox was added to tcl/tk in 8.5.9 and to tkinter.ttk in 3.7. I believe there are three cases to consider. tcl/tk python action >=

[issue27755] Retire DynOptionMenu with a ttk Combobox

2018-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, we should use ttk.Spinbox: #33962. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue27780] memory leaks in pgen build step abort build with address sanitizer enabled

2018-06-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 16137fe22f3f9bbbd50fac2a729172976c553718 by Benjamin Peterson (Zachary Ware) in branch '2.7': bpo-27780: Make pgen.c C89 compliant (GH-7915) https://github.com/python/cpython/commit/16137fe22f3f9bbbd50fac2a729172976c553718 -- _

[issue33956] update vendored expat to 2.2.5

2018-06-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +7533 stage: needs patch -> patch review ___ Python tracker ___ ___

  1   2   >