[issue40799] Create Lib/_pydecimal.py file to optimize "import datetime" when _decimal is available

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What do decimals have to datetime? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue40

[issue40792] Make PyNumber_Index() always returning an exact int instance

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5f4b229df7812f1788287095eb6b138bb21876a4 by Serhiy Storchaka in branch 'master': bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) https://github.com/python/cpyt

[issue26202] The range() object is deepcopied as atomic

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5f4b229df7812f1788287095eb6b138bb21876a4 by Serhiy Storchaka in branch 'master': bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) https://github.com/python/cpyt

[issue40792] Make PyNumber_Index() always returning an exact int instance

2020-05-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current status: * Decimal and Fraction are no longer automatically converted to int when pass to functions implemented in C. PyLong_AsLong() etc no longer call __int__. (see issue36048 and issue37999) * operator.index() and PyNumber_Index() always

[issue37999] No longer use implicit convertion to int with loss

2020-05-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker <https://bugs.python.or

[issue37999] No longer use implicit convertion to int with loss

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is all here. Thank you Mark for your review and for fixing outdated docs and comments. -- ___ Python tracker <https://bugs.python.org/issue37

[issue26202] The range() object is deepcopied as atomic

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change has been reverted in issue40792. The range object attributes has now exact type int, so the original issue with deep copying is gone. -- ___ Python tracker <https://bugs.python.org/issue26

[issue22250] unittest lowercase methods

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds -- ___ Python tracker <https://bugs.python.org/issue22

[issue40801] Expose PyFloat_AsDouble at Python level: operator.as_float?

2020-05-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Expose PyFloat_ToDouble at Python level: operator.as_float? -> Expose PyFloat_AsDouble at Python level: operator.as_float? ___ Python tracker <https://bugs.python.org/issu

[issue40801] Expose PyFloat_ToDouble at Python level: operator.as_float?

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think an alternative constructor is the best option. Some time ago I proposed to add more alternative constructors: https://mail.python.org/archives/list/python-id...@python.org/thread/5JKQMIC6EUVCD7IBWMRHY7DRTTNSBOWG

[issue40801] Expose PyFloat_AsDouble at Python level: operator.as_float?

2020-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem with the roundtrip PyFloat_FromDouble(PyFloat_AsDouble(obj)) is that (in contrary to PyNumber_Index()) it is lossy. Converting Decimal, Fraction, float128 to float before using it in expression can lead to loss of precision. So such

[issue24391] Better repr for threading objects

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +19778 pull_request: https://github.com/python/cpython/pull/20534 ___ Python tracker <https://bugs.python.org/issue24

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-05-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : All errors raised in the __iter__ method are masked by the TypeError exception in the "in" operator and functions operator.contains(), operator.indexOf() and operator.countOf(). >>> class BadIterable: ... def __iter__(sel

[issue26407] csv.writer.writerows masks exceptions from __iter__

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 2.0 -> 3.0 pull_requests: +19779 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/20536 ___ Python tracker

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +19780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20537 ___ Python tracker <https://bugs.python.org/issu

[issue26407] csv.writer.writerows masks exceptions from __iter__

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is definitely a bug. It can mask exceptions out of the control of the programmer like MemoryError and KeyboardInterrupt. -- components: +Library (Lib) type: enhancement -> behavior versions: +Python 3.10, Python 3.7, Python 3.8, Python

[issue26407] csv.writer.writerows masks exceptions from __iter__

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This bug occurred not only in writerows(), but also in writerow() and csv.reader(). See also more general issue40824. -- ___ Python tracker <https://bugs.python.org/issue26

[issue26369] unicode.decode and str.encode are unnecessarily confusing for non-ascii

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40696] exception chain cycles cause hangs (was "Exception handling with "await" can hang in Python3.9.0b1")

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I it related to issue25782? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue40696> ___ ___ Pytho

[issue40826] Segfaults when close file descriptor 0

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Simpler reproducer: import os os.close(0) -- components: +Interpreter Core nosy: +serhiy.storchaka title: Segfaults on io.FileIO(0).name in 3.9 -> Segfaults when close file descriptor 0 ___ Python trac

[issue40696] exception chain cycles cause hangs (was "Exception handling with "await" can hang in Python3.9.0b1")

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In issue25782 two different solutions for general problem was proposed. When trying to raise the exception H, F -> G -> H -> I -> NULL with Yury's patch you would get H -> NULL and with my path you would get

[issue25782] CPython hangs on error __context__ set to the error itself

2020-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue40696 is other example of creating a cycle. I think we should solve general problem preventing loops by merging one of proposed patches. -- resolution: fixed -> stage: commit review -> status: closed -> open versions: +Python 3.1

[issue25782] CPython hangs on error __context__ set to the error itself

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +19787 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20543 ___ Python tracker <https://bugs.python.org/issu

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, could you please add an entry in What's New? -- ___ Python tracker <https://bugs.python.org/issue40465> ___ ___

[issue40825] Add a "strict" parameter to csv.writer and csv.DictWriter

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is PyNumber_Check(). It is not direct analog of isinstance(obj, numbers.Number), it checks that the object can be explicitly converted to the real number (int or float). UUID and IPv4Address pass this check. As a narrow check we can use isinstance

[issue1706039] Added clearerr() to clear EOF state

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue11722] mingw64 does not link when building extensions

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue9326] Error message for incorrect number of (function) args is incorrect

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 3: TypeError: f() missing 1 required positional argument: 'a' -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Pyt

[issue9329] freeze tool cannot handle JSON module properly

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: .decode('hex') no longer used in Python 3. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue13171] Bug in file.read(), can access unknown data.

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15952] format(value) and value.__format__() behave differently with unicode format

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15276] unicode format does not really work in Python 2.x

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15951] string.Formatter returns str for empty unicode template

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15918] subprocess.Popen reads errpipe_read incorrectly, can result in short read

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue8893] file.{read,readlines} behaviour on Solaris

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue14978] distutils Extension fails to be created with unicode package names

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue2481] locale.strxfrm does not work with Unicode strings

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue5184] Add -3 warning for extension types that implement tp_compare but not tp_richcompare

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue12886] datetime.strptime parses input wrong

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.6, Python 2.7 ___ Python tracker <https://bugs.python.org/issue12

[issue1294232] Error in metaclass search order

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue17112] Some doctest-based tests fail when run with python -OO

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue16

[issue17191] pdb list shows unexpected code when stack frame includes a try / finally block

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15276] unicode format does not really work in Python 2.x

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- ___ Python tracker <https://bugs.python.org/issue15276> ___ ___ Python-bugs-list mailin

[issue17387] Error in C API documentation of PySequenceMethods

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue11767] Maildir iterator leaks file descriptors by default

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17420] bdist_wininst does not play well with unicode descriptions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue20686] Confusing statement about unicode strings in tutorial introduction

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21547] '!s' formatting documentation bug

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue9196] Improve docs for string interpolation "%s" re Unicode strings

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue20296] PyArg_ParseTuple 2.X docs mention int for "t#", but "Py_ssize_t" for "w#", etc.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23514] multiprocessing documentation - little more examples for parallel computing

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> multiprocessing doc organization impedes understanding ___ Python tracker <https://bugs.python

[issue23557] Misc/SpecialBuilds.txt contains outdated information about PYMALLOC_DEBUG

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue23

[issue24921] Operator precedence table in 5.15 should be highest to lowest precedence

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue24

[issue22052] Comparison operators called in reverse order for subclasses with no override.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue25511] multiprocessing pool blocks SIGTERM from being handled

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue25377] Mention octal format of mode argument of os.chmod

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue25

[issue26433] urllib.urlencode() does not explain how to handle unicode

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue24256] threading.Timer is not a class

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue27037] Universal newline support for zipFile.ZipExtFile.read() is not working (deprecated?), and the missing functionality not documented

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue28403] Porting guide: disabling & warning on implicit unicode conversions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29323] Wrong documentation (Library) for unicode and str comparison

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29257] Possible error in discussion of Abstract Base Classes and abstract properties

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue29

[issue29236] 'an ASCII string of one or more PEM-encoded certificates' needs to be unicode

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16700] Document that bytes OS API can returns unusable results on Windows

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue22

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33491] mistype of method's name

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35151] Python 2 xml.etree.ElementTree documentation tutorial uses undocumented arguments

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue19670] SimpleCookie Generates Non-RFC6265-Compliant Cookies

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue19

[issue11315] unicode support in Cookie module

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue1724366] cPickle module doesn't work with universal line endings

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue21889] https://docs.python.org/2/library/multiprocessing.html#process-and-exceptions doesn't explain exception

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue8387] use universal newline mode in csv module examples

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue13649] termios.ICANON is not documented

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue13

[issue31743] Proportional Width Font on Generated Python Docs PDFs

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue31

[issue34249] Full set of format codes applies to strftime only

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue34

[issue8502] support plurals in pygettext

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue37602] nonzero fixer problem

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue37

[issue23019] pyexpat.errors wrongly bound to message strings instead of message codes

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: wont fix -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33740] PyByteArray_AsString C-API description lacks the assurance, that the trailing null-byte is appended.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16891] Fix docs about module search order

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17544] regex code re-raises exceptions on success

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When function sets an exception, it should return NULL. Otherwise the behavior of the interpreter is undefined, it can crash in debug build or developing mode. See for example https://docs.python.org/3/extending/extending.html#intermezzo-errors-and

[issue11309] #include in Objects/unicodetype_db.h and Objects/unicodectype.c

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 3.3+ functions like iswlower() are no longer used for Py_UNICODE_ISLOWER etc. And Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: patch review -> resolved status: open -&g

[issue1712522] urllib.quote throws exception on Unicode URL

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: accepted -> out of date status: open -> closed ___ Python tracker <https://bugs.python.org/iss

[issue1295179] termios.c in qnx4.25

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. Not sure that QNX is supported in Python 3, but if you want to merge your patch in Python 3 convert it please to a pull request on GitHub. -- nosy: +serhiy.storchaka status: open -> pend

[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue20989] XML File I/O Misbehavior with open() when the flag is 'r+'

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue18695] os.statvfs() not working well with unicode paths

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21929] Rounding properly

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue22720] Obscure error w/ windows online-only file

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue22666] email.Header no encoding of unicode strings containing newlines

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23567] os.stat() tuple access vs named attribute access int vs float

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue22750] xmlapp.py display bug when validate XML by DTD

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

<    30   31   32   33   34   35   36   37   38   39   >