[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread INADA Naoki
INADA Naoki added the comment: Nice! VS2017 is much lighter than VS2015 for install size! https://blogs.msdn.microsoft.com/vcblog/2016/08/22/the-lightweight-visual-studio-15-installer/ -- nosy: +inada.naoki ___ Python tracker <http://bugs.python.

[issue31377] remove *_INTERNED opcodes from marshal

2017-09-07 Thread INADA Naoki
INADA Naoki added the comment: w_ref() depends on refcnt already. I don't think removing *_INTERN opcode makes PYC reproducible. https://github.com/python/cpython/blob/1f06a680de465be0c24a78ea3b610053955daa99/Python/marshal.c#L269-L271 I think "intern one string, then share it 10

[issue31377] remove *_INTERNED opcodes from marshal

2017-09-07 Thread INADA Naoki
INADA Naoki added the comment: > We end up interning each reference individually currently. But interning interned string is much faster. It only checks flag. Interning normal string requires dict lookup. -- ___ Python tracker &l

[issue31408] Leak in typeobject.c

2017-09-10 Thread INADA Naoki
INADA Naoki added the comment: Maybe, PyDict_ClearFreeList() is not called? -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue31408> ___ ___

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-10 Thread INADA Naoki
INADA Naoki added the comment: The discussion on [1] was for removing pure Python implementation, not about changing C implementation. [1]: https://mail.python.org/pipermail/python-dev/2017-September/149147.html While I withdrawed my suggestion about removing pure Python implementation, I

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-10 Thread INADA Naoki
INADA Naoki added the comment: > Just for the record, here is the draft of the post I was going to make on > python-dev but didn't prove to be necessary. Thank you for write down your thought. For move_to_end(), I admit new behavior is *amortized* O(1) and current behavior is *wors

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-10 Thread INADA Naoki
INADA Naoki added the comment: > I'm unclear about whether you understand and acknowledge why the > doubly-linked list was chosen and what kind of workloads it supports (we > didn't choose it because it was either convenient or fun, we chose it because > it was an algor

[issue31415] Add -X option to show import time

2017-09-10 Thread INADA Naoki
New submission from INADA Naoki: I used my local patch to profile import time. I think it's useful for 3rd party authors. For example: ./python -Ximportprofile -c 'import traceback' - _codecs 71 [us] - codecs 677 [us] - encodings.aliases 412 [us] - encodings 1688 [us] -

[issue31415] Add -X option to show import time

2017-09-10 Thread INADA Naoki
Changes by INADA Naoki : -- keywords: +patch pull_requests: +3483 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31415> ___ ___ Py

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-10 Thread INADA Naoki
INADA Naoki added the comment: > Original Raymond's design didn't preserve ordering during deletion. Original Raymond's pure Python implementation rebuilds index table. Without it, proving can be very long or infinite loop. See L89-92 in http://code.activestate.com/recipe

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-12 Thread INADA Naoki
INADA Naoki added the comment: > Eric Snow added the comment: > > On Sun, Sep 10, 2017 at 10:27 PM, Serhiy Storchaka > wrote: >> Note that mixed insertion and deletion is worst-case O(n) in current >> implementation. > > Could you elaborate? Note that

[issue31265] Remove doubly-linked list from C OrderedDict

2017-09-12 Thread INADA Naoki
INADA Naoki added the comment: > I would side with Inada in thinking they both give the same amortized > complexity, but beyond that, benchmarks are the real answer. There is little > value in keeping the current implementation of OrderedDict *if* benchmarks > show that it is r

[issue31484] Cache single-character strings outside of the Latin1 range

2017-09-16 Thread INADA Naoki
INADA Naoki added the comment: Interesting optimization. But I don't know how common `for c in s` or `s[i]` is used for Japanese text. -- ___ Python tracker <https://bugs.python.org/is

[issue31475] Bug in argparse - not supporting utf8

2017-09-17 Thread INADA Naoki
INADA Naoki added the comment: You reported stack trace on Github pull request. But discussion should be made here, not in pull request. As far as reading traceback, your problem is solved already in Python 3.6, by PEP 528. -- nosy: +inada.naoki

[issue31415] Add -X option to show import time

2017-09-19 Thread INADA Naoki
INADA Naoki added the comment: It means μs (micro seconds), in ASCII. On 2017年9月20日(水) 3:35 Brett Cannon wrote: > > Brett Cannon added the comment: > > What does the "[us]" mean? > > -- > nosy: +brett.cannon > > _

[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__

2018-11-19 Thread INADA Naoki
INADA Naoki added the comment: I worried about people think we recommend it when we support it, while this is just a request from one person, not recommendation after wide discussion. But it doesn't affect to static tools than I suspected. Tools like autocompletion should su

[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__

2018-11-20 Thread INADA Naoki
INADA Naoki added the comment: My personal opinion is: support abstractmethod only when the descriptor is useful for define interface with ABC. In case of cached_property, it's not. It is just a property as interface level. Caching is just an implementation. In case of update_wr

[issue29877] compileall hangs when accessing urandom even if number of workers is 1

2018-11-22 Thread INADA Naoki
INADA Naoki added the comment: I am not sure PR 4856 is enhancement or bugfix. But I think it's worth enough to backport to 3.6 and 3.7. It caused a real UX problem. -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/is

[issue35295] Please clarify whether PyUnicode_AsUTF8AndSize() or PyUnicode_AsUTF8String() is preferred

2018-11-23 Thread INADA Naoki
Change by INADA Naoki : -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue35295> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29877] compileall hangs when accessing urandom even if number of workers is 1

2018-11-23 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)

2018-11-26 Thread INADA Naoki
INADA Naoki added the comment: > What is also useful to know, is that I'm observing this on a legacy RHEL 6 > system *with a customized kernel* part of the Scyld ClusterWare > (https://www.penguincomputing.com/products/software/scyld-clusterware/) that > *cannot* be upda

[issue34100] Same constants in tuples are not merged while compile()

2018-11-26 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34100] Same constants in tuples are not merged while compile()

2018-11-27 Thread INADA Naoki
INADA Naoki added the comment: I agree that modifying tuple is bad idea in general case. But in case of constants, in-place modify is the easiest approach. Our purpose is "merging" constant. On the other hand, "build new tuple and replace old tuple" approach makes two

[issue34100] Same constants in tuples are not merged while compile()

2018-11-28 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +10008 ___ Python tracker <https://bugs.python.org/issue34100> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-11-29 Thread INADA Naoki
INADA Naoki added the comment: New changeset 82daa60defbd6497efdaa6c1132ecc8563122ed5 by INADA Naoki in branch 'master': bpo-30167: Remove __cached__ from __main__ when removing __file__ (GH-7415) https://github.com/python/cpython/commit/82daa60defbd6497efdaa6c1132ecc

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-11-30 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2018-11-30 Thread INADA Naoki
INADA Naoki added the comment: microbench: $ ./python.patched -m perf timeit --compare-to ./python.master -s 'o="foo"' 'o.encode' python.master: . 29.3 ns +- 0.6 ns python.patched: . 30.9 ns +- 1.3 ns Mean +- std dev:

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

2018-11-30 Thread INADA Naoki
INADA Naoki added the comment: $ ./python.patched -m perf timeit --compare-to ./python.master -s 'o="foo"' 'o.encode' --duplicate=1 python.master: . 23.1 ns +- 0.5 ns python.patched: . 24.6 ns +- 0.5 ns Mean +- st

[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)

2018-12-04 Thread INADA Naoki
INADA Naoki added the comment: > > where the *child* process (`self.pid == 0`) get stuck while calling > _dup2(c2pwrite = 4, 1) which in turn calls os.dup2(a = 4, b = 1). > Doesn't child process get stuck while writing stdout? > > It would also be interesting to

[issue35456] asyncio.Task.set_result() and set_exception() missing docstrings (and Liskov sub. principle)

2018-12-11 Thread INADA Naoki
INADA Naoki added the comment: > One way to deal with that would be to let a Task have a Future. > "Prefer composition over inheritance" as they say. > > I want to work on PR for this if nobody goes against it... I'm not against it, unless it doesn't

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-21 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.or

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c

[issue35609] Improve of abc.py docstring

2019-01-02 Thread INADA Naoki
INADA Naoki added the comment: No plan for removal. See https://bugs.python.org/issue28886#msg282582 -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue35

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2019-01-12 Thread INADA Naoki
Change by INADA Naoki : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue16806> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2019-01-12 Thread INADA Naoki
INADA Naoki added the comment: New changeset 995d9b92979768125ced4da3a56f755bcdf80f6e by INADA Naoki (Anthony Sottile) in branch 'master': bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) https://github.com/python/cpyt

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2019-01-12 Thread INADA Naoki
INADA Naoki added the comment: Should we backport this to 3.7? AST changes including bugfix affects existing software unexpectedly. -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue16

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-01-28 Thread INADA Naoki
INADA Naoki added the comment: I think it's easy to solve this particular case. But there may be some other cases. optionxform must be idempotent? If so, this is document issue. -- nosy: +inada.naoki ___ Python tracker <https://bugs.py

[issue35822] _queue _queuemodule.c is missing inside the Setup file

2019-01-28 Thread INADA Naoki
INADA Naoki added the comment: _queue is normal extension module, not builtin module. In my environment: >>> import _queue >>> _queue.__file__ '/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_queue.cpython-37m-da

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
New submission from INADA Naoki : GH-6819 (bpo-33504) changed OrderedDict to dict, and removed note about randomness of dict order in dict. But it is only for 3.8. Python 3.7 document should remove the note too. -- assignee: docs@python components: Documentation messages: 334609

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +11567 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35865> ___ ___ Py

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch, patch, patch pull_requests: +11567, 11568, 11569 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch, patch pull_requests: +11567, 11568 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33504] configparser should use dict instead of OrderedDict in 3.7+

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11570 ___ Python tracker <https://bugs.python.org/issue33504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33504] configparser should use dict instead of OrderedDict in 3.7+

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11570, 11571 ___ Python tracker <https://bugs.python.org/issue33504> ___ ___ Python-bugs-list mailing list Unsub

[issue33504] configparser should use dict instead of OrderedDict in 3.7+

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11570, 11571, 11572 ___ Python tracker <https://bugs.python.org/issue33504> ___ ___ Python-bugs-list mailing list Unsub

[issue33800] Fix default argument for parameter dict_type of ConfigParser/RawConfigParser

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: This should be reverted in 3.7. bpo-33504 changed dict_type from 3.8+, not 3.7. -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue33

[issue33800] Fix default argument for parameter dict_type of ConfigParser/RawConfigParser

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: I revert this change in GH-35865. -- ___ Python tracker <https://bugs.python.org/issue33800> ___ ___ Python-bugs-list mailin

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: Also revert GH-7542 (bpo-33800) too. -- ___ Python tracker <https://bugs.python.org/issue35865> ___ ___ Python-bugs-list mailin

[issue33800] Fix default argument for parameter dict_type of ConfigParser/RawConfigParser

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: I'm sorry. bpo-35865 (GH-11711) -- ___ Python tracker <https://bugs.python.org/issue33800> ___ ___ Python-bugs-list m

[issue33504] configparser should use dict instead of OrderedDict in 3.7+

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: New changeset 0897e0c597c065f043e4286d01f16f473ab664ee by Inada Naoki in branch 'master': bpo-33504: fix wrong "versionchanged" (GH-11712) https://github.com/python/cpython/commit/0897e0c597c065f043e4286d01f16f473ab664ee -

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: New changeset 59014449721966a7890f6323616431ad869ec7cc by Inada Naoki in branch '3.7': bpo-35865: doc: Remove wrong note and directives (GH-11711) https://github.com/python/cpython/commit/59014449721966a7890f6323616431

[issue35865] configparser document refers about random dict order

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35825] Py_UNICODE_SIZE=4 fails to link on Windows

2019-01-31 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35825> ___ ___

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2019-01-31 Thread INADA Naoki
INADA Naoki added the comment: ref: https://bugs.chromium.org/p/webrtc/issues/detail?id=9269 macOS and iOS don't support pthread_condattr_setclock yet. -- components: +Interpreter Core -None versions: +Python 3.8 -Python 3.2, Python 3.3 ___ P

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2019-02-01 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11601 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue12822> ___ ___ Python-bugs-list mai

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2019-02-01 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11601, 11602 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue12822> ___ ___ Python-bugs-lis

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
INADA Naoki added the comment: New changeset cd90f6a3692e0f7ef0a13aae651e19a08d1f9b31 by Inada Naoki (Harmandeep Singh) in branch 'master': bpo-20001: update pathlib landing image (GH-11304) https://github.com/python/cpython/commit/cd90f6a3692e0f7ef0a13aae651e19a08d1f9b31 -

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
Change by INADA Naoki : -- nosy: -inada.naoki versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue20

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11710, 11711 ___ Python tracker <https://bugs.python.org/issue20001> ___ ___ Python-bugs-list mailing list Unsub

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11710 ___ Python tracker <https://bugs.python.org/issue20001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +11710, 11711, 11712 ___ Python tracker <https://bugs.python.org/issue20001> ___ ___ Python-bugs-list mailing list Unsub

[issue20001] pathlib inheritance diagram too large

2019-02-05 Thread INADA Naoki
INADA Naoki added the comment: New changeset 21ab7744ae30bff24bcc9e075a96e98137b90a37 by Inada Naoki in branch '3.7': bpo-20001: update pathlib landing image (GH-11304) https://github.com/python/cpython/commit/21ab7744ae30bff24bcc9e075a96e98137b90a37 -- nosy: +i

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2019-02-15 Thread INADA Naoki
INADA Naoki added the comment: I think this issue is fixed by #21963. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36026] Different error message when sys.settrace is used

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: > Thus, even if this eventually deserves to be closed as a non-issue, I'd > rather go on the safe side and double check if this is the desirable > behaviour or if something went wrong with the commits previously mentioned. As Serhiy mention

[issue36026] Different error message when sys.settrace is used

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: Is this make sense? >>> set.add(0) Traceback (most recent call last): File "", line 1, in TypeError: descriptor 'add' for type 'set' doesn't apply to type 'int' >>> set.add.__get__(0) Trac

[issue36026] Different error message when sys.settrace is used

2019-02-19 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +11954 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36026> ___ ___ Py

[issue36026] Different error message when sys.settrace is used

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: @Serhiy Error messages are not changed in 3.7. They are different from 3.6. Optimization in 3.7 changed "code path", not error message. So it's difficult to fix this without breaking existing behavior. Python 3.6.7 (default, Dec 18 2018, 17:32

[issue36026] Different error message when sys.settrace is used

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: BTW, should we have different error message for class methods and instance mehtods? * method: "descriptor 'X' for 'Y' objects doesn't apply to a 'Z' object" * classmethod: "descriptor 'X' for 'Y&#

[issue36032] Wrong output in tutorial (3.1.2. Strings)

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: @Amit Please confirm docs.python.org before submitting issue. #33460 fixed it already. -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue36

[issue36032] Wrong output in tutorial (3.1.2. Strings)

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: Uh! You meant Python 2.7!! It doesn't make sense to improve Python 2.7 tutorial. If you're reading Python 2 tutorial, please read 3.7 tutorial instead!!! -- ___ Python tracker <https://bugs.python.o

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2019-02-19 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2019-02-19 Thread INADA Naoki
INADA Naoki added the comment: New changeset 001fee14e0f2ba5f41fb733adc69d5965925a094 by Inada Naoki in branch 'master': bpo-12822: use monotonic clock for condvar if possible (GH-11723) https://github.com/python/cpython/commit/001fee14e0f2ba5f41fb733adc69d5

[issue23428] Use the monotonic clock for thread conditions on POSIX platforms

2019-02-19 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.or

[issue36042] Setting __init_subclass__ and __class_getitem__ methods are in runtime doesnt make them class method.

2019-02-20 Thread INADA Naoki
INADA Naoki added the comment: __new__ is special function too. It is converted as staticmethod when class creation. Since manually converting to (static|class)method is allowed, I don't think automatic conversion should be applied when attach after class creation. $ python3 Python

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2019-02-20 Thread INADA Naoki
Change by INADA Naoki : -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue22213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2019-02-20 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29278] Python 3.6 build fails with parallel make

2019-02-20 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue29278> ___ ___

[issue35822] _queue _queuemodule.c is missing inside the Setup file

2019-02-20 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35822> ___ ___

[issue26787] test_distutils fails when configured --with-lto

2019-02-20 Thread INADA Naoki
INADA Naoki added the comment: Fixed in bpo-35257 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

<    8   9   10   11   12   13   14   15   16   17   >