[issue39846] Register .whl as a unpack format in shutil unpack

2021-10-25 Thread John Andersen
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

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2020-05-06 Thread John Andersen
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.

[issue40427] importlib of module results in different id than when imported with import keyword

2020-04-29 Thread John Andersen
John Andersen added the comment: Thank you! :) I must have missed that somehow -- ___ Python tracker <https://bugs.python.org/issue40427> ___ ___ Python-bug

[issue40427] importlib of module results in different id than when imported with import keyword

2020-04-28 Thread John Andersen
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

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2020-03-27 Thread John Andersen
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

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2020-03-26 Thread John Andersen
Change by John Andersen : -- nosy: +pdxjohnny ___ Python tracker <https://bugs.python.org/issue37247> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35000] aexit called after loop close

2018-10-16 Thread John Andersen
Change by John Andersen : Added file: https://bugs.python.org/file47872/test.py ___ Python tracker <https://bugs.python.org/issue35000> ___ ___ Python-bugs-list mailin

[issue35000] aexit called after loop close

2018-10-16 Thread John Andersen
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

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread John Andersen
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

[issue32972] unittest.TestCase coroutine support

2018-02-28 Thread John Andersen
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

[issue32972] unittest.TestCase coroutine support

2018-02-28 Thread John Andersen
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