John Andersen added the comment:
I ran into this today. Using a wrapper function around _make_zipfile due to
https://github.com/python/cpython/blob/d5650a1738fe34f6e1db4af5f4c4edb7cae90a36/Lib/shutil.py#L817-L819
where there is a check for if the format is zip then don't pass owner
John Andersen added the comment:
I haven't made much progress on the fix yet. But I have a workaround here:
https://github.com/tpm2-software/tpm2-pytss/commit/9952e374b4d9b854aea12c667dd7d7ab4ad501a9
--
___
Python tracker
<https://bugs.python.
John Andersen added the comment:
Thank you! :) I must have missed that somehow
--
___
Python tracker
<https://bugs.python.org/issue40427>
___
___
Python-bug
New submission from John Andersen :
When importing a file using importlib the id() of the object being imported is
not the same as when imported using the `import` keyword. I feel like this is a
bug. As if I have a package which is using relative imports, and then I import
all of the files
John Andersen added the comment:
I'm going to take a stab at this by adding build_swig which will run if the
list of files only contains .i files.
--
___
Python tracker
<https://bugs.python.org/issue37
Change by John Andersen :
--
nosy: +pdxjohnny
___
Python tracker
<https://bugs.python.org/issue37247>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by John Andersen :
Added file: https://bugs.python.org/file47872/test.py
___
Python tracker
<https://bugs.python.org/issue35000>
___
___
Python-bugs-list mailin
New submission from John Andersen :
aexit called after loop close on death by signal.
This seems odd, the __aexit__ method must be running in a loop because
it is an async function. However if one calls shield then it dies.
'''
$ python3.7 test.py
Hello!
# Ctrl-C before 5 seconds is up
John Andersen <johnandersen...@gmail.com> added the comment:
I've updated my pull request to do the following:
1. Provide a new AsyncTestCase class which is a subclass of TestCase
2. Run coroutines with a coroutineRunner property.
a. In 3.6 this calls get_evet_loop.run_until_comple
John Andersen <johnandersen...@gmail.com> added the comment:
More discussion indeed. I figured I was not alone in my desire to see async
test support in the stdlib. Let me know what other changes would be good.
--
___
Python tracke
New submission from John Andersen <johnandersen...@gmail.com>:
This makes unittest TestCase classes run `test_` methods which are async
--
components: Tests, asyncio
messages: 313063
nosy: asvetlov, pdxjohnny, yselivanov
priority: normal
pull_requests: 5708
severity: normal
status
11 matches
Mail list logo