New submission from Lev :
WinCRT debug detects several memory leaks after calling py_Initialize
(); py_Finalize(); functions. Most of them are garbage collector
visible python's objects. I suggest to create "release" method in
garbage collector which will distruct all obj
Lev added the comment:
I,m trying to develop this patch now, but I'm facing the challenge
(wrong ref_count or list corruption in dict objects). If I can solve
it, I publish patch here.
--
___
Python tracker
<http://bugs.python.org/i
New submission from Lev Bishop :
As discussed in discord thread
https://discuss.python.org/t/sixth-element-of-tuple-from-reduce-inconsistency-between-pickle-and-copy/12902
where guido suggested to open this issue.
Both the pickle and copy modules of the standard library make use of a class’s
Lev Shamardin added the comment:
My use case was compiling PyQt4 resources and Qt Designer .ui files from setup
script using pyrcc4 and pyuic4 commands. On windows pyrcc4 is actually a
pyrcc4.bat file (at least it was at the time of the original bug submission -
haven't checked cu
New submission from Lev Shamardin:
distutils.spawn.find_executable appends '.exe' suffix on win32 and os2
platforms. This is incorrect behavior, since it prevents finding .bat,
.cmd and other similar files. Ether all extensions from the %PATHEXT%
must be checked or filenames both wit
Lev Shamardin added the comment:
Here is my vision of this patch. I don't think that it is necessary to
fall back to 'com/exe/bat' if PATHEXT is not set, since it must be set
on any correctly configured Win32 platform.
--
keywords: +patch
Added file: http://bugs.pyth
Lev Shamardin added the comment:
I can't see this issue on the 'open issues' list nor in the search
results. Is something wrong?
__
Tracker <[EMAIL PROTECTED]>
<http://b
New submission from Ofek Lev :
The descriptions for the following:
- https://docs.python.org/3/library/time.html#epoch
- https://docs.python.org/3/library/time.html#time.time
indicate that it is platform dependent. However, that is likely untrue. See the
brief discussion here:
https
Ofek Lev added the comment:
> For convenience, a handler that retries unlink() and rmdir() could be
> distributed with shutil. For ease of use, it could be enabled by default on
> Windows.
Any update on that? I just spent a bunch of time debugging this on Windows.
--
New submission from Ofek Lev :
https://docs.python.org/3.9/library/typing.html#callable
```
Python 3.9.1 (default, Jan 12 2021, 16:45:25)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from typin
Ofek Lev added the comment:
I'm using the deprecated typing.Callable instead now and that works
--
___
Python tracker
<https://bugs.python.org/is
Ofek Lev added the comment:
Ah I see, thanks!
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Ofek Lev added the comment:
Any update on this?
--
nosy: +Ofekmeister
___
Python tracker
<https://bugs.python.org/issue18617>
___
___
Python-bugs-list mailin
New submission from Ofek Lev:
The following example shows that we are indeed changing PATH, but the
subprocess does not acknowledge it in Windows 7 x64. Also note this works in
Linux (Ubuntu 16.04).
-
import os
import subprocess
from contextlib import contextmanager
from tempfile import
Ofek Lev added the comment:
Fixed with shell=True
--
___
Python tracker
<http://bugs.python.org/issue30783>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ofek Lev :
--
pull_requests: +3020
___
Python tracker
<http://bugs.python.org/issue20849>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ofek Lev :
The docstring refers to the function `fetch_server_certificate` that no longer
exists. Context from
https://github.com/python/cpython/pull/12168#issuecomment-469488585:
"""
In the commit on 8/28/2007, the ssl.py module was first added and it
New submission from Ofek Lev :
Vault (https://github.com/hashicorp/vault) requires the use of signals to
trigger certain output
https://www.vaultproject.io/docs/internals/telemetry.html.
The required signal isn't sent on py2.7:
>>> import os
>>> import signal
New submission from Lev Maximov :
In `Condition.wait()` the `waiter` lock gets acquired twice, but is released
only once (both in timeout and no timeout cases). Is it intentional?
--
components: Library (Lib)
messages: 319365
nosy: lev.maximov
priority: normal
severity: normal
status
New submission from Lev Givon:
Not sure if this is indicative of a bug, but I noticed that a frozenset created
from a set seems to occupy a different amount of memory than a frozenset
created from some other iterable. I observed this behavior with Python 2.7.5
and with Python 3.4.0 on Ubuntu
Changes by Lev Shamardin :
--
nosy: +abbot
___
Python tracker
<http://bugs.python.org/issue5673>
___
___
Python-bugs-list mailing list
Unsubscribe:
Lev Maximov added the comment:
Nevermind. It's not urgent but should definitely be fixed some day.
Yes, __qualname__ might be a good idea.
--
___
Python tracker
<http://bugs.python.org/is
New submission from Lev Maximov:
Error message was supposedly copy-pasted without change.
Makes it pretty unintuinive to debug.
Fix attached.
--
components: Library (Lib)
files: error.diff
keywords: patch
messages: 264157
nosy: Lev Maximov
priority: normal
severity: normal
status: open
Ofek Lev added the comment:
What is the status of the patch?
--
nosy: +Ofekmeister
___
Python tracker
<http://bugs.python.org/issue8800>
___
___
Python-bugs-list m
New submission from Ofek Lev:
https://docs.python.org/3/library/stdtypes.html#int.to_bytes
To convert an int to the exact number of bytes required, the docs recommend
"x.to_bytes((x.bit_length() // 8) + 1, ...)". This is incorrect when length is
a multiple of 8, e.g. 296.
The corr
New submission from Lev Veshnyakov:
It's only in imap, in map it's ok. The following code explains the issue:
from multiprocessing.pool import ThreadPool
pool = ThreadPool(10)
def gen():
yield 1 + '1' # here is an error
try:
next((pool.imap(str, gen(
e
Lev Veshnyakov added the comment:
Ubuntu 14.04 LTS, 3.13.0-83-generic, x86_64
--
___
Python tracker
<http://bugs.python.org/issue28696>
___
___
Python-bugs-list m
Lev Veshnyakov added the comment:
So, I've checked twice, it's presented by me on python 3.4.3, and not by 3.5.2.
So I will go deaper
--
___
Python tracker
<http://bugs.python.o
Lev Veshnyakov added the comment:
I've reproduced it on 2 different machines:
- on a MacBook in Docker (debian:jessie, python 3.4.2)
- on another desktop (Ubuntu 14.04.1, 3.16.0-77-generic, x86_64, python 3.4.3)
--
___
Python tracker
Lev Veshnyakov added the comment:
It's hanging in a while loop in _handle_workers,
/usr/lib/python3.4/multiprocessingpool.py:365.
I can't figure out what is the reason.
@staticmethod
def _handle_workers(pool):
thread = threading.current_thread()
# Keep maintaining workers
Lev Veshnyakov added the comment:
Yes, I'm free to move to 3.5, now I'm seeing isn't there any problems in 3.5
according to this issue.
--
___
Python tracker
<http://bugs.pyt
New submission from Lev Veshnyakov:
Consider the following code:
from multiprocessing.pool import ThreadPool
pool = ThreadPool(10)
def gen():
yield 1 + '1' # here is an error
print(list(pool.imap(str, gen( # prints []
print(list(pool.map(str, gen( # raises Type
Changes by Lev Veshnyakov :
--
nosy: +davin
___
Python tracker
<http://bugs.python.org/issue28699>
___
___
Python-bugs-list mailing list
Unsubscribe:
33 matches
Mail list logo