[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32192] Provide importlib.util.lazy_import helper function

2020-10-05 Thread Brett Cannon


Brett Cannon  added the comment:

Yep, I think the example is enough to close this. Thanks!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue32192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset d02d824e05e2cb86f4df381be18832e76e2c475f by Brett Cannon in 
branch 'master':
bpo-41584: clarify when the reflected method of a binary arithemtic operator is 
called (#22505)
https://github.com/python/cpython/commit/d02d824e05e2cb86f4df381be18832e76e2c475f


--

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-02 Thread Brett Cannon


Change by Brett Cannon :


--
stage: patch review -> commit review

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-02 Thread Brett Cannon


Change by Brett Cannon :


--
keywords: +patch
pull_requests: +21516
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/22505

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41911] Language reference incorrectly says comparison expressions return boolean values

2020-10-02 Thread Brett Cannon


New submission from Brett Cannon :

https://docs.python.org/3/reference/expressions.html#comparisons claims that 
"Comparisons yield boolean values: True or False." But that's not necessarily 
true:

```python
>>> class Spam: 
...  def __eq__(self, _): return 42
... 
>>> Spam() == object()
42
```

That really only happens when an expressions is used in a boolean context like 
an `if` statements guard expression.

--
assignee: brett.cannon
components: Documentation
messages: 377817
nosy: brett.cannon
priority: low
severity: normal
status: open
title: Language reference incorrectly says comparison expressions return 
boolean values
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41911>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41910] Document that object.__eq__ implements `a is b`

2020-10-02 Thread Brett Cannon


Change by Brett Cannon :


--
assignee: docs@python -> brett.cannon

___
Python tracker 
<https://bugs.python.org/issue41910>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41910] Document that object.__eq__ implements `a is b`

2020-10-02 Thread Brett Cannon


New submission from Brett Cannon :

If you look at the data model `for object.__eq__` 
(https://docs.python.org/3.8/reference/datamodel.html#object.__eq__) you will 
see that it doesn't mention any actual implementation (unlike for __ne__). But 
https://github.com/python/cpython/blob/v3.8.3/Objects/typeobject.c#L3834-L3880 
shows that object.__eq__ actually does have an implementation of `a is 
b`/`id(a) == id(b)`.

--
assignee: docs@python
components: Documentation
messages: 377816
nosy: brett.cannon, docs@python
priority: low
severity: normal
status: open
title: Document that object.__eq__ implements `a is b`
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41910>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41519] `pkgutil.get_data` causes future imports of children modules to fail.

2020-09-29 Thread Brett Cannon


Brett Cannon  added the comment:

I wouldn't use pkgutil.get_data() -- or pkgutil, period -- and instead use 
importlib.resources to read data files from a package (which is available as a 
third-party package on PyPI if you need it for older versions of Python).

--

___
Python tracker 
<https://bugs.python.org/issue41519>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35328] Set a environment variable for venv prompt

2020-09-21 Thread Brett Cannon


Change by Brett Cannon :


--
resolution: fixed -> 
status: closed -> open
versions: +Python 3.10 -Python 3.9

___
Python tracker 
<https://bugs.python.org/issue35328>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41797] PyModule_GetState doesn't work with LazyLoader

2020-09-16 Thread Brett Cannon


Brett Cannon  added the comment:

Probably making LazyLoader skip being lazy for non-source modules probably 
makes the most sense and would be easiest to implement since it's an explicit 
opt-out.

--

___
Python tracker 
<https://bugs.python.org/issue41797>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40108] Improve error message for -m option when .py is present

2020-09-14 Thread Brett Cannon


Change by Brett Cannon :


--
components: +Library (Lib) -XML

___
Python tracker 
<https://bugs.python.org/issue40108>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25963] strptime not parsing some timezones

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25963>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26007] Support embedding the standard library in an executable

2020-09-11 Thread Brett Cannon


Brett Cannon  added the comment:

Update: PEP 432 was withdrawn, so this issue is now languishing and not blocked 
on something else.

--

___
Python tracker 
<https://bugs.python.org/issue26007>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25912] Use __spec__.__name__ instead of __name__ in the docs where appropriate

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25912>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26007] Support embedding the standard library in an executable

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue26007>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26060] Class __dict__ iteration order changing due to type instance key-sharing

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue26060>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25682] __package__ not set to None under pdb in Python 3

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
components: +Library (Lib) -Extension Modules
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25682>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25343] Document atomic operations on builtin types

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25343>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25702] Link Time Optimizations support for GCC and CLANG

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25702>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25467] Put “deprecated” warnings first

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25467>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25509] PyImport_ImportModule inaccurately described

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
keywords: +easy

___
Python tracker 
<https://bugs.python.org/issue25509>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25509] PyImport_ImportModule inaccurately described

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
versions: +Python 3.10 -Python 3.5

___
Python tracker 
<https://bugs.python.org/issue25509>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25509] PyImport_ImportModule inaccurately described

2020-09-11 Thread Brett Cannon


Brett Cannon  added the comment:

https://github.com/python/cpython/blob/45b34a04a577aa49fa4825421758c3e8eaa1625d/Python/import.c#L1474-L1485
 shows that the docs could be simplified to point out that 
`PyImport_ImportModule()` is a wrapper around `PyImport_Import()` which takes 
`const char *`.

--

___
Python tracker 
<https://bugs.python.org/issue25509>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25643] Python tokenizer rewriting

2020-09-11 Thread Brett Cannon


Brett Cannon  added the comment:

@serhiy: did you still want to commit this?

--

___
Python tracker 
<https://bugs.python.org/issue25643>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25330] Docs for pkgutil.get_data inconsistent with semantics

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue25330>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25330] Docs for pkgutil.get_data inconsistent with semantics

2020-09-11 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25330>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41688] Document how **= does not fall back on **

2020-09-09 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41688>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41688] Document how **= does not fall back on **

2020-09-01 Thread Brett Cannon


New submission from Brett Cannon :

https://bugs.python.org/issue38302 covers fixing the fact that `a **= b` does 
not fall back on `a = a ** b` when `__ipow__` is defined for PYthon 3.10. For 
older versions of CPython with the bug we should document the slip in semantics.

--
assignee: docs@python
components: Documentation
messages: 376207
nosy: brett.cannon, docs@python
priority: high
severity: normal
status: open
title: Document how **= does not fall back on **
versions: Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41688>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38302] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2020-09-01 Thread Brett Cannon


Brett Cannon  added the comment:

I have opened https://bugs.python.org/issue41688 to track the documentation 
fixes so that this can become a release blocker for Python 3.10.

--
priority: high -> release blocker
versions:  -Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue38302>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41688] Document how **= does not fall back on **

2020-09-01 Thread Brett Cannon


Change by Brett Cannon :


--
assignee: docs@python -> brett.cannon

___
Python tracker 
<https://bugs.python.org/issue41688>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2020-08-31 Thread Brett Cannon


Brett Cannon  added the comment:

I think if we can craft a skip check that is targeted enough then that's our 
best solution, but barring that then skipping for all of macOS wouldn't be the 
end of the world (maybe a slightly less brute force is a macOS version check?).

--

___
Python tracker 
<https://bugs.python.org/issue41154>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38302] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2020-08-23 Thread Brett Cannon


Brett Cannon  added the comment:

It turns out **= ONLY calls __ipow__ and neither __pow__ or  __rpow__ as the 
data model says should be called.

- Data Model: https://docs.python.org/3/reference/datamodel.html#object.__ipow__
- PyNumber_InPlacePower(): 
https://github.com/python/cpython/blob/802726acf6048338394a6a4750835c2cdd6a947b/Objects/abstract.c#L1159
- ternary_op (which is what is used to implement PyNumber_InPlacePower(): 
https://github.com/python/cpython/blob/802726acf6048338394a6a4750835c2cdd6a947b/Objects/abstract.c#L849

--
nosy: +brett.cannon
priority: normal -> high
title: __rpow__ not reached when __ipow__ returns NotImplemented -> __pow__ and 
__rpow__ are not reached when __ipow__ returns NotImplemented for **=
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6, Python 3.7

___
Python tracker 
<https://bugs.python.org/issue38302>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-19 Thread Brett Cannon


Brett Cannon  added the comment:

Right, there is a `lhs.__rsub__ is not rhs.__rsub__` check which needs to be 
clearly communicated in that note.

--

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2020-08-18 Thread Brett Cannon


Brett Cannon  added the comment:

It looks like it! Thanks, Irit!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue35024>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon


Brett Cannon  added the comment:

Or to be more clear, the RHS subclass must provide a **different** 
implementation of the method than the LHS.

--

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon


Change by Brett Cannon :


--
assignee: docs@python -> brett.cannon

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon


New submission from Brett Cannon :

https://docs.python.org/3/reference/datamodel.html#object.__ror__ has a note 
saying:

"If the right operand's type is a subclass of the left operand's type and that 
subclass provides the reflected method for the operation, this method will be 
called before the left operand's non-reflected method." The slightly unclear 
part (at least to me) is the "provides the reflected method."

What this actually means according to https://bugs.python.org/issue30140 is 
that the subclass **implements** the `__r*__` method, not just that the method 
is reachable on the subclass via getattr(). That wasn't clear to me when I 
initially read this.

--
assignee: docs@python
components: Documentation
messages: 375621
nosy: brett.cannon, docs@python
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarify documentation for binary arithmetic operation subclass __r*__ 
precedence
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41426] [curses] Grammar mistake in curses.getmouse() docs

2020-07-29 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41426>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41426] [curses] Grammar mistake in curses.getmouse() docs

2020-07-28 Thread Brett Cannon


New submission from Brett Cannon :

https://docs.python.org/3/library/curses.html#curses.getmouse

"this method should be call to retrieve"

"call" -> "called"

--
assignee: docs@python
components: Documentation
keywords: newcomer friendly
messages: 374524
nosy: brett.cannon, docs@python
priority: normal
severity: normal
status: open
title: [curses] Grammar mistake in curses.getmouse() docs
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41426>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-07-28 Thread Brett Cannon


New submission from Brett Cannon :

The example for 
https://docs.python.org/3.8/library/tkinter.html#coupling-widget-variables is 
missing:

1. Imports
2. Code to launch the example

--
assignee: docs@python
components: Documentation
keywords: easy
messages: 374522
nosy: brett.cannon, docs@python
priority: normal
severity: normal
status: open
title: [tkinter] "Coupling Widget Variables" example missing code
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41425>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-07-28 Thread Brett Cannon


New submission from Brett Cannon :

"Geometry managers are used to specify the relative positioning of the 
positioning of widgets within their container".

Remove "of the positioning".

--
assignee: docs@python
components: Documentation
keywords: newcomer friendly
messages: 374520
nosy: brett.cannon, docs@python
priority: normal
severity: normal
status: open
title: [tkinter] Grammatical error in "Packer" docs
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41424>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36661] Missing dataclass decorator import in dataclasses module docs

2020-07-28 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue36661>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36661] Missing dataclass decorator import in dataclasses module docs

2020-07-28 Thread Brett Cannon


Brett Cannon  added the comment:

Thanks for noticing, Karl!

--

___
Python tracker 
<https://bugs.python.org/issue36661>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41406] BufferedReader causes Popen.communicate losing the remaining output.

2020-07-27 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue41406>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-17 Thread Brett Cannon


Brett Cannon  added the comment:

Closing as "third-party" as those stubs are controlled by Microsoft Windows and 
has nothing to do with us as a project beyond that they install the Windows 
Store copy that Steve uploads (although this is all feedback to Steve who has 
connections on the Windows team).

And I will say I believe there are shims on some Linux distros like Ubuntu for 
things like venv, pip, etc. which are not included in-box which people 
typically expect to be there.

--
nosy: +brett.cannon
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41327>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41323] Perform "peephole" optimization directly on control-flow graph.

2020-07-17 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +vstinner

___
Python tracker 
<https://bugs.python.org/issue41323>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41282] Deprecate and remove distutils

2020-07-13 Thread Brett Cannon


Brett Cannon  added the comment:

FYI PEP 387 (which I expect will be accepted once I catch up from vacation) 
specified deprecations are to be public for two releases before removal or 
approval from the SC for a shorter cycle.

So if distutils is deprecated in 3.10 then it can be removed in 3.12 or you can 
ask the SC for an exemption to do it in 3.11.

--

___
Python tracker 
<https://bugs.python.org/issue41282>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41154] test_pkgutil:test_name_resolution fails on some platforms

2020-06-29 Thread Brett Cannon


Brett Cannon  added the comment:

I wonder if it's a problem from Unicode representation since I don't think 
importlib tries to have a standard normalization form of Unicode. I could see 
that leading to how the file system encoded something differing from how it was 
encoded in the test file, leading to a claim the file doesn't exist.

And thanks to binary file paths that isn't necessarily a wrong result. :P

--

___
Python tracker 
<https://bugs.python.org/issue41154>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41035] zipfile.Path does not work properly with zip archives where paths start with /

2020-06-20 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +alanmcintyre, serhiy.storchaka, twouters

___
Python tracker 
<https://bugs.python.org/issue41035>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41035] zipfile.Path does not work properly with zip archives where paths start with /

2020-06-20 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +jaraco

___
Python tracker 
<https://bugs.python.org/issue41035>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41011] [venv] record which executable and command were used to create a virtual environment

2020-06-17 Thread Brett Cannon


New submission from Brett Cannon :

When a virtual environment is created, the resulting pyvenv.cfg specifies the 
directory which contained the Python executable and the version of Python (see 
https://github.com/python/cpython/blob/master/Lib/venv/__init__.py#L147). 
Unfortunately that may not be enough to work backwards to which binary was used 
to create the virtual environment.

My idea is to add an `executable` and `command` key to pyvenv.cfg which record 
the Python executable name and the command used to construct the virtual 
environment, respectively. The former would disambiguate which exact Python 
interpreter was used, and the `command` key could be used by e.g. virtualenv to 
record what was used to construct the virtual environment. That potentially 
could be used to make recreating a broken virtual environment easier.

--
components: Library (Lib)
messages: 371775
nosy: brett.cannon, vinay.sajip
priority: normal
severity: normal
status: open
title: [venv] record which executable and command were used to create a virtual 
environment
type: enhancement
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue41011>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40965] Segfault when importing unittest module via C API

2020-06-15 Thread Brett Cannon


Change by Brett Cannon :


--
title: Segfault when importing unittest module -> Segfault when importing 
unittest module via C API

___
Python tracker 
<https://bugs.python.org/issue40965>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37674] Is imp module deprecated or pending deprecation?

2020-06-13 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue37674>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40847] New parser considers empty line following a backslash to be a syntax error, old parser didn't

2020-06-10 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue40847>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset b155381314c632e7dd452fbade3903e58657cfc7 by Miss Islington (bot) 
in branch '3.9':
bpo-24914: mention Python supports multiple paradigms in the FAQ (GH-20658) 
(GH-20737)
https://github.com/python/cpython/commit/b155381314c632e7dd452fbade3903e58657cfc7


--

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset 14073c509058f8efeb5ea7f7693bf84f410d24b7 by Miss Islington (bot) 
in branch '3.8':
bpo-24914: mention Python supports multiple paradigms in the FAQ (GH-20658) 
(GH-20738)
https://github.com/python/cpython/commit/14073c509058f8efeb5ea7f7693bf84f410d24b7


--

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset 3ab3475c42c8ee5580f4ea1aeda73ebc8e5d5478 by Brett Cannon in 
branch 'master':
bpo-24914: mention Python supports multiple paradigms in the FAQ (#20658)
https://github.com/python/cpython/commit/3ab3475c42c8ee5580f4ea1aeda73ebc8e5d5478


--

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19468] Relax the type restriction on reloaded modules

2020-06-05 Thread Brett Cannon


Brett Cannon  added the comment:

Thanks for the PR, Furkan !

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue19468>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24670] os.chdir breaks result of os.path.abspath(__file__) and os.path.realpath(__file__)

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24670>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24725>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24792] zipimporter masks import errors

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24792>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
assignee: docs@python -> brett.cannon
versions: +Python 3.10 -Python 3.6

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
keywords: +patch
nosy: +brett.cannon
nosy_count: 3.0 -> 4.0
pull_requests: +19877
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/20658

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24929] _strptime.TimeRE should not enforce range in regex

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24929>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2020-06-05 Thread Brett Cannon


Brett Cannon  added the comment:

imp has been moved to DeprecationWarning and I think its usage in the stdlib 
has been dealt with at this point.

--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue25160>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party module fails on Python 3.5)

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25150>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25268] Support pointing frozen modules to the corresponding source files, if available.

2020-06-05 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue25268>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon


Brett Cannon  added the comment:

Assigning to Nick to decide if he wants to backport it to 3.7 before it's no 
longer possible.

--
assignee:  -> ncoghlan

___
Python tracker 
<https://bugs.python.org/issue24048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24048>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24165] Free list for single-digits ints

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24165>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23967] Make inspect.signature expression evaluation more powerful

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue23967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24391>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon


Brett Cannon  added the comment:

Assigning to Serhiy in case he wants to finish this.

--
assignee:  -> serhiy.storchaka

___
Python tracker 
<https://bugs.python.org/issue24391>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue24651>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40474] Code coverage report not entirely accurate

2020-05-28 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40474>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40474] Code coverage report not entirely accurate

2020-05-28 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset d9c1f1991969e99791de75b2bc935e6445bc5dcd by lrjball in branch 
'master':
bpo-40474: Updated coverage.yml to better report coverage stats (#19851)
https://github.com/python/cpython/commit/d9c1f1991969e99791de75b2bc935e6445bc5dcd


--
nosy: +brett.cannon

___
Python tracker 
<https://bugs.python.org/issue40474>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-26 Thread Brett Cannon


Brett Cannon  added the comment:

If you can't find the guidance then please either open an issue or submit a PR 
to update the devguide with the info.

As for why your other PR was accepted, that was fixing an actual bug in the 
docstring. This one has absolutely no semantic change to Python; it's the 
equivalent of changing some whitespace just because it isn't quite in line with 
PEP 8. It simply isn't worth the overhead of the PR review or the churn on the 
file as now the `git blame` info is off for who last made a semantic change to 
that line.

--

___
Python tracker 
<https://bugs.python.org/issue40753>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23721] Set up a daily test coverage run

2020-05-25 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue23721>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Brett Cannon


Brett Cannon  added the comment:

> Is this an axiom or is the reasoning written down somewhere?

It should be written down in the devguide at devguide.python.org.

I agree with Serhiy that this isn't really adding anything by making the code 
that much more readable, idiomatic, or faster to warrant the overhead of this 
issue or the PR.

While I appreciate the effort, Ram, I'm closing this issue as rejected and the 
related PR.

--
nosy: +brett.cannon
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40753>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23794] http package should support HTTP/2

2020-05-22 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue23794>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23794] http package should support HTTP/2

2020-05-22 Thread Brett Cannon


Brett Cannon  added the comment:

And now there's https://pypi.org/project/httpcore/ which wraps h2 and h11 into 
a single, low-level API.

--

___
Python tracker 
<https://bugs.python.org/issue23794>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23738] Clarify documentation of positional-only default values

2020-05-22 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue23738>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23721] Set up a daily test coverage run

2020-05-22 Thread Brett Cannon


Brett Cannon  added the comment:

We have coverage after every push now at https://codecov.io/gh/python/cpython.

--

___
Python tracker 
<https://bugs.python.org/issue23721>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23389] pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages

2020-05-22 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue23389>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38870] Expose ast.unparse in the ast module

2020-05-20 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 
<https://bugs.python.org/issue38870>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-05-08 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +jaraco

___
Python tracker 
<https://bugs.python.org/issue40564>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 issue tracker).

--

___
Python tracker 
<https://bugs.python.org/issue36284>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue40417>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue40417>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
everyone needs to be careful in how they merge PRs by checking failures are 
legit.

And that's why I flipped off Azure Pipelines: I am not changing any more branch 
protections until a full discussion is had somewhere and there's consensus on 
what should be mandatory and stay mandatory for several months barring 
emergencies.

--

___
Python tracker 
<https://bugs.python.org/issue39837>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 sort of stuff should happen on 
either on the core-workflow issue tracker or on discuss.python.org for better 
visibility.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue39837>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, Victor.

--

___
Python tracker 
<https://bugs.python.org/issue39837>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 compared to using the import statement.

So this is working as intended.

--
nosy: +brett.cannon
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40427>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   6   7   8   9   10   >