Aleksandr Balezin added the comment:
I've pushed changes
https://github.com/python/cpython/pull/14268/commits/bce7fdc952b14c23821e184e82b3944f6e10aaa9.
Could I ask for clarification on callback and Py_DECREF(something)?
--
___
Python tr
Aleksandr Balezin added the comment:
At my point of view, dererencing from sqlite destructor has next flaws:
- relying on external library which can has bugs
- using different routine for reference-counting(complicates code)
- loosing support for old sqlite version
Of cause, if it's nece
Aleksandr Balezin added the comment:
Because destructor can be registered only for particular functions. For example
sqlite3_progress_handler() can't register destructor.
--
___
Python tracker
<https://bugs.python.org/is
Change by Aleksandr Balezin :
--
pull_requests: -14092
___
Python tracker
<https://bugs.python.org/issue37347>
___
___
Python-bugs-list mailing list
Unsub
Change by Aleksandr Balezin :
--
pull_requests: +14094
pull_request: https://github.com/python/cpython/pull/14268
___
Python tracker
<https://bugs.python.org/issue37
Change by Aleksandr Balezin :
--
keywords: +patch
pull_requests: +14092
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14265
___
Python tracker
<https://bugs.python.org/issu
Change by Aleksandr Balezin :
Added file: https://bugs.python.org/file48430/bug.py
___
Python tracker
<https://bugs.python.org/issue37347>
___
___
Python-bugs-list mailin
New submission from Aleksandr Balezin :
There are a couple of bugs in sqlite bindings have been found related to
reference-counting.
Short info:
sqlite connection class uses a dict to keep references to callbacks. This
mechanism is not suitable for objects which equals but not the same.
con
Change by Aleksandr Balezin :
--
keywords: +patch
pull_requests: +12728
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36613>
___
_
New submission from Aleksandr Balezin :
Attached script shows unexpected behavior of the wait() function.
The wait_ function adds done callback on every call and removes it only if a
waiter is successfully awaited. In case of CancelledError exception during
"await waiter", callbacks
Aleksandr Balezin added the comment:
I've reviewed this patch and want to make some advices.
- hasattr is unwanted here. There is no any similar usage hasattr in this
module. Also before hasattr there is a call of _ipversion method. If other is
not instance of BaseNetwork it will
Aleksandr Balezin added the comment:
I think this patch can be easily applied. There are no any breaking changes. My
colleagues and I assume that ipaddress module would work fast because it is
easy to imagine tasks, operate with ton of networks.
Also, current comparison implementation works as
Aleksandr Balezin added the comment:
Any news?
--
___
Python tracker
<http://bugs.python.org/issue25431>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Aleksandr Balezin :
--
versions: +Python 3.4, Python 3.6
___
Python tracker
<http://bugs.python.org/issue25431>
___
___
Python-bugs-list mailin
Changes by Aleksandr Balezin :
--
versions: +Python 3.4, Python 3.6
___
Python tracker
<http://bugs.python.org/issue25430>
___
___
Python-bugs-list mailin
15 matches
Mail list logo