New submission from Riccardo Coccioli :
The documentation for the logging.Filter().filter() method states:
#-
Is the specified record to be logged? Returns 0 for no, nonzero for yes. If
deemed appropriate, the record may be modified in-place.
#-
While its implementation returns a
New submission from Riccardo Coccioli :
It seems that importlib.import_module() is not thread-safe if the loaded module
raises an Exception on Python 3.4 and 3.5. I didn't find any thread-unsafe
related information in Python's documentation.
The frequency of the failure appears to
Change by Riccardo Coccioli :
--
pull_requests: +4008
___
Python tracker
<https://bugs.python.org/issue31334>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Riccardo Coccioli :
--
nosy: +Riccardo Coccioli
___
Python tracker
<https://bugs.python.org/issue31786>
___
___
Python-bugs-list mailing list
Unsub
Riccardo Coccioli added the comment:
Although it's documented as -1 in Linux man page [1], from my quick tests I was
not able to get any error with negative values different from -1 and it seems
to wait indefinitely as expected. Looking also at its implementation in [2], it
doesn'
Riccardo Coccioli added the comment:
This can actually be reproduced with Python 2.7 too (thanks @thiell to let me
know). At first I thought that it was not because it doesn't repro with the
stock macOS-shipped Python 2.7.10 on macOS Sierra 10.12.6, where the
select.poll() is not availab
Changes by Riccardo Coccioli :
--
pull_requests: +3320
___
Python tracker
<http://bugs.python.org/issue31334>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Riccardo Coccioli:
According to the Python documentation for the 'poll.poll([timeout])' method in
the 'select' module, any negative value for the 'timeout' parameter is valid
and should have the same behaviour [1]:
"If timeout is o