Change by Terry J. Reedy :
--
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
title: Generator-based coroutines in Python 3.10 docs -> Generator-based
coroutines in Python 3.
Terry J. Reedy added the comment:
For the open dialog, we only need the expanded extension list. People with
no-extension python code file must select 'all files'. Once the file is open,
we need the issource function to decide whether to turn on the colorizer. I
intend to
Terry J. Reedy added the comment:
I broaden the issue title scope and will correspondingly restrict the PR scope.
'Recognition' applies to open and save dialogs, syntax marking, and module
browsing. (The latter needs fixing for .pyw also.)
Improving the handling of no extens
Terry J. Reedy added the comment:
I wish it were otherwise, but configuration defaults cannot be changed as some
people would not like it and it would badly interact with custom
configurations. We can add new themes and keysets, but that should be very
rare. We can consider adding
Terry J. Reedy added the comment:
[Please just select the current development version. Others can be marked if
and when backported. 3.8 and before only get security fixes. Same for 3.9
after about next May 31.]
Please explain exactly what you want and rewrite something like the following
Terry J. Reedy added the comment:
I loaded a .py file into N++ and see them. Under 3 x, there are clearly
separate minidots. Under 10x, the dots are hardly visible. They are not
characters in the text (cannot be copied) but a special manipulation of the
column of pixels 'between
Terry J. Reedy added the comment:
'│' is a bit taller that ascii bar '|'; hex(ord('│')) = '0x2502'. It is a bit
heavy. In this Windows Firefox box it is slightly lighter than | but in IDLE
with Source Code Pro, it is slightly darder. Worse is bei
Terry J. Reedy added the comment:
I am guessing that N++ or its GUI framework uses a transparent overlay. For
tkinter, that would mean a transparent Canvas on which one could draw vertical
dotted gray lines 1-pixel wide. However, Serhiy Storchaka in msg213643 of
#20920 said: "Tk sup
Terry J. Reedy added the comment:
New changeset 50cf4991c49e19f917305dd7b9c71085c11edddb by Alex Waygood in
branch 'main':
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
https://github.com/python/cpython/commit/50cf4991c49e19f917305dd7b9c710
Change by Terry J. Reedy :
--
pull_requests: +29464
pull_request: https://github.com/python/cpython/pull/31303
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
pull_requests: +29465
pull_request: https://github.com/python/cpython/pull/31304
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
pull_requests: +29466
pull_request: https://github.com/python/cpython/pull/31305
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
New changeset 9fabcfbe68ff81ef5f17f86a93daf9cce9d83876 by Terry Jan Reedy in
branch '3.10':
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
https://github.com/python/cpython/commit/9fabcfbe68ff81ef5f17f86a93daf9
Change by Terry J. Reedy :
--
pull_requests: +29468
pull_request: https://github.com/python/cpython/pull/31307
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
New changeset 2d98433549be358d1c192e30e51b8d345d618cc7 by Terry Jan Reedy in
branch 'main':
bpo-45447: Add entry to What's new 3.10 (GH-31304)
https://github.com/python/cpython/commit/2d98433549be358d1c192e30e
Terry J. Reedy added the comment:
New changeset cef91ca80c41749824eca1d4b2c99731e3d5f64c by Terry Jan Reedy in
branch 'main':
bpo-45447: Add entry to What's new 3.9 (GH-31305)
https://github.com/python/cpython/commit/cef91ca80c41749824eca1d4b
Terry J. Reedy added the comment:
New changeset 6331c08d1c3248ff47a7b8e0045c9023c9af672c by Terry Jan Reedy in
branch 'main':
bpo-45447: Fix entry in What's New 3.11 (GH-31307)
https://github.com/python/cpython/commit/6331c08d1c3248ff47a7b8e00
New submission from Terry J. Reedy :
Python will attempt to execute any file it can decode to unicode text as a
startup script. It will only import .py files as a module. #45447 turned on
syntax coloring for .pyi stub files. (.pyw files and files starting with
"!#.*python" we
Terry J. Reedy added the comment:
Issue 46746 is the followup for browsers (currently restricted to .py files)
and anything else.
--
title: Make IDLE recognize .pyi stub files (and .pyw) as python source -> Make
IDLE recognize .pyi stub files as source for open, save, and e
New submission from Michael J. Sullivan :
class A:
def foo(self, cls): return 1
class B: pass
class B:
bar = classmethod(A().foo)
B.bar()
In Python 3.8 and prior, this worked. Since Python 3.9, it produces "TypeError:
A.foo() missing 1 required positional argument:
Change by Michael J. Sullivan :
--
keywords: +patch
pull_requests: +29517
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31367
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Allowing no parentheses is also consistent with the following:
for x in 1,2,3: print(x)
--
nosy: +terry.reedy -jwilk
___
Python tracker
<https://bugs.python.org/issue46
Terry J. Reedy added the comment:
There is no object.__bool__. None.__bool__.__doc__ appears to be an accidental
copy of bool/int/float/complex.__bool__.__doc__. It should just be 'False'.
--
nosy: +terry.reedy
title: object.__bool__ docstring is wrong -> None.__bool__
Terry J. Reedy added the comment:
I think pathlib should be raising TypeError, ValueError, or something else as
appropriate. Or not raising in situations Eryk indicated. x/0 *could* be +-
float('inf'), but we don't raise NotImplementedError for it.
--
nos
Terry J. Reedy added the comment:
As 'crash', as used here, is when python exits abnormally *without* an
exception traceback. The traceback in the linked report is:
Traceback (most recent call last):
File "video2x.py", line 53, in
from upscaler import AVAILABLE_D
Terry J. Reedy added the comment:
Even if deprecated, it will be around for at least 2 versions. A patch now
might be worthwhile, but I don't know who would review it.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
With IDLE, I have issues with trying to test IDLE code without retesting
tkinter, as well as deciding on the proper units of behavior to test.
Some suggestions:
1. Add a docstring to the module with guidelines, after review from a couple of
others.
For
Terry J. Reedy added the comment:
The conversions from 0o777 to 511 in 3.10 and 3.11 but not in 3.9 are these:
https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir
Path.mkdir(mode=511, parents=False, exist_ok=False)
https://docs.python.org/3/library/os.html#os.mkdir
os.mkdir
Terry J. Reedy added the comment:
For whatever reason, all builtins with a __bool__ method appear to share the
same docstring. For example,
>>> range.__bool__.__doc__
'self != 0'
>>> bool(range(0))
False
>>> bool(range(1))
True
The concrete collect
Change by Terry J. Reedy :
--
pull_requests: -29607
___
Python tracker
<https://bugs.python.org/issue45641>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue40358>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> IDLE: Add search to textview.ViewWindow
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
#46830 is a duplicate request.
--
versions: +Python 3.11 -Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue36
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue34429>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Éric, you might use git log or git blame to see who that is active has patched
the relevant file in the last few years.
--
___
Python tracker
<https://bugs.python.org/issue26
Terry J. Reedy added the comment:
Also, which of the two patches.
Irit, you just patched Temp file doc, can you look at the PR code?
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue26
Change by Terry J. Reedy :
--
nosy: -terry.reedy
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue37426>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
title: multiprocessing.connection.Client doesn't support ipv6 -> Make
multiprocessing.connection.Client support ipv6
___
Python tracker
<https://bugs.python.org
Change by Terry J. Reedy :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue46816>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
title: Installer Wizard is unclear and has redundant settings -> Windows
installer is unclear and has redundant settings
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
With two exceptions, nice suggestions if feasible.
>>> def foo(*args=None): pass
SyntaxError: * argument cannot have default value
>>> def foo(**kwargs=None): pass
SyntaxError: ** argument cannot have default value
Good.
>>>
Terry J. Reedy added the comment:
CPython, at least, allows users to insert non-string keys in namespace dicts
that are conceptually string-key only.
>>> globals()[0] = 'zero'
>>> globals()[0]
'zero'
>>> vars()
{'__name__': '__mai
Terry J. Reedy added the comment:
It is possible that some core developer may get regular valgrind reports, but I
would not know who. I am pretty sure that you should run it at least on the
latest release of the 'main' branch, 3.11.0a5, and perhaps even better, the
current t
Change by Terry J. Reedy :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Posting a thousand line message makes following a discussion extremely
difficult. Move it into an attachment, if you did not do that already, and
delete the message by 'editing' it. As I said, I cannot otherwise respon
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue46849>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
"IOBase" is a public name and IOBase has an __init__ method. It definitely has
a public constructor. However, like other abstract base classes, it is not
meant to be directly instantiated by users other than writers of other classes.
Ditto
Terry J. Reedy added the comment:
https://stackoverflow.com/questions/71290382/how-do-i-adjust-python-idle-shell-settings-so-that-the-next-line-of-code-i-type
is from someone who, for whatever reason, likes having blank space in the shell
below the input prompt. It is not clear whether
Terry J. Reedy added the comment:
New changeset cedd2473a9bebe07f3ced4f341cf58a2fef07b03 by slateny in branch
'main':
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
https://github.com/python/cpython/commit/cedd2473a9bebe07f3ced4f341cf58
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Phillip J. Eby added the comment:
Patch implementing an alternate approach: support automatically
importing __main__ when sys.argv[0] is an importable path. This allows
zip files, directories, and any future importable locations (e.g. URLs)
to be used on the command line. Note that this also
Changes by Phillip J. Eby:
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1739468>
_
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python
Phillip J. Eby added the comment:
Interested, yes. Have time for at the moment, no. :( Seems unlikely
I'll have time before 2008Q1 at this point.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Terry J. Reedy added the comment:
Binary search with print is done manually. If error not obvious from quick
read, in a 20 line function, add print around line 10. If ok there, look down
and add print later in function. If not, look up and add print earlier in
function. This is not exact at
Terry J. Reedy added the comment:
More time: read outline, good start.
On syntax errors, IDLE put up message box and OK returns to window with
apparent error hi-lited and cursor just after.
--
___
Python tracker
<http://bugs.python.org/issue12
Terry J. Reedy added the comment:
Thanks for the report, which I verified on 3.2.2, Win7. When reporting a bug,
please give a minimal example of code showing the bug, and the buggy output. I
presume you mean something like the following (slightly edited):
>>> profile.run('for
Terry J. Reedy added the comment:
As I understand this, you are asking that 2.7 urllib2.build_opener().open(),
which in 3.x is urllib.request.build_opener().open(), be upgraded to return an
object that works as a context manager. Unless the docs say that this should
already be the case, this
Terry J. Reedy added the comment:
Range and most of the itertools functions are exposed at the Python level as
iterator classes. (But since C does not have classes, they must be C-level
functions!) The int 'class' is also not profiled.
I think this is wrong behavior. Int and range
Terry J. Reedy added the comment:
Feature requests only apply to 3.3.
To echo Mark: there are an indefinite number of combinatorial generators that
could be added. The itertools module should only have a few of the most
generally useful, especially in combination with other tools. An
Terry J. Reedy added the comment:
Some notes: In 3.x, cookielib is http.cookiejar. LWPCookieJar is a subclass of
FileCookieJar. The module follows RFC 2109 and RFC 2965. RFC 6265 is labelled a
'PROPOSED STANDARD' that 'obsoletes' 2965, but its status is unclear to me. R
Terry J. Reedy added the comment:
>From your version choice, you apparently are using 2.6, which is in
>security-fix only mode. Please test with the latest 2.7 and/or 3.2.
--
nosy: +terry.reedy
stage: -> test needed
versions: +Python 2.7 -P
Changes by Terry J. Reedy :
--
resolution: duplicate ->
stage: committed/rejected -> commit review
___
Python tracker
<http://bugs.python.org/issue12973>
___
__
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue12979>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
components: +Tkinter
___
Python tracker
<http://bugs.python.org/issue12979>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Eric, you can initially give a doc patch as text in a message, though an actual
diff in nicer and may get action sooner. I agree that something could be added.
Perhaps the quote "It is possible" should be followed with something like
"Ho
Terry J. Reedy added the comment:
You could help this along by both running Lib.test.test_uuid with your patch
applied and reporting that it passes.
Raymond, I added you because this is about changing random functions.
Side note: This code in test_uuid.test_uuid4()
uuids
Terry J. Reedy added the comment:
I got same with 3.2.2. I did it first from editor window and it only crashed
that window, leaving the shell window ok until I tried it there also.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.
Terry J. Reedy added the comment:
The view of MyDocuments in the save dialog is different from that of Windows
Explorer. In particular, it shows a directory twice, the current version and an
older version. Double clicking the current version, to see the contents, also
crashed IDLE without
Terry J. Reedy added the comment:
Barry, Benjamin, do you agree that this is a security issue as far as future
2.6 and 3.1 security fix releases are concerned?
--
nosy: +barry, benjamin.peterson, terry.reedy
___
Python tracker
<h
Terry J. Reedy added the comment:
This tracker is for issues (bugs and feature requests) involving CPython. Your
problem appears to be with the 3rd-party extension. Please ask your question on
its mailing list
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
It will certainly have
Terry J. Reedy added the comment:
On 3.2.2, your example (adapted) produces
>>>
2945 characters fetched
So, as Senthil said, the requested feature already exists. But it cannot be
added to the 2.7 series; the Python 2.7 *language* is feature frozen. 2.7.z bug
fixes serve to
Terry J. Reedy added the comment:
Since 2.7 was released after 3.1, I will assumed any bugfix was applied there
also until someone determines otherwise. Thanks for checking.
--
resolution: -> out of date
status: open -> closed
___
Python t
New submission from Terry J. Reedy :
>From python-ideas thread "truncate sequences in pretty-print ?"
On Sat, Sep 17, 2011 at 9:59 PM, Steven Samuel Cole
> i use pprint quite a bit during development to give me quick insight
> into what is going on inside my application.
>
Terry J. Reedy added the comment:
My long-ago memory is that 'should not' is slightly looser in w3c parlance
than 'must not'. However, it is a moot point if we decide to follow the
'should' in 3.3 for the default 'strict' mode, which both Ezio a
Terry J. Reedy added the comment:
Brian, you marked this 'patch review', bypassing 'test needed'. Should this
have any visible effect at the Python level that can be tested?
--
___
Python tracker
<http://bug
Terry J. Reedy added the comment:
Minor edit: in 'which are push below TOS', /push/pushed/.
I understand 'in this order' to mean that positional defaults are pushed first
so that they end up on the bottom, whereas annotations are pushed last and end
up just under the
Terry J. Reedy added the comment:
Right. This opcode is the end of a sequence of opcodes that sets up the stack
in the way expected. Perhaps something like
Pushes a new function object on the stack. From bottom to top, the consumed
stack must have have argc & 0xFF positional def
Terry J. Reedy added the comment:
Agreed
--
___
Python tracker
<http://bugs.python.org/issue13026>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
stage: -> patch review
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue6549>
___
_
Terry J. Reedy added the comment:
As I said in msg143786, the second time only c-coded modules are listed.
--
___
Python tracker
<http://bugs.python.org/issue12
Terry J. Reedy added the comment:
I agree with Alex. The poorly documented fact that *some* C-coded functions
cannot accept arguments identified by keyword rather than position is a bit
hole in the function abstraction.
+1 to the patch (and the int to bool change)
--
nosy
Terry J. Reedy added the comment:
My impression is that plugging refleaks (unlike minor speedups) is a bugfix
rather than feature addition, so this and the other issues should be marked for
2.7 and 3.2 also. (I am only changing this one.)
Deprecating a public (but obscure) CAPI function is a
Changes by Terry J. Reedy :
--
nosy: +bethard
stage: -> test needed
versions: -Python 2.7, Python 3.2, Python 3.4
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
Windows does not require that executables be on any particular 'drive'.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
One changeset per issue is a general goal. So is the ability to review patches.
Sometime people forget to add a News or Acks entry and have to followup with an
addendum. (Mark's patch still lack that, for instance.) Sometimes a patch is so
large t
Terry J. Reedy added the comment:
Given that someone is willing to write a patch and someone else to review it, I
am +1 on changing 0/1 to False/True anywhere appropriate in the stdlib. Ditto
for using a new feature. The "# True == keep line ends" comment illustrates why
the orig
Terry J. Reedy added the comment:
By "it crashes on the invalid line" do you mean Python raises an exception,
prints a traceback, and exits? Or does it seqfault, dump core, or the Windows
equivavlent?
--
___
Python tracker
<http://bu
Terry J. Reedy added the comment:
It would be better to raise an exception* upon receiving a cookie. On the other
hand, I presume cookies are stored in files that any process can mess with, so
reading failures are always a possibility. So if you want to catch a (very
rare) failure, to do
Terry J. Reedy added the comment:
I said exactly what I said ;-). Upon looking further (following the links), I
see that 'install' refers to the disutils setup program install command option.
What you should do is make the doc accurate and clear.
What 'accurate' means is
Terry J. Reedy added the comment:
Yes, it is a real nuisance when pasting code that has '>>>'. You have to select
and delete to get rid of each. This is related to #1178, but this bug should be
fixed if possible even if that were implemented.
--
nosy: +terry.ree
New submission from Terry J. Reedy :
As reported by R.S.Kachanovsky on the IDLE-sig list, and comfirmed by me with
3.2.2 on Win 7, entering a replace term ending with '\', like 'test\', in the
find/replace dialog box causes IDLE to crash, as in do nothing for a couple
Terry J. Reedy added the comment:
Right. That is how I reconfirmed that the bug still exists in 3.2.2, and why I
said it should be fixed.
--
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
IDLE with Py3.2.2 works fine on Win 7 for me (desktop) and daughter (laptop),
so there is something peculiar with your system.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
> Really? White space makes things harder to read? I thought Pythonistas
> believed the opposite of that.
I was surprised at that too ;-). One person's opinion in a specific
context. Don't generaliza.
> English titling rules
> onl
Terry J. Reedy added the comment:
Are you using the .msi installer from python.org?
Or one from activestate or enthought?
--
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
While this issue and #4765 are about the same effect, with a similar
workaround, Amaury has indentified a separate bug in the custom key mechanism.
So I retitled it to refer to that bug.
--
title: IDLE refuses to open on windows 7 -> IDLE acce
Terry J. Reedy added the comment:
Note the config-main.cfg contains all custom configurations and appears if you
make any one of them. Mine currently says
[EditorWindow]
font = lucida sans unicode
[General]
autosave = 1
So deleting it is a hack workaround until the bug is fixed
Terry J. Reedy added the comment:
If I understand correctly, this doc patch would apply to 2.7 and 3.2 also. I
have two style comments. I believe
"It is important to note that bit field allocation and layout in memory is not
defined as a standard, rather its implementation is com
Terry J. Reedy added the comment:
This is all a puzzle to me. "
Terry J. Reedy added the comment:
> collections is one of those modules everyone will use in their code.
Simply untrue, and definitely not in every program. It is also irrelevant for
bringing up the interactive interpreter, where there initially is no user code
and which should happen
201 - 300 of 13130 matches
Mail list logo