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
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
Changes by Terry Jan. Reedy:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1023>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mai
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
Terry J. Reedy added the comment:
As of 2.7/3.2, the doc is named "Python Setup and Usage" at
http://docs.python.org/index.html
http://docs.python.org/using/cmdline.html (and other chapters)
and in the contents list of the Windows help version.
For new doc editors, it would be ni
Terry J. Reedy added the comment:
A couple of years ago, various people worked hard to remove unneeded imports
from the interpreter startup routine. The result was both quite noticeable and
much appreciated on my old xp machine. I hate to see much of that progress
tossed away
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13078>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
If I understand the messages, this is more a program bug than a Python bug and
the 'fix' for this tracker would be a doc patch. Adding one would be welcome.
--
nosy: +terry.reedy
___
Python trac
Terry J. Reedy added the comment:
Yes, 'to Python 3'. Patch welcome. I would make it up to date as of 3.2. For
3.3, the Unicode api will change (grow) but that has not been finalized yet.
--
nosy: +terry.reedy
versions: +Python 2.7
Terry J. Reedy added the comment:
I disagree about 3.2 not being 'stable'. With more bugs fixes, it should be
more stable. People should be encouraged to download 3.2. 2.7 came out 8 months
before, and that should be updated (and again when 3.3 comes out).
--
nosy: +t
Terry J. Reedy added the comment:
I was not necessary suggesting that the filename actually be changed, just that
the mapping between docs and filenames is not always obvious. I will somedays
look at the dev docs doc page and see if I have any further suggestions to help.
Add 'in the P
Terry J. Reedy added the comment:
That was the page I said I would look at. My suggest is that one or more of the
directory entries could have either a bit more information about the directory
or a "More info" link to a separate page. As a remember, files for modules were
named
Terry J. Reedy added the comment:
Since #9878 proposes an *alternate* solution to *part* of the sysconfig
problem, I disagree with 'supersede'. A Python solution would be more useful
for other implementations if enough of the sysconfig info is not CPython
specific.
A CPython desi
Terry J. Reedy added the comment:
Since *script* is a file -- that is all variable -- that seems appropriate.
Bold italic tends to be more notably different from bold italic than the normal
pair. In any case, italic is the doc standard for function parameter names. It
seems more sensible
Terry J. Reedy added the comment:
Benjamin, you seem to have rejected this feature request. Close it?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue5
Terry J. Reedy added the comment:
IDLE is sufficiently undocumented that I think we may, *if necessary*, treat
the details of 'expected behavior' as undefined, or look to other programs for
guidance. Certainly, 'crash' is unexpected and undesired ;-).
Without "[] Re
Terry J. Reedy added the comment:
Thank you for redirecting this issue. The goal should be to make the proxies
completely transparent. They mostly are, but occasional issues arise when they
are not. Sometimes the source of a problem is not clear. I wonder, for
instance, whether the non
Terry J. Reedy added the comment:
The docs are unchanged in 3.2. I presume the behavior is also.
--
nosy: +terry.reedy
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
Can you test both the leak and fix (if needed) on 3.2?
(I am on Win7).
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
One might ask why an Exception in one process kills all in the Pool. Perhaps
multiprocessing emulates threading too closely.
Perhaps it is assumed that if one is bad, all are. Jesse?
--
nosy: +jnoller, terry.reedy
versions: -Python 2.6
Terry J. Reedy added the comment:
Like parts of the Python test suite, I use StringIO to capture print/write
output for testing in an output...output/getvalue/reset(seek(0),truncate(0))
cycle. While this enhancement would not currently affect me (as I only do a few
prints each cycle), I can
Terry J. Reedy added the comment:
I am a bit surprised this was not part of the original design.
'Tabsize' make 'expand_tabs' redundant and tabsize==0 could be interpreted as
expand_tabs==False. On the other hand, the meaning of 'expand_tabs' could be
expande
Terry J. Reedy added the comment:
The current Windows build used 2-byte unicode chars because that is what
Windows does. In 3.3, all builds will use a new unicode implementation that
uses 1,2,or4 bytes as needed. But I suspect we will still have the paste
problem unless we can somehow bypass
201 - 300 of 12740 matches
Mail list logo