[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Steve Dower added the comment: Looks like zipimport in 3.7 always rejected CHECKED_HASH pycs, while in 3.8 it always accepts them (or runs it through a validation process that passes them when the source file doesn't exist - I only confirmed by testing a build, not by walking through the new

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Steve Dower added the comment: And I assume now that the reason it broke in 3.7.2 is because the pyc mode for the embeddable distro changed. Which means the right place for tests is in a separate build that uses properly laid out Python rather than testing in the source tree (like what I hav

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread Steve Dower
Steve Dower added the comment: New changeset e61cc481e02b758c8d8289163102c236d0658a55 by Steve Dower (chrullrich) in branch 'master': bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) https://github.com/python/cpython/commit/e61cc481e02b758c8d8289163102c236d0658a55

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10950 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10950, 10951 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10950, 10951, 10952 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +10953, 10954 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +10953 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +10953, 10954, 10955 stage: test needed -> patch review ___ Python tracker ___ ___ Python-

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread miss-islington
miss-islington added the comment: New changeset 5d1e0124cf562153a681d1b5b362e7c8e23edea9 by Miss Islington (bot) in branch '3.7': bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) https://github.com/python/cpython/commit/5d1e0124cf562153a681d1b5b362e7c8e23edea9 -

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Attached test_aiosend.py is a simplified version of test to trigger the reference leak. Copy it to Lib/test/ and run: vstinner@WIN C:\vstinner\python\master>python -m test test_aiosend -R 3:3 Running Debug|x64 interpreter... Run tests sequentially 0:00:00 [1/

[issue35550] Some define guards for Solaris are wrong

2019-01-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: gregory.p.smith -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35374] Windows doc build does not find autodetected hhc.exe

2019-01-07 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue26467] Add async magic method support to unittest.mock.Mock

2019-01-07 Thread Dima Tisnek
Dima Tisnek added the comment: Perhaps it's possible to vendor asynctest mock in the same vein as `mock` found it's way into unittest? The real power of `asynctest` is in constructs like: with asynctest.mock.patch("module.Class", autospec=True): ... Where mock instances know what method

[issue35683] Enable manylinux1 builds on Pipelines

2019-01-07 Thread Steve Dower
New submission from Steve Dower : Azure Pipelines can now support container jobs: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=vsts&tabs=yaml I experimented with enabling a manylinux1 build a while back, which should now be able to use identical steps

[issue26467] Add async magic method support to unittest.mock.Mock

2019-01-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35656] More matchers in unittest.mock

2019-01-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Looking at the code ANY is simply implemented with __eq__ always returning True at https://github.com/python/cpython/blob/e61cc481e02b758c8d8289163102c236d0658a55/Lib/unittest/mock.py#L1957 . I am not sure how APPROXIMATE can be implemented in term

[issue35673] Loader for namespace packages

2019-01-07 Thread Eric V. Smith
Eric V. Smith added the comment: Namespace packages (PEP 420) predate ModuleSpec (PEP 451). So, I think this probably happened when 451 was implemented. Maybe Eric Snow recalls? I say this without having looked at it very deeply. As to why the namespace package loader is a private class: it

<    1   2