Changes by Terry J. Reedy :
--
stage: -> needs patch
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue13847>
___
___
Python-bugs-list
Terry J. Reedy added the comment:
See also #13849
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13848>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
This is a bit related to #13848 files 2 seconds earlier.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +orsenthil
stage: -> test needed
type: -> enhancement
versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.4
___
Python tracker
<http://bugs.python.org/i
Changes by Terry J. Reedy :
--
components: +Library (Lib) -Documentation, Extension Modules
nosy: +fdrake, pitrou
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
> I think you should check with randomization enabled, if only to see the
> nature of the failures and if they are expected.
Including the list of when-enabled expected failures in the release
notes would help those who compile an
Terry J. Reedy added the comment:
In the initial comment, 'Dummy' to 'Deleted' here but only here:
- Holds an active (key, value) pair. Active can transition to Dummy
+ Holds an active (key, value) pair. Active can transition to Deleted
Im Lib/test/tes
Terry J. Reedy added the comment:
I agree with 3.3 only. This might not be ready for 3.2.3 anyway, depending on
how soon hash patch is ready, and if not, it becomes a somewhat moot point as
new people should then download 3.3.0 instead of 3.2.4 next August
Terry J. Reedy added the comment:
I tested on 3.2, Win 7. sys.path starts with '' on startup, after restart, and
after ^c interrupt of 'while True: pass'. It start with absolute path when
running a file from the editor. I believe this is as should be.
I simplified the pa
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file24376/issue13506c.diff
___
Python tracker
<http://bugs.python.org/issue13506>
___
___
Python-bug
Terry J. Reedy added the comment:
Whoops, hit submit too soon, before saving tab to space change.
--
Added file: http://bugs.python.org/file24377/issue13506d.diff
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
I noticed that the script in ScriptBinding.py already dereferences interp and
calls 3 interp functions directly, so I decided that calling a 4th on interp
was fine. That lets restart_shell be specialized to the one purpose of being
bound to Restart Shell on
New submission from Terry J. Reedy :
http://docs.python.org/py3k/tutorial/modules.html#compiled-python-files
needs to be updated for 3.2+ to reflect
http://python.org/dev/peps/pep-3147/
The first sentence is still technically correct, but finding x.pyc in the same
directory as x.py is now an
Phillip J. Eby added the comment:
The problem might be that you're iterating over more than just the top
level; if you look for submodules then the parent package has to be
imported... and that might make that window load, if there's module-level
code in the package __init__ that
Phillip J. Eby added the comment:
I don't have the code you're talking about in front of me; just wanted to
give you a lead on the likely cause.
--
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
#13902 is essentially a duplicate of this and I may close it.
I am thinking now that executing unknown amounts of unknown code from unknown
modules is a really bad idea. If a module just crashes the system, as happened
with the OP of the above, there is no
Terry J. Reedy added the comment:
This issue is essentially a duplicate of #12092. For the OP there, the stall
happens because something on Gnome pops up a configuration GUI and, I presume,
waits for response. I am thinking now that 'modules' is simply a bad idea and
should be
Changes by Terry J. Reedy :
--
superseder: Clarify sentence in tutorial -> help("modules") executes module code
___
Python tracker
<http://bugs.pytho
Terry J. Reedy added the comment:
digit transposition corrected 12902
--
___
Python tracker
<http://bugs.python.org/issue13926>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Senthil:
http://docs.python.org/dev/library/contextlib.html#contextlib.closing
currently has this example:
from urllib.request import urlopen
with closing(urlopen('http://www.python.org')) as page:
which is misleading in that the object returned fr
Terry J. Reedy added the comment:
contextlib.closing is an adapter for using objects that have a close method but
have not be modernized to be context managers by having _enter__ and __exit__
methods added. Its doc gives the example
with closing(urlopen('http://www.python.org')) as
Terry J. Reedy added the comment:
Does anyone have regex installed, to see what it does?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
resolution: -> duplicate
status: open -> closed
superseder: -> Function calls taking a generator as star argument can mask
TypeErrors in the generator
___
Python tracker
<http://bugs.python.or
Changes by Terry J. Reedy :
Removed file:
http://bugs.python.org/file24358/typeerror-replaced-in-stararg.diff
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
Added file: http://bugs.python.org/file24358/typeerror-replaced-in-stararg.diff
___
Python tracker
<http://bugs.python.org/issue13904>
___
___
Terry J. Reedy added the comment:
I unlinked to see if I could link it to 4806 instead. Did not work. Please nosy
yourself there and upload your files to *that* issue.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> closed
superseder: -> Function calls
Terry J. Reedy added the comment:
#13904 is another dup, with patches to test and ceval. I asked that they be
reloaded to this issue.
--
nosy: +ncoghlan
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/issue4
Changes by Terry J. Reedy :
--
nosy: +ron_adam
___
Python tracker
<http://bugs.python.org/issue4806>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This is one of 4 duplicate issues, 3 with somewhat similar patches, with nearly
disjoint nosy lists. Consolidating.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> closed
superseder: -> Function calls taking a generato
Terry J. Reedy added the comment:
#5218 is a 4th duplicate, also with a patch to the ceval loop and test.
--
nosy: +georg.brandl, gpolo, pitrou
___
Python tracker
<http://bugs.python.org/issue4
Terry J. Reedy added the comment:
Sorry Martin, I see you already said that. Anyway, I closed other three in
favor of this one.
--
___
Python tracker
<http://bugs.python.org/issue4
Changes by Terry J. Reedy :
--
nosy: +ncoghlan
stage: -> test needed
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue13909>
___
___
Py
Changes by Terry J. Reedy :
--
nosy: +alexis, eric.araujo, tarek
stage: -> test needed
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
nosy: +belopolsky
stage: -> test needed
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue13911>
___
___
Py
Terry J. Reedy added the comment:
Ramchandra: what OS and Python version? Please always include in reports.
I verified on win7,3.2.2, with hashlib versus itertools, idlelib, heapq, trace.
(On my new machine, popup is so fast I do not need .) In fact, 'hashlib.'
and results in a t
Changes by Terry J. Reedy :
--
components: +Tests
nosy: +ezio.melotti, michael.foord
___
Python tracker
<http://bugs.python.org/issue13932>
___
___
Python-bug
Terry J. Reedy added the comment:
The doc chapters are entitled "fnmatch — Unix filename pattern matching" and
"glob — Unix style pathname pattern expansion". The first explicitly disclaims
the feature you request: "Be aware there is no way to quote meta-characters.
Terry J. Reedy added the comment:
I presume you intend regex to match the spec rather than bugs. So if re has a
bug in an obsure corner case and the spec is ambiguous, as I have the
impression is the case here, using the interpretation embodied in regex would
avoid creating a conflict
Terry J. Reedy added the comment:
If indeed fnmatch does not match current shells, then I would agree that it
should. It looks to me so easy to add that I though it must be a deliberate
decision to exclude. In translate:
...
elif c == '\':
if i < n-1:
Changes by Terry J. Reedy :
--
stage: test needed -> patch review
___
Python tracker
<http://bugs.python.org/issue13896>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
Thank you both. I saw the answer (hashlib.__all__ is, unusally, a tuple) but
did not see how it was the answer.
--
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
Download, tested on W7, 3.2.2. Started help, brought to front, stopped,
restarted, in both shell and edit window and all fine *except* when I closed
edit window with help attached, which closes help also, and tried to open help
in shell, idle 'sil
Terry J. Reedy added the comment:
I retried and get same behavior: help closes with closing of edit window and
trying to reopen from shell closes idle with about 2 second delay.
Does this
+if self.root:
+parent = self.root
+else:
+parent = self.top
Terry J. Reedy added the comment:
6.11 Import statement says " __all__; if defined, it must be a sequence of
strings which are names defined or imported by that module."
I am tempted to open an issue to change 'sequence' to 'list', or even 'sorted
sequence
Terry J. Reedy added the comment:
I was sure I had reverted, but did again, redownloaded, applied, and tested,
and all well, so committed and pushed. 2.7 required hand-patching of ', modal'
for chunk 5 due to 3rd argument being 'textFile.read()' instead of 'conte
Terry J. Reedy added the comment:
On python-ideas, thread "Optional key to `bisect`'s functions?" Guido wrote
"Bingo. That clinches it. We need to add key=." 'That' being the fact that
values that have keys may not be comparable themselves (in py3), so th
Terry J. Reedy added the comment:
Already on tracker as
#13742 Add a key parameter (like sorted) to heapq.merge
--
___
Python tracker
<http://bugs.python.org/issue4
Terry J. Reedy added the comment:
FWIW, Guido approves of the idea, msg152969 in #4356
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue1528593>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Option 1 is to fix the regression in the 2.7/3.2 Python versions and change the
C version to conform to the doc and older Python versions., even though it is
the wrong error, and even though Python asserts disappear with -O (which is why
it is the wrong
Terry J. Reedy added the comment:
I assume the patch is an improved description of reality. The old 'without
binding the original name to ``None``.' is confusing to me in that context, so
good riddance. However, I am not familiar with atexit or how it is intended to
work. If you ar
Changes by Terry J. Reedy :
--
versions: +Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue13946>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
One solution would be to update our mimetypes file just before a new version,
and then leave it until the next, just as we update unicodedata to current
unicode and then leave it alone for bugfix releases. Rather than the entire
IANA file, which has a lot of
Terry J. Reedy added the comment:
At one time, reviews (or the fact of a review) were posted back here
automatically (or perhaps it is an option?) just like push messages. But I am
not much familiar with the process either.
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
I believe s = set(); s.update(s1, s2, s3, ...)
a) does what is requested;
b) is the proper spelling, as the request *is* for a union of input collections.
So I recommend closing.
--
nosy: +terry.reedy
___
Python
Terry J. Reedy added the comment:
If I believe the error message, os.fstat(f.fileno()).st_mtime is returning a
NaN, which would be a bug in our function or your system. Since os.fstat should
be a thin wrapper over the system call, I would lean to the latter. I do not
know if writing to
Terry J. Reedy added the comment:
In 3.2.2, starting IDLE from a Command Prompt, I get the same error as Denver.
Starting IDLE 'normally', from the icon, there is no error. So even though
Command Prompt detaches pythonw in some way and gives me a new prompt to do
something else
Terry J. Reedy added the comment:
+ This function returns *func* which makes it possible
add , after 'func'.
+This obviously only works with functions that ...
I think I would like this better without 'obviously' (which you inherited).
Otherwise, se
Terry J. Reedy added the comment:
Doc/library/string.rst string.Formatter().format(fmt, 10)needs a couple of
changes also.
1. "format(format_string, *args, **kwargs)
format() is the primary API method. It takes a format template string,"
I think 'template' should be rem
Changes by Terry J. Reedy :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue13579>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
I just noticed two more minor errors that were and remain in "It takes a format
string, and an arbitrary set of positional and keyword argument." Remove the
comma and make 'argument' plural.
As near as I can tell, the two change block
Terry J. Reedy added the comment:
However, I have not actually applied and run test_string.py.
--
___
Python tracker
<http://bugs.python.org/issue13579>
___
___
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14019>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I agree with no new builtin and appreciate that being taken off the table.
I think the place is the Unicode How-to. I think that document should be
renamed Encodings and Unicode How-to. The reasons are 1) one has to first
understand the concept of encoding
Terry J. Reedy added the comment:
Python-coded functions do not have .__self__.
>>> def f(): pass
>>> f.__self__
...
AttributeError: 'function' object has no attribute '__self__'
Unbound builtin methods, which are simply builtins functions attached to a
Terry J. Reedy added the comment:
With Win7 now, XP previously, I routinely run programs from the IDLE editor
window. So do other people, So there is something different on your machine.
--
nosy: +terry.reedy
___
Python tracker
<h
Terry J. Reedy added the comment:
applied to 3.3 also
--
assignee: docs@python -> terry.reedy
nosy: +terry.reedy
resolution: -> fixed
status: open -> closed
versions: +Python 3.3
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
Entry for dump says
"If ensure_ascii is False (default: True), then some chunks written to fp may
be unicode instances,"
Entry for dumps says
"If ensure_ascii is False, then the return value will be a unicode instance."
Entry for
Terry J. Reedy added the comment:
Yes, the 'how to' alternatives, with + and -, should be included in the doc
addition. I thought it the best thing to come out of the python-ideas thread.
--
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
Some changes have been made to the subprocess connection code since my last
message here. I believe they occurred after the last releases. There should be
new 2.7.3 and 3.2.3 releases in about a month, after PyCon. Larry, if you can
semi-deterministically
New submission from Terry J. Reedy :
Win7, 3.2.2, python -m turtledemo in Command Prompt Window
After running clock example, hitting Stop results in following:
Clock face, including hands, is erased. Day and date are left (intentional?),
and the following appears back in command prompt window
Changes by Terry J. Reedy :
--
nosy: +bethard
___
Python tracker
<http://bugs.python.org/issue14046>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Searching on 'exec NameError' shows that this issue is a duplicate of (behavior
issue) #1167300 which contained an essentially identical example"
>>> exec """\
... x = 3
... def f():
... print x
... f()
...
Terry J. Reedy added the comment:
Issues like this, about exec, have come up multiple times. I just closed #14049
as a duplicate of this, and listed there some other issues. So I think that the
doc for exec (and execfile in 2.7) could be better still. I would like to see
something like the
Changes by Terry J. Reedy :
--
nosy: +bethard
___
Python tracker
<http://bugs.python.org/issue14074>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +ghaering
___
Python tracker
<http://bugs.python.org/issue14076>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14089>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This is not a bug report, as Python works as documented.
Double underscore names are defined as *reserved* for the interpreter, with the
ones actually in use having defined meanings.
type.__new__ sets several internally used attributes on new classes. The
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14105>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
'Shallow' is a common English word: "Stay in shallow water until you learn to
swim!" But that is not the issue here.
I think the underlying issue is that the first sentence "All slice operations
return a new list containing the requ
Terry J. Reedy added the comment:
In English, calling someone or something 'degenerate' is a major insult. In
means that x is not really human or what it seems or what it was. I remember
being initially startled or puzzled at the mathematical usage, but it actually
is similar, ju
Terry J. Reedy added the comment:
I think we should feel free to change 'variable' to 'name', especially in the
Intro, if it can be done gracefully in context. In my experience with
python-list, the former seems a source of confusion for Python newbies. I try
to avoid i
New submission from Terry J. Reedy :
After an intro, the tkinter docs start with a traditional 'Hello World'.
http://docs.python.org/py3k/library/tkinter.html#a-simple-hello-world-program
Problem 1. The example ends with
root.destroy
John Salerno, today, on python-list thread "
Terry J. Reedy added the comment:
Rick Johnson anwered question 1b on python-list: simply move root.destroy to
the button. I make other changes also: use import...as; show that options can
be set in constructor call. File uploaded.
--
stage: -> patch review
Added file: h
Terry J. Reedy added the comment:
Do you know anything about spaces in the button text causing the addition of
{bra ces}? I would prefer not to have to use an underscore in Hello_World.
I fixed the long line and also updated pack calls pass options by name instead
of a dict
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file24693/tk_hello.py
___
Python tracker
<http://bugs.python.org/issue14163>
___
___
Python-bugs-list m
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file24712/tk_hello.py
___
Python tracker
<http://bugs.python.org/issue14163>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
G, another but in the original ;-)
Thank you! I will incorporate into the doc now.
--
Added file: http://bugs.python.org/file24713/tk_hello.py
___
Python tracker
<http://bugs.python.org/issue14
Terry J. Reedy added the comment:
I think this proposal should be rejected for three reasons.
1. I believe the idea is faulty in that it can only work if the single source
iterable *has* a known length. The compiler cannot, in general, determine that
and in practice seldom would be able to
Terry J. Reedy added the comment:
I am building and running 2.7.2 on 64-bit Win 7 from the repository but not
linking to anything else. Please look at the 2.7.3 release candidate.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14146>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Please provide a *minimal* example that exhibits the problem. 'Minimal' means
that if a single line is removed, the problem disappears.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
As I explained to J-M when he posted much the same to python-list, Idle's
French keyboard support is faulty because tcl/tk's French keyboard support is
faulty. A patch for this was recently applied to tcl/tk. I hope it will be in a
released versi
Terry J. Reedy added the comment:
> That would mean in Python 3, '...' works and u'...' will not work.
You misunderstand the PEP: in 3.3, '...' and u'...' will be *exactly* the same.
The only change is that the interpreter will ignore the u prefix
Changes by Terry J. Reedy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue14200>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
In responding to #14200, it occurred to me that better than an exception would
be doing what the interpreter does in Command Prompt window, which is expand
high chars to '\U0001' escaped form.
--
Terry J. Reedy added the comment:
On 3.2.2, Win7, the length is 2 and printing in Idle prints a square, as it
usually does for chars it cannot print. I presume Tk recognizes surrogate
pairs. Printing to the screen should not raise an exception, so the square
would be better. Even better
Changes by Terry J. Reedy :
--
stage: -> patch review
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue14241>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
It is not unusual and perhaps common for markup documentation to give rendered
output for example input. This is similar to what we do in the tutorial and
elsewhere with interactive examples:
>>> 2 + 2 # input code
4 # output of running the c
Terry J. Reedy added the comment:
Many issues take a while, depending on volunteers time and choice of priority.
--
___
Python tracker
<http://bugs.python.org/issue13
4401 - 4500 of 13135 matches
Mail list logo