New submission from Frazer McLean :
Signature.bind does not tell you if a missing argument is keyword-only for
example. I created the following snippet to examine the differences:
import inspect
def run(f):
try:
f()
except TypeError as exc
Changes by Frazer McLean :
--
nosy: +RazerM
___
Python tracker
<http://bugs.python.org/issue30814>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Frazer McLean :
--
nosy: +RazerM
___
Python tracker
<http://bugs.python.org/issue25538>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Frazer McLean :
--
nosy: +RazerM
___
Python tracker
<http://bugs.python.org/issue29922>
___
___
Python-bugs-list mailing list
Unsubscribe:
Frazer McLean added the comment:
I ran it on AppVeyor to double check, the crash appears from 3.5 onwards as I
saw on my computer.
https://ci.appveyor.com/project/RazerM/issue29392/build/3
--
___
Python tracker
<http://bugs.python.org/issue29
New submission from Frazer McLean:
On 3.5.2 and 3.5.3, but not 3.4.3 or 2.7.10 (Windows 64-bit), the third line
causes Python to crash with exit code 0xC417.
import msvcrt
fp = open('file.txt', 'w')
msvcrt.locking(fp.fileno(), msvcrt.LK_NBLCK, -1)
print('End
Changes by Frazer McLean :
--
nosy: +RazerM
___
Python tracker
<http://bugs.python.org/issue7434>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Frazer McLean :
--
nosy: +RazerM
___
Python tracker
<http://bugs.python.org/issue26423>
___
___
Python-bugs-list mailing list
Unsubscribe:
Frazer McLean added the comment:
I may not have been clear—I understand how context managers work with
exceptions.
I'm just pointing out that the nested context manager isn't called, so those
final two lines aren't testing
New submission from Frazer McLean:
In Lib/test/test_contextlib.py, there is a bug in the nested usage part of the
following function:
def test_cm_is_reentrant(self):
ignore_exceptions = suppress(Exception)
with ignore_exceptions:
pass
with ignore_exceptions
10 matches
Mail list logo