[issue16981] ImportError hides real error when there too many open files during an import

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Now that importlib is import and it would raise OSError I'm closing this as fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.pyth

[issue17004] Expand zipimport to include other compression methods

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue17004> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17620] Python interactive console doesn't use sys.stdin for input

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue17620> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18114] Update PyImport_ImportFrozenModuleObject() to set __package__

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Since there's work to drop __package__, closing as "won't fix". -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker <ht

[issue18275] Make isinstance() work with super type instances

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: After 6 years and no really movement I don't think we are going to bother to change the semantics for this. :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___

[issue17716] From ... import fails when parent package failed but child module succeeded, yet works in std import case

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Import now has proper messaging of the failure in the package and not an error about being unable to import the submodule. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Pytho

[issue18717] test for request.urlretrieve

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18717> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18834] Add Clang to distutils to build C/C++ extensions

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18834> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue19081> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19257] Sub-optimal error message when importing a non-package

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I'm going to make a call and say the chained exception should stay. If people want to start the discussion again they can. -- resolution: -> rejected stage: patch review -> resolved status: ope

[issue17231] Mark __del__ not being called in cycles as an impl detail

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I believe this is covered in the latest docs for (at least) 3.9. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17296] Cannot unpickle classes derived from 'Exception'

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: As this was fixed in 3.3 that means all actively maintained versions have the fix, and so closing as fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracke

[issue17848] can't compile with clang and build a shared lib due to libffi

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue17848> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18307] Relative path in co_filename for zipped modules

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18307> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18269] Add new parameter format for converter function w/ position number

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18269> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18831] importlib.import_module() bypasses builtins.__import__

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I'm calling it and saying people are not expecting these semantics. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.pyth

[issue18961] Non-UTF8 encoding line

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18961> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18862] Implement __subclasshook__() for Finders and Loaders in importlib.abc

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue18862> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19298] Use __attribute__(cleanup ...) to detect refleaks

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: This is still a neat idea. :) -- ___ Python tracker <https://bugs.python.org/issue19298> ___ ___ Python-bugs-list mailin

[issue19531] Loading -OO bytecode files if -O was requested can lead to problems

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: .pyc files now include their optimization levels in their file names. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Do note that .pyc files now encode their optimization levels, so the only thing to potentially do here is change the compiler to toss docstrings out and make sure they are freed when they are parsed to avoid holding on to them

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue19533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker <https://bugs.python.org/issue19698> ___ ___ Python-bugs-list mai

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue19941> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21031> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12238] Readline module loading in interactive mode

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker <https://bugs.python.org/issue12238> ___ ___ Python-bugs-list mai

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker <https://bugs.python.org/issue21401> ___ ___ Python-bugs-list mai

[issue14126] Speed up list comprehensions by preallocating the list where possible

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker <https://bugs.python.org/issue14126> ___ ___ Python-bugs-list mai

[issue36287] Make ast.dump() not output optional default fields

2020-03-09 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue36287> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-09 Thread Brett Cannon
Brett Cannon added the comment: The import system makes no attempt at normalizing Unicode strings for path comparisons. One would have to probably update FileFinder (https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap_external.py#L1392) somehow (assuming the appropriate

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-10 Thread Brett Cannon
Brett Cannon added the comment: Regardless of which module is proposed to solve this, there is still a bootstrapping issue to consider. -- ___ Python tracker <https://bugs.python.org/issue39

[issue38500] PEP 523: Add PyInterpreterState_SetEvalFrameFunc() to the public C API (Python 3.8 regression)

2020-03-10 Thread Brett Cannon
Brett Cannon added the comment: > Mark Shannon listed flaws in the PEP 532 and suggest to withdraw this PEP. I think you mean PEP 352? And a more formal proposal to withdraw would need to be made and that has not happened, so assume the PEP is still accepted and fi

[issue37860] Add deploy preview for docs

2020-03-16 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue37860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39980] importlib.resources.path() may return incorrect path when using custom loader

2020-03-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +barry, jaraco ___ Python tracker <https://bugs.python.org/issue39980> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10572] Move test sub-packages to Lib/test

2020-03-17 Thread Brett Cannon
Brett Cannon added the comment: I'm also still in favour of the change. While people may have worked around this that doesn't mean we need to keep forcing them to do so. People worked around our lack of booleans but we chose to stil

[issue22246] add strptime(s, '%s')

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue22246> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22014] Improve display of OS exception <-> errno mapping

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: Is this still important now that OSError has so many subclasses that correspond to specific error codes? -- ___ Python tracker <https://bugs.python.org/issue22

[issue22543] -W option cannot use non-standard categories

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue22543> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22789] Compress the marshalled data in PYC files

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue22789> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22858] unittest.__init__:main shadows unittest.main

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue22858> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21724] resetwarnings doesn't reset warnings registry

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21724> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21737] runpy.run_path() fails with frozen __main__ modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21737> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21736] Add __file__ attribute to frozen modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21736> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21760] inspect documentation describes module type inaccurately

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21760> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21550] Add Python implementation of the tar utility

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21550> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21577] Help for ImportError should show a more useful signature.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue21577> ___ ___ Python-bugs-list mailin

[issue21614] Case sensitivity problem in multiprocessing.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21614> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21199> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: `make regen-all` has probably taken care of this. -- ___ Python tracker <https://bugs.python.org/issue21242> ___ ___ Python-bug

[issue21243] Auto-generate exceptions.c from a Python file

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue21243> ___ ___ Python-bugs-list mailing list Unsub

[issue21459] DragonFlyBSD support

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21108] Add examples for importlib in doc

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: There are now examples in the importlib docs. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21249] removing pythonXY.zip from sys.path results in additional test failures

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21249> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue20125] We need a good replacement for direct use of load_module(), post-PEP 451

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: I don't think this is still needed as the importlib docs now has enough examples to show people how to get to get similar results with a few method calls. -- resolution: -> out of date stage: needs patch -> resolved status: ope

[issue20205] inspect.getsource(), P302 loader and '<..>' filenames

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20205> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20123] pydoc.synopsis fails to load binary modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20123> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20131] warnings module offers no documented, programmatic way to reset "seen-warning" flag

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20131> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: When a replacement for pkgutil.walk_packages() is added to importlib to work appropriately with the import system then this should be doable. See https://bugs.python.org/issue19939 for work to replace pkgutil as appropriate

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20506> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20439] inspect.Signature: Add Signature.format method to match formatargspec functionality

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20439> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20341] Argument Clinic: add "nullable ints"

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20461] Argument Clinic included return converters hard code use of ``_return_value``

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20461> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20360] inspect.Signature could provide readable expressions for default values for builtins

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20459] No Argument Clinic documentation on how to specify a return converter

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21078] multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue21078> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20613] Wrong line information in bytecode generated by compiler module

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: Since 2.7 development is done there is no compiler packages anymore to worry about. :) -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue20899] Nested namespace imports do not work inside zip archives

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue20899> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20890] Miscellaneous PEP 101 additions

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: These parts of the devguide don't seem to exist anymore, so I'm closing as outdated. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs

[issue21087] imp.frozen_init() incorrectly removes module during reload

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: No one has cared in nearly 6 years, so I'm closing as "won't fix". :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker <ht

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-03-23 Thread Brett Cannon
Brett Cannon added the comment: All sound reasonable, Derek. -- ___ Python tracker <https://bugs.python.org/issue38972> ___ ___ Python-bugs-list mailin

[issue40050] importlib: module.__spec__ leaks importlib namespaces (test_importlib leaked xxx references)

2020-03-24 Thread Brett Cannon
Brett Cannon added the comment: >From Victor: * Maybe the test_importlib should before save/restore the the "Python state" rather than modifying modules You will have to be more specific than that as there is an import_state() context manager to control import state via t

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Brett Cannon
Brett Cannon added the comment: The plan is to start discussing adding a TOML parser once the spec reaches 1.0 (which we will know about as one of the pip contributors also manages TOML). -- ___ Python tracker <https://bugs.python.org/issue40

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +18518 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19158 ___ Python tracker <https://bugs.python.org/issu

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Brett Cannon added the comment: New changeset 302e5a8f79514fd84bafbc44b7c97ec636302322 by Brett Cannon in branch 'master': bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) https://github.com/python/cpyt

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Change by Brett Cannon : -- keywords: -patch resolution: -> fixed stage: patch review -> needs patch status: open -> closed ___ Python tracker <https://bugs.python.or

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset 8dad09a2242194a4101374b91ce87bb47a487cf7 by Miss Islington (bot) in branch '3.8': bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) (#19164) https://github.com/python/cpyt

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset 2929bfb973da249ed4f056c88a69bcc48e5a4843 by Miss Islington (bot) in branch '3.7': bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) (GH-19165) https://github.com/python/cpyt

[issue39943] Meta: Clean up various issues in C internals

2020-03-30 Thread Brett Cannon
Brett Cannon added the comment: New changeset fc2d8d62af25be90f5fd490df141a775d9619b23 by Andy Lester in branch 'master': bpo-39943: Remove unnecessary casts in import.c that remove constness (GH-19209) https://github.com/python/cpython/commit/fc2d8d62af25be90f5fd490df141a7

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-01 Thread Brett Cannon
Brett Cannon added the comment: > Is it possible to make Travis CI required and make Azure Pipelines not > required? Yes, but I don't want to to do that as we have had equivalent flakiness issues with Travis which is why it isn't required ATM. The only way to prevent flaky

[issue40148] Add PurePath.with_stem()

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: I personally would rather not add more methods that are doing simple string manipulations. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue40

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: > I'm not aware of Travis CI current issue. There were issues in the past, as > with any CI, right ;-) Travis CI looks quite reliable these days. That's what everyone said when Travis was required and before it went flaky the last time. ;)

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon
Brett Cannon added the comment: New changeset 45217af29c7f380089af17beb48a5ea0560bbb9d by Derek Keeler in branch 'master': bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) https://github.com/python/cpython/commit/45217af29c7f380089af17beb48a5e

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39943] Meta: Clean up various issues in C internals

2020-04-09 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue39943> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40249] __import__ doesn't honour globals

2020-04-14 Thread Brett Cannon
Brett Cannon added the comment: How would you propose changing the wording found at https://docs.python.org/3/library/functions.html?highlight=__import__#__import__? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue40

[issue40249] __import__ doesn't honour globals

2020-04-15 Thread Brett Cannon
Brett Cannon added the comment: Algorithm is documented as part of the language reference: https://docs.python.org/3/reference/import.html -- ___ Python tracker <https://bugs.python.org/issue40

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default before Python 4.0

2020-04-16 Thread Brett Cannon
Brett Cannon added the comment: I personally like 3.10 as the target as that means users had at least 3 years to move to move over. Plus we can put a warning in the What's New for 3.9 about our plans for 3.10. -- nosy: +brett.cannon ___ P

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-20 Thread Brett Cannon
Brett Cannon added the comment: The historical background is code coverage of C code seemed like a good idea, so we set it up. :) Not much else to it. -- ___ Python tracker <https://bugs.python.org/issue40

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

2020-04-28 Thread Brett Cannon
Brett Cannon added the comment: That's expected because you are constructing a completely new module object with importlib.util.module_from_spec(). You're also completely circumventing sys.modules with the code you wrote which is the only way you would get equivalent IDs compare

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-29 Thread Brett Cannon
Brett Cannon added the comment: Best place to report workflow issues or to have discussions about it is https://github.com/python/core-workflow/. Otherwise there were so many posts I didn't find an explicit ask of what you wanted changed, V

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Brett Cannon
Brett Cannon added the comment: Done. You will need to check that miss-islington doesn't solely rely on required checks passing but instead all CI checks passing, otherwise this just turned off gating for PRs when auto-merging. And I'm going to say future requests for this sor

[issue40470] Make inspect.signature able to parse format strings.

2020-05-01 Thread Brett Cannon
Change by Brett Cannon : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue40470> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40470] Make inspect.signature able to parse format strings.

2020-05-01 Thread Brett Cannon
Change by Brett Cannon : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue40470> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-05-01 Thread Brett Cannon
Brett Cannon added the comment: > Can't we be more flexible depending on the stability on CIs over the last > weeks? No because I'm tired of flipping CI on and off as mandatory based on the whims of CI systems and their stability. Either people need to accept CI is flaky or

[issue40350] modulefinder chokes on numpy - dereferencing None in spec.loader

2020-05-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue40350> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40417] PyImport_ReloadModule emits deprecation warning

2020-05-04 Thread Brett Cannon
Change by Brett Cannon : -- versions: -Python 3.5, Python 3.6, Python 3.9 ___ Python tracker <https://bugs.python.org/issue40417> ___ ___ Python-bugs-list mailin

[issue40417] PyImport_ReloadModule emits deprecation warning

2020-05-04 Thread Brett Cannon
Brett Cannon added the comment: This can't be backported cleanly. If you're up for making PRs for 3.8 and 3.7, Robert, we can look at applying them. -- ___ Python tracker <https://bugs.python.o

[issue40417] PyImport_ReloadModule emits deprecation warning

2020-05-05 Thread Brett Cannon
Brett Cannon added the comment: Thanks for all your hard work, Robert! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36284] importlib.import_module() not thread safe if Exception is raised (3.4, 3.5)

2020-05-06 Thread Brett Cannon
Brett Cannon added the comment: @Patrick you will have to open a new issue and be very specific about what the problem is with a reproducible code snippet to show how the current fix is wrong (I also don't know how upgrading Django comes into play since this is not Django's iss

<    13   14   15   16   17   18   19   20   21   22   >