New submission from Arthur :
Hi,
I am new to python, I am learning it now. In the course the guy is using
autocomplete and when he writes "math." he gets an autocomplete menu. on my
device for some reason it is not working. I also tried the key combination to
force pop-up but nothi
New submission from arthur:
defined global var, glob.myVar, in separated module
imported module containing glob.myVar
in function1, func1():
glob.myVar = ""
func1Var = func2()
in function2, func2():
if (...):
glob.myVar+= "abc"
func2() # call func2() again - recursive
els
New submission from Arthur Milchior :
I don't have permission to assign the issue, but I intend to post the change in
a few minutes as a PR
Copied from Richard Hyde's email to doc mailing list.
One of the examples of string formatting doesn't work. This applies to prior
ver
Change by Arthur Milchior :
--
keywords: +patch
pull_requests: +28345
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30126
___
Python tracker
<https://bugs.python.org/issu
Arthur Milchior added the comment:
ipypthon3 does not print the loop content. python3 does. I only tested with
ipython. I beg your pardon. I didn't know about this difference in behavior
--
nosy: -eric.smith
title: Zip library documentation error -> format library docum
New submission from Arthur Milchior :
I find super documentation confusing because it uses multiple variables that
are never introduced. Once you understand super, the meaning of those variables
gets easier to understand, but still, I believe that it would help the
documentation to rephrase
Arthur Milchior added the comment:
Shouldn't those change be ported to 3.10 and maybe even earlier version? They
are great, but hard to find if you read the current version manual.
I'm just surprised by the term "dotted lookup". The remaining of the
documentation menti
Arthur Milchior added the comment:
I just realized that https://bugs.python.org/issue20751 already tackled some of
my issues. While I still believe that some things can be improved, this mean
that some of the critiques in my first messages are not entirely up to date.
--
versions
Arthur Milchior added the comment:
"a base class ``B`` following ``A``" shouldn't it be "the base class"? . After
all, there is at most one base class following ``A``.
Also, I find it unclear what means "``x`` is returned unchanged, since in this
context ``x``
Arthur Milchior added the comment:
"a base class ``B`` following ``A``" shouldn't it be "the base class"? . After
all, there is at most one base class following ``A``.
Also, I find it unclear what means "``x`` is returned unchanged, since in this
context ``x``
Arthur Milchior added the comment:
I do regret to have created a single bug, as I now realize that there are two
issues that are less related than I first imagined. Is there a way to split a
bug in two, so that both discussion can be discussed in different places.
Actually, after more
Change by Arthur Milchior :
--
pull_requests: +28486
pull_request: https://github.com/python/cpython/pull/30271
___
Python tracker
<https://bugs.python.org/issue20
Arthur Goldberg added the comment:
Appreciate you working on this Serhiy and Victor!
--
___
Python tracker
<https://bugs.python.org/issue2506>
___
___
Python-bug
New submission from Justin ARthur :
Python 3 code with an identifier that has a non-spacing mark in it does not get
tokenized by lib2to3 and will result in an exception thrown in the parsing
process.
Parsing the attached file (badvar.py), results in `ParseError: bad token:
type=58, value
Justin Arthur added the comment:
Ned, can you confirm that 2to3 is not intended for cumulative/incremental runs
over the same codebase?
If it's not intended to be run on previously ported code, this will just need
to be fixed on the lib2to3 downstream projects like awpa and Black tha
Change by Justin Arthur :
--
nosy: +JustinTArthur
___
Python tracker
<https://bugs.python.org/issue12731>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Arthur Milchior :
In 3.8, int() default implementation changed, using __index__() if it is
available instead of __trunc__(). The file function.rst was updated
accordingly, but the redundant information in datamodel.rst contained out of
date information
I offer a
New submission from Arthur Milchior :
While floor/ceil 's documentation are very precise, `truncate` was not
explained. I actually had to search online to understand the difference between
`truncate` and `floor` (admittedly, once I remembered that numbers are signed,
and that flo
New submission from Arthur Milchior :
The grammar, in https://docs.python.org/3/reference/grammar.html , lacks some
utilities that the remaining of the documentation have.
While it remains usable, it is hard to navigate. As an example
https://www.python.org/dev/peps/pep-0634/
New submission from Arthur Milchior :
https://docs.python.org/3/reference/executionmodel.html list all of the way a
variable may be bound. However, it seems that it was not updated. Indeed,
structural pattern matching in 3.10 also allows to bind a variable and is not
mentionned.
As a
Change by Arthur Milchior :
--
keywords: +patch
pull_requests: +27495
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29232
___
Python tracker
<https://bugs.python.org/issu
New submission from Arthur Milchior :
In the current documentation, production tokens are not clickable. For example
in https://docs.python.org/3/reference/expressions.html#yield-expressions , you
highlight `yield_from` as a token but do not link to it.
I suppose that the goal, when using
Change by Arthur Milchior :
--
keywords: +patch
pull_requests: +27525
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29260
___
Python tracker
<https://bugs.python.org/issu
New submission from Arthur Milchior :
According to the current documentation, I believe there is an error in
list_display, set_display and dict_display.
According to list display, this is a valid expression
[* l1 ^ l2]
parsed as
list_display:
"["
starred_list:
st
Arthur Milchior added the comment:
https://docs.python.org/3/reference/expressions.html#grammar-token-python-grammar-expression
is wrong
This line state:
`expression ::= conditional_expression | lambda_expr`
and it is a problem because, by the way sphinx understand reference
New submission from Arthur Milchior :
https://docs.python.org/3/reference/expressions.html#grammar-token-python-grammar-expression
is wrong
This line state:
`expression ::= conditional_expression | lambda_expr`
and it is a problem because, by the way sphinx understand reference
Change by Arthur Milchior :
--
title: "expression" is erroneous in the doc -> Star expression in comprehension
wrongly indicates to use or_expression after the star
___
Python tracker
<https://bugs.pytho
Arthur Milchior added the comment:
Message 405188 was supposed to be another bug report. My bad.
--
___
Python tracker
<https://bugs.python.org/issue45
Change by Arthur Milchior :
--
keywords: +patch
pull_requests: +27571
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29303
___
Python tracker
<https://bugs.python.org/issu
Arthur Milchior added the comment:
I'm quite fan of your suggestion. Should I push it on the PR? Do you create
another PR? I'm not used to BPO, I beg your pardon, only to github
--
___
Python tracker
<https://bugs.python.o
Arthur Milchior added the comment:
Done
--
___
Python tracker
<https://bugs.python.org/issue45584>
___
___
Python-bugs-list mailing list
Unsubscribe:
Arthur Milchior added the comment:
Thank you very much Dennis. For two reasons.
First, because I like a lot what you wrote. I suspect that it would have saved
me time and make things less confusing.
That's not certain, because at the time I was reading the documentation of
or_expr,
New submission from Arthur Milchior :
On current main, f87ea0350286837e9e96de03f8bfa215176c2928 ,
```
cd cpython/Doc
make doctest
```
fails.
Due to:
Document: library/functions
---
Warning, treated as error
Arthur Milchior added the comment:
I know understand one thing I missed.
I needed to do `make venv` after changing the make file to get 3.10 in virtual
environment.
The issue being that this would make doc harder to create on ubuntu since 3.10
is not yet easily accessible through apt/snap
New submission from Arthur Milchior :
I would like to work on this documentation improvement. Before spending time on
it, I would like to know whether it would be accepted in principle and whether
the way I would intend to improve the documentation would be accepted.
# Problem:
In a lot of
Arthur Milchior added the comment:
Thanks for the warning about double link. I agree with you.
I guess it's another reason why it would be non trivial to automate here.
--
___
Python tracker
<https://bugs.python.org/is
New submission from Arthur Fibich :
It's just a personal thing, but I kind of miss the following possibility in
Python (and likewise every other language I know):
Like
a += 1
is the same as
a = a + 1
I'd love to see
a .= b()
as an opportunity to express
a = a.b()
Possible usag
Change by Justin Arthur :
--
nosy: +JustinTArthur
nosy_count: 5.0 -> 6.0
pull_requests: +21508
pull_request: https://github.com/python/cpython/pull/22491
___
Python tracker
<https://bugs.python.org/issu
Justin Arthur added the comment:
I've added a new PR, PR 22491. This one has as_completed returning an iterator
and includes tests for both the old and new style.
I see a trivial amount of latency added in extra call stack over Guido's
original implementation. Should we decide to
Justin Arthur added the comment:
Not sure if there is consensus on how to fix, but fixing #12731 will fix this
for most of the cases I've seen complaints about as a side effect.
--
___
Python tracker
<https://bugs.python.org/is
Justin Arthur added the comment:
Thanks, Hrvoje. I've updated the patch to match this bug's suggested format and
have updated the documentation and What's New.
The one quirk that comes with the benefit of getting the same futures back is
that we still allow both coroutines an
Change by Justin Arthur :
--
title: Provide an async-generator version of as_completed -> Provide an async
iterator version of as_completed
___
Python tracker
<https://bugs.python.org/issu
Change by Justin Arthur :
--
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue33533>
___
___
Python-bugs-list mailin
Change by Justin Arthur :
--
nosy: +JustinTArthur
nosy_count: 5.0 -> 6.0
pull_requests: +21662
pull_request: https://github.com/python/cpython/pull/22691
___
Python tracker
<https://bugs.python.org/issu
Justin Arthur added the comment:
The "'NoneType' object has no attribute 'close'" error is likely caused by a
race against the loop calling the test protocol object's connection_made
callback. I was able to reproduce this case occasionally on macOS and it
Justin Arthur added the comment:
Your change makes perfect sense to me. It would be a backport-only change as
the 2nd set creation is actually getting removed for the development version
(3.10) to finalize the deprecation of wait's coroutine scheduling.
--
nosy: +JustinTA
Justin Arthur added the comment:
I believe the documentation may be referring to the English set and not a
Python set, but I could be wrong.
Yury changed the wording from sequence to set in 3.7, but we didn't document a
breaking change as far as I know. The purpose of thos
Justin Arthur added the comment:
> So the behaviour you describe will happen anyway.
Unless we make your change against the 3.9 branch, in which case the fix will
make it into the 3.9.x series of patch releases.
--
___
Python tracker
<
Changes by Arthur Darcet :
--
nosy: +rthr
___
Python tracker
<http://bugs.python.org/issue29406>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Arthur Darcet:
Here is the example code I am running:
```
import asyncio
class it:
async def __aenter__(self):
return self
async def __aexit__(self, *_):
print('EXIT')
async def main():
asy
Arthur Darcet added the comment:
Ok, thank you. I'm guessing the patch I proposed in the PR is not an option,
for my curiosity, why is that?
--
___
Python tracker
<http://bugs.python.org/is
New submission from Arthur Darcet:
If I'm not mistaken, a BytesIO buffer can be in three states:
(1) `b = BytesIO(b'data')` -> free of any constraints
(2) `d = b'data'; b = BytesIO(d)` -> cannot modify the underlying bytes
without copying them
(3) `b = By
Arthur Darcet added the comment:
it's a tiny bit slow, but that works, thank you. I guess we can close this
% python -m timeit -s "import io; b = io.BytesIO(b'0' * 2 ** 30)" "p =
b.tell(); b.seek(0, 2); b.tell(); b.seek(p)"
100 loops, best of 3: 0.615 u
Arthur Darcet added the comment:
BytesIO is heavily optimised to avoid copying bytes when it can.
For case (1), if you want to modify the data, then there is no need to actually
copy it before overwriting it, because no-one else is using it
For case (2), if you want to change something, then
Change by Arthur Neufeld :
--
keywords: +patch
pull_requests: +9868
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35259>
___
___
Py
Arthur Goldberg added the comment:
This issue is well into the 2nd decade of debate.
Who has the power to effect this change?
Happy New Year
Arthur
--
___
Python tracker
<https://bugs.python.org/issue2
New submission from Arthur Goldberg:
I've just taught myself how to write C extensions to Python with
https://docs.python.org/3.6/extending/extending.html. I think it's quite good.
Nevertheless, I've some suggested improvements. These all use the vi s///
replacement syntax.
Am
Arthur Goldberg added the comment:
Also,
Incorrect number agreement:
s/strategy that minimizes this kind of errors/strategy that minimizes this kind
of error/
--
___
Python tracker
<http://bugs.python.org/issue29
New submission from Arthur Goldberg:
The core example on this page starts:
from distutils.core import setup, Extension
module1 = Extension('demo',
sources = ['demo.c'])
...
I suggest that 'sources = ['demo.c']' be changed to
Changes by Arthur Gutman :
--
nosy: +archibald
___
Python tracker
<http://bugs.python.org/issue27240>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Arthur Goldberg :
I'm attempting to better understand an
ImportError: cannot import name ''
error by reading the cpython source. But I cannot find this error in the
source. The closest I find is in cpython/Python/ceval.c, lines 5060 & 5068,
Arthur Goldberg added the comment:
I'm another user of Ned's coverage tool. Our team at the Mount Sinai School of
Medicine is building tools to model the dynamics of biochemistry inside
individual cells. Our short term aims are to better understanding microbiology
and model micr
New submission from Arthur Neufeld :
In application compiled with
#define Py_LIMITED_API 0x0304
this method was used
Py_FinalizeEx()
Tested application with:
SET PATH=...;C:\Program Files\Python35
APPLICATION.EXE
Result:
Entry Point Not Found
(X) The procedure entry point
Arthur Kantor added the comment:
Hi guys
It appears, that this patch was meant to go into both the 2.x and 3.x series,
but it never made into 2.x
Are there still plans to apply it to 2.7?
(apologies if I'm asking this in the wrong forum)
--
nosy: +Arthur.Kantor
versions: +P
Arthur Petitpierre added the comment:
I attached a patch containing both the fix suggested by Allan and a test case.
Tested against trunk and python2.7.
--
keywords: +patch
nosy: +arthur.petitpierre
Added file: http://bugs.python.org/file28229/issue4643.patch
New submission from Arthur Vanwalleghen:
When I tried to work with GDBM and Ndbm files I saw that their supporting
modules were not found. This can be verified with Pydoc:
Pydoc\Python36-32\lib \dbm(package)\Package Contents\gnu|ndbm
ErrorDuringImport: problem in dbm.gnu
New submission from Arthur Carcano:
There is a type in the `IPv6Network' constructor doc, fixed in attached patch.
--
assignee: docs@python
components: Documentation
files: patch_doc_ipaddress.patch
keywords: patch
messages: 267999
nosy: NougatRillettes, docs@python
priority: n
Changes by Arthur Darcet :
--
nosy: +Arthur.Darcet
___
Python tracker
<http://bugs.python.org/issue6818>
___
___
Python-bugs-list mailing list
Unsubscribe:
68 matches
Mail list logo