[issue29585] site.py imports relatively large `sysconfig` module.

2017-07-28 Thread INADA Naoki
INADA Naoki added the comment: https://docs.python.org/3.6/library/site.html#site.USER_SITE > ~/Library/Python/X.Y/lib/python/site-packages for Mac framework builds So it seems I broke sysconfig.get_path('purelib', 'posix_user'). -- ___ Python track

[issue31065] Documentation for Popen.poll is unclear

2017-07-28 Thread Mark Dickinson
Changes by Mark Dickinson : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue31065] Documentation for Popen.poll is unclear

2017-07-28 Thread Mark Dickinson
New submission from Mark Dickinson: The documentation for Popen.poll says: > Check if child process has terminated. Set and return returncode attribute. This requires the reader to guess that if the child process has not terminated, the call returns immediately, with a return value of ``None``

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-28 Thread STINNER Victor
STINNER Victor added the comment: James Henstridge: > The Olson time zone database (used by most UNIX systems and Mac OS X) has a number of time zones with historic offsets that use second resolution (from before those locations switched to a rounded offset from GMT). Ok for increasing the resol

[issue30995] Support logging.getLogger(style='{')

2017-07-28 Thread Vinay Sajip
Vinay Sajip added the comment: > Which third-party libraries? > It is my code in my file. If a feature is added to logging, anyone can use it. If people put style-specific loggers in libraries they write, and other people then use those libraries, then there may be a need for them to worry ab

[issue31020] Add support for custom compressor in tarfile

2017-07-28 Thread insomniacslk
insomniacslk added the comment: The documentation should be updated to suggest that a custom file-like object can be passed to have custom compressors then. However this sounds very hacky and definitely not a feature that can be easily passed to the user. Hence the reason for a cleaner, explic

[issue31058] FileFinder fails to find modules for import if modules are created at runtime and don't result in a directory mtime update

2017-07-28 Thread Nick Coghlan
Nick Coghlan added the comment: This is a known limitation of the import caching mechanism, and is the key reason https://docs.python.org/3/library/importlib.html#importlib.invalidate_caches is offered as a supported public API. Ideally, the code that is dynamically creating packages at runti

[issue28095] test_startup_imports of test_site fails on OS X due to new import of enum in re

2017-07-28 Thread Ned Deily
Ned Deily added the comment: The changes for bpo-29585 to speed up startup removed the import of _osx_support, and of re, from site.py so the disabled test does not fail in 3.7 and is now re-enabled. It's not appropriate to try to backport the startup speedup changes to 3.6, so the disabled p

[issue29585] site.py imports relatively large `sysconfig` module.

2017-07-28 Thread Ned Deily
Ned Deily added the comment: New changeset c22bd58d933efaec26d1f77f263b2845473b7e15 by Ned Deily in branch 'master': bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS (#2927) https://github.com/python/cpython/commit/c22bd58d933efaec26d1f77f263b2845473b7e15 -

[issue28095] test_startup_imports of test_site fails on OS X due to new import of enum in re

2017-07-28 Thread Ned Deily
Ned Deily added the comment: New changeset c22bd58d933efaec26d1f77f263b2845473b7e15 by Ned Deily in branch 'master': bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS (#2927) https://github.com/python/cpython/commit/c22bd58d933efaec26d1f77f263b2845473b7e15 -

<    1   2