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

2020-01-06 Thread Brett Cannon
Change by Brett Cannon : -- title: Link to instructions to change PowerShell execution policy for venv activation -> [venv] Link to instructions to change PowerShell execution policy for venv activation ___ Python tracker <https://bugs.pyth

[issue38901] [venv] Add a CLI flag to venv to use the pwd basename as the prompt

2020-01-06 Thread Brett Cannon
Change by Brett Cannon : -- title: Add a CLI flag to venv to use the pwd basename as the prompt -> [venv] Add a CLI flag to venv to use the pwd basename as the prompt ___ Python tracker <https://bugs.python.org/issu

[issue38901] [venv] Add a CLI flag to venv to use the pwd basename as the prompt

2020-01-06 Thread Brett Cannon
Brett Cannon added the comment: Any more feedback from anyone on the idea of using the basename of a directory if specified for `--prompt`? -- ___ Python tracker <https://bugs.python.org/issue38

[issue38623] Python documentation should mention how to find site-packages

2020-01-08 Thread Brett Cannon
Brett Cannon added the comment: I think "Python learners deserve to know about "site-packages" and (optionally) "dist-packages" " is a bit strong of a statement. I don't think the tutorial covers how to install third-party package which is what goes into

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-10 Thread Brett Cannon
Brett Cannon added the comment: Pablo, is this still a thing to care about? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue1531

[issue1596321] KeyError at exit after 'import threading' in other thread

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

[issue1674555] sys.path in tests contains system directories

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

[issue2636] Adding a new regex module (compatible with re)

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

[issue4347] Circular dependency causes SystemError when adding new syntax

2020-01-10 Thread Brett Cannon
Change by Brett Cannon : -- resolution: wont fix -> ___ Python tracker <https://bugs.python.org/issue4347> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue4347] Circular dependency causes SystemError when adding new syntax

2020-01-10 Thread Brett Cannon
Brett Cannon added the comment: Pablo, is this still an issue? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue4347> ___ ___ Python-bug

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread Brett Cannon
Brett Cannon added the comment: Can I just say that "ulp" is totally non-obvious what that even means unless you have a specific math background? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.o

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread Brett Cannon
Brett Cannon added the comment: And sorry if that last response from me came off as grumpy; it wasn't meant to. I just had no clue what you were adding based on the name. -- ___ Python tracker <https://bugs.python.org/is

[issue38901] [venv] Add a CLI flag to venv to use the pwd basename as the prompt

2020-01-14 Thread Brett Cannon
Brett Cannon added the comment: Can this now be closed, Vinay? -- ___ Python tracker <https://bugs.python.org/issue38901> ___ ___ Python-bugs-list mailin

[issue39336] Immutable module type can't be used as package in custom loader

2020-01-14 Thread Brett Cannon
Brett Cannon added the comment: So I think this is way too marginal a use-case to expand the API to let loaders inject themselves into the semantics of it. I assume going with option 1 but raising an ImportWarning would be too noisy for your use-case? If not I'm totally fine with

[issue38884] __import__ is not thread-safe on Python 3

2020-01-15 Thread Brett Cannon
Brett Cannon added the comment: @valentyn just assume it's good enough unless some asks otherwise. People are probably too busy right now to be looking at this and so you might be waiting a while for a more definitive answer. -- ___ P

[issue32615] Inconsistent behavior if globals is a dict subclass

2020-01-17 Thread Brett Cannon
Brett Cannon added the comment: Paul, your attitude on this issue has unfortunately begun violating the PSF Code of Conduct which this issue tracker adheres to. I realize you're frustrated that the change you are after is not happening, but that doesn't mean you can deride other

[issue39352] Remove the formatter module, deprecated since Python 3.4

2020-01-17 Thread Brett Cannon
Brett Cannon added the comment: This is already covered in https://www.python.org/dev/peps/pep-0594/ for removal in 3.10, so probably best to help get that PEP accepted first then deal with the removal. -- ___ Python tracker <ht

[issue39379] sys.path[0] is already absolute path

2020-01-20 Thread Brett Cannon
Brett Cannon added the comment: Is sys.path[0] always absolute, or is it just a side-effect of the site module (i.e. is it absolute even with -S)? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue39

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-20 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker <https://bugs.python.org/issue39383> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2020-01-21 Thread Brett Cannon
Brett Cannon added the comment: There's no deprecation warning because how do you warn about that? You raise DeprecationWarning about an exception you have yet to raise? And I personally think calling this unfair is a bit harsh. -- ___ P

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

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

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2020-01-22 Thread Brett Cannon
Brett Cannon added the comment: The problem with the hybrid exception is that importlib would then still raise a different exception from import itself, so the discrepancy would persist. And if you updated import you could then break people in another way where they were catching ValueError

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2020-01-23 Thread Brett Cannon
Brett Cannon added the comment: Sorry, you're right; I forgot importlib got it "right" while import got it "wrong". :) -- ___ Python tracker <https:

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-24 Thread Brett Cannon
Brett Cannon added the comment: It's covered in the language reference where import semantics are explained. It isn't explicitly called out in higher-level docs that I'm aware of because it only really comes up in edge cases like importing in a thread which we actively di

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

2020-01-24 Thread Brett Cannon
Brett Cannon added the comment: https:/go.microsoft.com/fwlink/?LinkID=135170 is the link to the MS docs. The command is: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -- ___ Python tracker <https://bugs.python.

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

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

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

2020-01-24 Thread Brett Cannon
Brett Cannon added the comment: In case anyone cares, this is still a thing. -- ___ Python tracker <https://bugs.python.org/issue10572> ___ ___ Python-bug

[issue8400] zipimporter find_module fullname mis-documented

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

[issue8627] Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c

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

[issue8901] Windows registry path not ignored with -E option

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

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

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

[issue8987] Distutils doesn't quote Windows command lines properly

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

[issue13328] pdb shows code from wrong module

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

[issue13886] readline-related test_builtin failure

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

[issue13306] Add diagnostic tools to importlib?

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

[issue13306] Add diagnostic tools to importlib?

2020-01-24 Thread Brett Cannon
Brett Cannon added the comment: I'm going to close this as I think this belongs more on PyPI than in the stdlib (feel free to re-open if you disagree, Nick). -- nosy: +brett.cannon resolution: -> rejected stage: needs patch -> resolved status: ope

[issue11978] Report correct coverage.py data for tests that invoke subprocesses

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

[issue12915] Add inspect.locate and inspect.resolve

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

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

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

[issue11553] Docs for: import, packages, site.py, .pth files

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

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: > When was this change made? It has always been this way, so no change here. We have actually improved the situation over the years with attempts at better locking in importlib itself. -- ___ Python tracker <

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: I don't think this should be done (and I honestly would have disagreed with the Popen change for its 'env' argument or any other place that is dealing with environment variables). Environment variables are strings, period, so they should be sp

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: Was the Makefile updated to install Lib/test/test_import/date/unwritable? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue39

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: Do note that virtual environments are not designed to be portable in general, so this would be a fundamental change in the design and purpose of virtual environments. -- nosy: +brett.cannon, vinay.sajip ___ Python

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: > but now it's too change to change it again :-) I actually don't think it is if we want to revert this. We can raise a deprecation warning if the call to os.fsencode() leads to a value different than its argument and say that people are expec

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: Did the Windows-equivalent project files also get updated? -- ___ Python tracker <https://bugs.python.org/issue39459> ___ ___

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: > Suffice to say, is there a significant reason to not allow it? We have to support that use-case forever. ;) In all seriousness, relative paths get tricky when you forget to resolve the path as appropriate (and in a way that people expect) and it requi

[issue14787] pkgutil.walk_packages returns extra modules

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

[issue16027] pkgutil doesn't support frozen modules

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

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: This is still occurring. Probably need to add `and sys.ignore_environment` to https://github.com/python/cpython/blob/0cd5bff6b7da3118d0c5a88fc2b80f80eb7c3059/Lib/importlib/_bootstrap_external.py#L38. -- versions: +Python 3.9 -Python 3.6

[issue16748] Make CPython test package discoverable

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

[issue16737] Different behaviours in script run directly and via runpy.run_module

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

[issue16721] configure incorrectly adds -OPT:Olimit=0 for clang

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

[issue16651] Find out what stdlib modules lack a pure Python implementation

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

[issue16392] import crashes on circular imports in ext modules

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

[issue16217] Tracebacks are unnecessarily verbose when using 'python -m'

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

[issue16101] Verify all imported modules at startup are needed

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

[issue15987] Provide a way to compare AST nodes for equality recursively

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

[issue15911] can't step through _frozen_importlib/importlib._bootstrap using pdb

2020-01-28 Thread Brett Cannon
Change by Brett Cannon : -- title: can't step through _frozen_importlib/importlib._bootstrap using gdb -> can't step through _frozen_importlib/importlib._bootstrap using pdb ___ Python tracker <https://bugs.pytho

[issue15911] can't step through _frozen_importlib/importlib._bootstrap using pdb

2020-01-28 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.4 ___ Python tracker <https://bugs.python.org/issue15911> ___ ___ Python-bugs-list mailing list Unsub

[issue15693] expose glossary link on hover

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

[issue15867] make importlib documentation easier to use

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

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: Do we still care about this, Eric? -- versions: +Python 3.9 -Python 3.3 ___ Python tracker <https://bugs.python.org/issue14

[issue14678] Update zipimport to support importlib.invalidate_caches()

2020-01-28 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +easy ___ Python tracker <https://bugs.python.org/issue14678> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14604] spurious stat() calls in importlib

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

[issue14067] Avoid more stat() calls in importlib

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

[issue14019] Unify tests for str.format and string.Formatter

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

[issue15600] expose the finder details used by the FileFinder path hook

2020-01-28 Thread Brett Cannon
Brett Cannon added the comment: Since Eric never replied I'm just closing this. -- ___ Python tracker <https://bugs.python.org/issue15600> ___ ___ Pytho

[issue39487] Merge duplicated _Py_IDENTIFIER identifiers in C code

2020-01-30 Thread Brett Cannon
Brett Cannon added the comment: New changeset 46874c26ee1fc752e2e6930efa1d223b2351edb8 by Hai Shi in branch 'master': bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) https://github.com/python/cpython/commit/46874c26ee1fc752e2e6930efa1d22

[issue39487] Merge duplicated _Py_IDENTIFIER identifiers in C code

2020-01-30 Thread Brett Cannon
Brett Cannon added the comment: I just merged Hai Shi's PR, so I'm going to close assuming that took care of all the instances. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyt

[issue37130] pathlib.Path.with_name() handles '.' and '..' inconsistently

2020-01-31 Thread Brett Cannon
Change by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker <https://bugs.python.org/issue37130> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37130] pathlib.Path.with_name() handles '.' and '..' inconsistently

2020-01-31 Thread Brett Cannon
Brett Cannon added the comment: So I tried making pathlib.PurePath handle "." more like ".." and tests started failing all over the place in test_pathlib, which means it would be a change in semantics and could start silently breaking people as most of the checks are for

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

2020-02-03 Thread Brett Cannon
Brett Cannon added the comment: Someone probably needs to go through the stdlib to find which modules have tests outside of Lib/test/, and then figure out if there is still any justification for that. If there isn't then they should be moved to Lib

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

2020-02-05 Thread Brett Cannon
Brett Cannon added the comment: distutils might get pulled out at some point to it's at the bottom of the priority list for now. Basically move the tests for a package to under Lib/test under the proper subpackage name and make sure the tests didn't break due to the move. That

[issue39569] Is the return value of pathlib.Path.glob() sorted?

2020-02-06 Thread Brett Cannon
Brett Cannon added the comment: The problem is you would have to say the same thing for all functions that return a list or touch the file system. So it's typically better to just assume unsorted and you can't expect idempotent results when dealing with the OS. -

[issue39572] [typing] TypedDict's 'total' argument is undocumented

2020-02-06 Thread Brett Cannon
New submission from Brett Cannon : The docs mention __total__, but there's no mention of how to actually set that attribute, nor what it actually represents. P.S. https://github.com/python/cpython/blob/master/Lib/typing.py#L16 says TypedDict "may be added soon"; I think

[issue39730] Licence (license) for Python 3.8.1 is missing

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: The 3.8.1 license can be found at https://github.com/python/cpython/blob/v3.8.1/LICENSE. But the reason you are seeing the license as under 3.8.2rc2 is because that's the version the 3.8 docs is showing, not 3.8.1. So there's no license missing, y

[issue39715] Implement __repr__ methods for AST classes

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

[issue39704] Disable code coverage

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: The codecov config lives at https://github.com/python/cpython/blob/master/.github/codecov.yml and the docs for the file are at https://docs.codecov.io/docs/codecov-yaml. Specifically, the comment feature is covered at https://docs.codecov.io/docs/pull

[issue39777] Use the codecov GH Action

2020-02-27 Thread Brett Cannon
New submission from Brett Cannon : Codecov provides a GH Action for uploading coverage reports which we might as well use instead of their bash uploader: https://github.com/marketplace/actions/codecov. -- messages: 362839 nosy: brett.cannon, steve.dower priority: normal severity

[issue39682] pathlib.Path objects can be used as context managers

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: A use-case of "closing" a path is to cheaply flag that a path object is no longer valid, e.g. you deleted the underlying file and so you don't want others using the object anymore without paying the penalty of having to do the I/O to trigger

[issue14678] Update zipimport to support importlib.invalidate_caches()

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: @crwilcox Don't know what's left. That's probably part of the work that's left. ;) This issue is so old that it's possibly out-of-date since zipimport got rewritten in pure Python. -- _

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

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: @ned.deily the motivation is covered in Michael's initial comment; some vendors like to leave out the tests and not having them all under 'test' prevents that from working cleanly. Plus it makes the tests more discoverable. As for any of the

[issue39704] Disable code coverage

2020-02-27 Thread Brett Cannon
Brett Cannon added the comment: New changeset 766b7546a564c8e386a3c31eb06fc1b55e8f5a25 by Ammar Askar in branch 'master': bpo-39704: Explicitly pass the path to codecov config (GH-18680) https://github.com/python/cpython/commit/766b7546a564c8e386a3c31eb06fc1

[issue39704] Disable code coverage

2020-02-28 Thread Brett Cannon
Brett Cannon added the comment: I don't know if backporting will be needed; probably depends on the CI and whether they always pull from master or the branch that was affected. But I just tried backporting regardless and there's conflicts, so it will have to be don

[issue14678] Update zipimport to support importlib.invalidate_caches()

2020-02-28 Thread Brett Cannon
Brett Cannon added the comment: It looks like it hasn't been done, else https://github.com/python/cpython/blob/master/Lib/zipimport.py would have some definition of a invalidate_caches() method. And specifically the finder lacks that method so it can be called by https://github.com/p

[issue39682] pathlib.Path objects can be used as context managers

2020-03-02 Thread Brett Cannon
Brett Cannon added the comment: I guess a question is whether we want immutability guarantees (I for one didn't even know you could hash Path objects until now). I'm personally fine with that idea as it mentally makes sense to not need paths to be mutable. But as I said, someon

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-03 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue39837> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39682] pathlib.Path objects can be used as context managers

2020-03-03 Thread Brett Cannon
Brett Cannon added the comment: > Can I ask what sort of backwards-compatibility guarantees Python provides for > these cases? A deprecation warning for two releases (i.e. two years). Then it can be removed. So if people want to move forward with removing this then a DeprecationW

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Yes, I can do it. And to answer Victor's question on the PR that he closed, we can make any individual status check required. So probably: - Docs - Ubuntu - Windows x86 - Windows x64 Just let me know when we are ready to merge a PR and I will switc

[issue39682] pathlib.Path objects can be used as context managers

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: @Antoine I just quite follow what you mean. Are you saying ditch _closed and just leave the context manager to be a no-op? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: New changeset 67152d0ed670227b61b5df683655b196ab04ca1a by Brett Cannon in branch 'master': bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) https://github.com/python/cpython/commit/67152d0ed670227b61b5df683655b196ab04ca1a -

[issue39808] pathlib: reword docs for stat()

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-04 Thread Brett Cannon
Brett Cannon added the comment: Actually, I just realized we can't make these status checks required because they don't always run. :) Our Actions are smart enough to not run when they aren't necessary, i.e. doc changes don't run the rest of the checks. And so making t

[issue39808] pathlib: reword docs for stat()

2020-03-05 Thread Brett Cannon
Brett Cannon added the comment: Thanks, swgmma! -- ___ Python tracker <https://bugs.python.org/issue39808> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-05 Thread Brett Cannon
Brett Cannon added the comment: It was an old issue that if required checks didn't run it would block, but hopefully it's fixed. :) I have gone ahead and removed the Azure Pipelines requirement from 3.7, 3.8, and master and flipped on the check requirements for the one

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-05 Thread Brett Cannon
Brett Cannon added the comment: I've turned off the required checks for GH Actions and flipped Azure Pipelines back on. And to answer Victor's question, yes, you can make things conditional at the workflow, job, and job step level. I don't know what would happen if the check

[issue16845] warnings.simplefilter should validate input

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

[issue16891] Fix docs about module search order

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

[issue16894] Function attribute access doesn't invoke methods in dict subclasses

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

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