Change by Alex Waygood :
--
title: Error path in `_missing_()` is not covered for `enum.Flag` and
`enum.IntFlag` -> Enum tests: Error path in `_missing_()` is not covered for
`Flag` and `IntFlag`
___
Python tracker
<https://bugs.pyth
Alex Waygood added the comment:
Thanks, Nikita! My bad for not adding tests for __new__ in PR 29316.
To confirm: yes, my idea in PR 29316 was that "__new__" (along with most enum
dunders) should not show up in the output of dir(Enum), but should show up in
dir(EnumSubclass) if a
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46244>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
> We will still allow instantiating e.g. list[int], right?
I certainly hope so! That would be a much more breaking change if we were to
change that, and I can't personally see any benefit to doing so.
--
__
Change by Alex Waygood :
--
nosy: +eric.smith
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46290>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
nosy: +ethan.furman
title: One branch is not covered in `Enum._convert_` -> Enum tests: One branch
is not covered in `Enum._convert_`
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
assignee: -> ethan.furman
___
Python tracker
<https://bugs.python.org/issue46242>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex Waygood :
--
title: Suspicios operation in `doctest.py`: `None - 1` -> Suspicious operation
in `doctest.py`: `None - 1`
___
Python tracker
<https://bugs.python.org/issu
New submission from Alex Grönholm :
PR #25309 (https://github.com/python/cpython/pull/25309) changed OpenSSL
behavior so that it ignores unexpected EOFs by default. This was detected by
the test suites of both trio and AnyIO when running on OpenSSL 3.
We worked around the problem by
Alex Grönholm added the comment:
This is a security issue because it exposes users to TLS truncation attacks
that weren't possible before because such attempts would raise SSLEOFError.
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
nosy: +belopolsky, p-ganssle
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue46319>
___
___
Pytho
Alex Grönholm added the comment:
I hope the Fedora maintainers/packagers know this because on Rawhide, Python is
being compiled against OpenSSL 3 (which is how we discovered the problem). F36
is due out in a little over 3 months.
--
___
Python
Alex Grönholm added the comment:
Good to see that this is being handled. I could try to write a patch to do what
I suggested above, if you're willing to review it.
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
stage: -> patch review
type: compile error -> behavior
___
Python tracker
<https://bugs.python.org/issue43698>
___
___
Pyth
Change by Alex Waygood :
--
assignee: -> ethan.furman
___
Python tracker
<https://bugs.python.org/issue46327>
___
___
Python-bugs-list mailing list
Unsubscrib
Alex Grönholm added the comment:
I just noticed that Ubuntu 22.04 LTS also uses OpenSSL 3 with their Python
builds. I hope somebody has told them too about the state of affairs.
--
___
Python tracker
<https://bugs.python.org/issue46
Alex Waygood added the comment:
Reproduced on safari on my iPad, as well.
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46334>
___
___
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46333>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46328>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: performance -> behavior
___
Python tracker
<https://bugs.python
Change by Alex Waygood :
--
nosy: +AlexWaygood, lukasz.langa
___
Python tracker
<https://bugs.python.org/issue41987>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46342>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
I'm removing 3.7 and 3.8 from the "versions" field, since those branches are
old enough that they're now only accepting security-related patches.
--
nosy: +AlexWaygood
versions: -Python 3.7, Python 3.8
__
Change by Alex Waygood :
--
nosy: -AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46309>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood, gvanrossum, kj
title: Morernize `test_typing` -> Modernize `test_typing`
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
Alex Waygood added the comment:
Heh, no worries!
--
___
Python tracker
<https://bugs.python.org/issue46348>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Waygood :
Hi -- thanks for the report! You haven't given us many details here, but I
think this is intentional behaviour, not a bug -- this was changed in
Issue37324. Importing `Mapping` (along with many other names) directly from
`collections`, instead of
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46359>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue46358>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
components: +Tests -Library (Lib)
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
Python-
Change by Alex Waygood :
--
nosy: +asvetlov, yselivanov
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46341>
___
__
Change by Alex Waygood :
--
components: +Documentation -Interpreter Core
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46363>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex Waygood :
--
title: Two typos in verions 3.7 document translation of zh_CN -> Two typos in
versions 3.7 document translation of zh_CN
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46279>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46369>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue46371>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
(I'm removing 3.6 and 3.7 from the "versions" field, since those two branches
are now only accepting patches if it relates to security.)
--
nosy: +AlexWaygood, rhettinger
versions: -Python
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
@terry, have you had a chance to glance at my PR at all? I'd really appreciate
your review! :)
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46386>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue46387>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46382>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46396>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Waygood :
Issue40890 added a new `.mapping` attribute to dict_keys, dict_values and
dict_items in 3.10. This addition is great for introspection. However, it has
inadvertently caused some unexpected problems for type-checkers.
Prior to Issue40890, the typeshed stub
Alex Waygood added the comment:
As a fix, I propose that two changes be made to `dict_keys`, `dict_values` and
`dict_items`:
* They should be officially exposed in the `types` module.
* `__class_getitem__` should be added to the classes.
These two changes would mean that users would be able
Alex Waygood added the comment:
Thanks, Kumar — I appreciate it!
> (Though since this can only work for 3.11+, maybe typeshed could also be
> adjusted? For that you’d have to file a bug there.)
Yes — it's unfortunate, but I have some ideas for hacky workarounds we can
implement
Alex Waygood added the comment:
Do these changes warrant an entry in "What's New in 3.11"?
--
___
Python tracker
<https://bugs.python.org/issue46399>
___
_
Change by Alex Waygood :
--
nosy: +hynek
___
Python tracker
<https://bugs.python.org/issue46382>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
I agree with Inada that not every internal type should be exposed, but I would
make an exception for the dict views classes due to the fact that dict
subclasses are much more common than subclasses of other mappings, such as
OrderedDict. I don't think
Alex Waygood added the comment:
Wait... there's still PR 29479 open!
But that can wait a little while -- getting PR 29335 over the line is
definitely worth celebrating!!
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
I have also been persuaded that my suggested solution is not the way to go.
Thanks everybody for the useful discussion.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra
___
Python tracker
<https://bugs.python.org/issue45524>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
Thanks for the PRs, Kumar — I appreciate you putting in the time. Sorry for the
wasted effort.
--
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
___
Python tracke
Alex Waygood added the comment:
I also agree that documenting this is a great idea. It's already been adopted
by large swathes of the typing community for use in this context. The value of
having NoReturn act as a "bottom type" is evident. Time to make it official,
Alex Waygood added the comment:
It looks like __class_getitem__ was added to PurePath at @asvetlov's request
in PR 17498. But, I'm also not quite sure why. The class is not generic in
typeshed, so type-checkers will raise an error if you do PurePath[str], even if
it is possible t
Alex Grund added the comment:
Yes this is still an issue.
I'm trying to compile Python on an HPC system which uses modules (see e.g.
LMod).
Yes with LC_ALL=C it does write "gcc version 9.1.0 ..."
--
status: pending -> open
Alex Waygood added the comment:
Sounds like a great idea. I like the idea of putting it in the "Relevant PEPs"
section, as that section already details how the typing module has evolved over
the past few major versions of Python.
--
Alex Waygood added the comment:
> Sorry, I was too excited when PR 29335 merged and missed that. In the future,
> please re-open if you feel I closed an issue wrongly. Thanks!
No worries — will do!
--
___
Python tracker
<https://bugs.p
Alex Gaynor added the comment:
Sticking with 100k is not scientific though ;-) Empiricism is science!
I'm probably the person responsible for Django's process, which is to increase
by some % (10% or 20% IIRC) every release.
As you point out, the exact value one should use is a f
Alex Zaslavskis added the comment:
Thanks guys. Microsoft is always pain for us.
Bit wmic seems nice solution.
Is still working for windows lower than 11?
--
___
Python tracker
<https://bugs.python.org/issue45
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Zaslavskis added the comment:
The quick research on web gived me that C/C++ developers will just get the
build version and compare it with predefined list.
See more there:
https://docs.microsoft.com/answers/questions/672988/c-detect-windows-build.html
ср, 26 янв. 2022 г., 05:05 Eryk Sun
Alex Zaslavskis added the comment:
The quick research on web gived me that C/C++ developers will just get the
build version and compare it with predefined list.
See more there:
https://docs.microsoft.com/answers/questions/672988/c-detect-windows-build.html
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46534>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46539>
___
___
Python-bugs-list mailing list
Unsub
Alex Waygood added the comment:
I agree with Jelle and Guido
--
___
Python tracker
<https://bugs.python.org/issue46552>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: -> needs patch
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/i
Alex Waygood added the comment:
+1 for the proposed PR. Loop variables leaking into the global namespace
creates an extra burden for typeshed when we have to wade through a long list
of objects that our tests report are present at runtime but not in the typeshed
stubs. It's not the e
Alex Waygood added the comment:
I agree that the typeshed issue is less important than the output of dir() and
help(). I also agree that we shouldn't make a fetish of typing.
However, I see the typeshed issue less as an issue specific to typing, and more
as an example that illustra
Change by Alex Waygood :
--
assignee: docs@python -> ethan.furman
nosy: +ethan.furman
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
...Option 3). Deprecate @no_type_check?
Maybe we should gather some stats on how many people are using @no_type_check?
My feeling is that it's never achieved widespread adoption, so maybe it's just
not that useful a thing to have in the stdlib.
A
Change by Alex Waygood :
--
nosy: +gvanrossum, kj -miss-islington
stage: patch review ->
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
pull_requests: -29201
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
keywords: -patch
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
The desmper121 user appears to be a spammer; I am undoing all the changes they
made to this BPO ticket.
--
nosy: -barry, lys.nikolaou, pablogsal, r.david.murray, yselivanov
type: -> behavior
versions: -Python 3
Alex Waygood added the comment:
I fully withdraw my suggestion of deprecating the decorator; it's evidently
used more than I realised. I don't have any strong opinion on whether (1) or
(2) would be a better solution.
--
___
Python track
Change by Alex Waygood :
--
assignee: docs@python -> ethan.furman
nosy: +ethan.furman
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
assignee: -> docs@python
components: +Documentation
keywords: +patch
nosy: +Jelle Zijlstra, docs@python, gvanrossum, kj
stage: -> patch review
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue46592>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue44796>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46066>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issue46433>
___
___
Python-bugs-list mai
Alex Waygood added the comment:
`enum.property` is new in Python 3.11, so this isn't an issue for 3.9 or 3.10.
--
nosy: +AlexWaygood
versions: -Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/is
Alex Waygood added the comment:
:func:`~enum.property` means that the visible text on the webpage will be
"property", but the link will be to enum.property rather than builtins.property.
--
___
Python tracker
<https://bugs.python.o
Alex Waygood added the comment:
The ~ always only uses the final part of the name for the display text, e.g.
`~collections.abc.Iterator` would have "Iterator" as the visible text on the
website.
--
___
Python tracker
<https://bu
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46637>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
As a longtime Windows user, I also generally expect ctrl+Y to redo an action in
most programs, FWIW.
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46
Alex Gaynor added the comment:
It seems to no longer be crashing with alpha5. Hopefully it's actually fixed
and not merely having a more subtle failure mode.
--
___
Python tracker
<https://bugs.python.org/is
201 - 300 of 1613 matches
Mail list logo