Alex Waygood added the comment:
Thanks, Andrew! I've submitted a patch.
--
___
Python tracker
<https://bugs.python.org/issue46741>
___
___
Python-bugs-list m
Change by Alex Waygood :
--
keywords: +patch
pull_requests: +29483
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31327
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
keywords: +patch
stage: -> patch review
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46745>
___
___
Pyth
Change by Alex Waygood :
--
nosy: +rhettinger
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46747>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46743>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Waygood :
The docstring for asyncio.protocols.BufferedProtocol includes this paragraph:
"""
Important: this has been added to asyncio in Python 3.7
*on a provisional basis*! Consider it as an experimental API that
might be changed or remove
Change by Alex Waygood :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue46739>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
I suppose it might also be worth considering moving `owner()` and `group()` to
PosixPath. In practice, these unconditionally raise NotImplementedError on
Windows, since the pwd and grp modules are not available on Windows. So, in an
ideal world, they probably
Alex Waygood added the comment:
Here's my two cents, as a non-expert when it comes to pathlib:
I'm not really sure why `is_mount()` exists on WindowsPath objects, given that
it unconditionally raises `NotImplementedError` on WindowsPath objects -- that
seems *very* strange to me. It seems
Change by Alex Waygood :
--
keywords: -patch
stage: patch review ->
___
Python tracker
<https://bugs.python.org/issue46733>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
pull_requests: -29461
___
Python tracker
<https://bugs.python.org/issue46733>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
pull_requests: +29441
pull_request: https://github.com/python/cpython/pull/31281
___
Python tracker
<https://bugs.python.org/issue46
Change by Alex Waygood :
--
nosy: +rhettinger, tim.peters
title: Feature: iptertools: add batches -> Feature: itertools: add batches
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
nosy: +rhettinger
type: -> performance
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue46713>
___
___
Py
Alex Waygood added the comment:
@Guido, OP already has — Jelle and I have both reviewed and approved it :)
--
___
Python tracker
<https://bugs.python.org/issue46
Alex Waygood added the comment:
Just so that all the discussion related to this issue can be found in one
place, here's a summary:
- After opening this ticket, OP opened an issue in the python/typing
repository, where the idea of deprecating this syntax received many thumbs-up
reactions
Change by Alex Waygood :
--
nosy: +asvetlov, rhettinger, yselivanov
___
Python tracker
<https://bugs.python.org/issue46622>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46333>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
assignee: docs@python ->
components: +Library (Lib) -Documentation
nosy: -docs@python
title: Remove keyword args syntax for TypedDict definition -> Deprecate keyword
args syntax for TypedDict definition
type: -> behavior
versions: +Python 3.1
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/issue46
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
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46637>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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:
`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/issue46
Change by Alex Waygood :
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issue46433>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
nosy: +AlexWaygood, Jelle Zijlstra, sobolevn
___
Python tracker
<https://bugs.python.org/issue46066>
___
___
Python-bugs-list mailin
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: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue46592>
___
___
Python-bugs-list mailing list
Unsub
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 :
--
assignee: docs@python -> ethan.furman
nosy: +ethan.furman
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.or
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 tracker
<ht
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
Change by Alex Waygood :
--
keywords: -patch
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
pull_requests: -29201
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +gvanrossum, kj -miss-islington
stage: patch review ->
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
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.
Anyway
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:
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 illustrates
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 end
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
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue44791>
___
___
Python-bugs-list mailing list
Unsubscribe:
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, sobolevn
___
Python tracker
<https://bugs.python.org/issue46539>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46534>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue41370>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 function
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 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 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
___
P
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 to do so
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, in
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
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:
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 :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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/issue45
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 it's
Change by Alex Waygood :
--
nosy: +hynek
___
Python tracker
<https://bugs.python.org/issue46382>
___
___
Python-bugs-list mailing list
Unsubscribe:
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>
___
__
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 in ty
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
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
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46396>
___
___
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: +rhettinger
___
Python tracker
<https://bugs.python.org/issue46387>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46386>
___
___
Python-bugs-list mailing list
Unsubscribe:
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/issue45
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'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 3.7,
Change by Alex Waygood :
--
nosy: +sobolevn
___
Python tracker
<https://bugs.python.org/issue46371>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood, sobolevn
___
Python tracker
<https://bugs.python.org/issue46369>
___
___
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 :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46279>
___
___
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/issue46363>
___
___
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 :
--
components: +Documentation -Interpreter Core
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +asvetlov, yselivanov
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46341>
___
__
Change by Alex Waygood :
--
components: +Tests -Library (Lib)
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
Python-
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46345>
___
___
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 :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue46358>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46359>
___
___
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
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 from
Alex Waygood added the comment:
Heh, no worries!
--
___
Python tracker
<https://bugs.python.org/issue46348>
___
___
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
Change by Alex Waygood :
--
nosy: -AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46309>
___
___
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/issue46342>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: performance -> behavior
___
Python tracker
<https://bugs.python
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46328>
___
___
Python-bugs-list mailing list
Unsubscribe:
101 - 200 of 1603 matches
Mail list logo