Serhiy Storchaka added the comment:
What do decimals have to datetime?
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue40
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
pull_requests: +19778
pull_request: https://github.com/python/cpython/pull/20534
___
Python tracker
<https://bugs.python.org/issue24
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Serhiy Storchaka added the comment:
I it related to issue25782?
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue40696>
___
___
Pytho
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
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
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
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
Serhiy Storchaka added the comment:
Raymond, could you please add an entry in What's New?
--
___
Python tracker
<https://bugs.python.org/issue40465>
___
___
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
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.o
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.o
Change by Serhiy Storchaka :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.o
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
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
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/
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
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
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
Serhiy Storchaka added the comment:
Python 2.7 is no longer supported.
--
___
Python tracker
<https://bugs.python.org/issue15276>
___
___
Python-bugs-list mailin
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
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> multiprocessing doc organization impedes understanding
___
Python tracker
<https://bugs.python
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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/
Change by Serhiy Storchaka :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.o
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Serhiy Storchaka :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
3401 - 3500 of 25874 matches
Mail list logo