Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13298>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13300>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue13306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The conflict is not fatal for keyboard users because repeating alt-o switches
between Format and Options. To resolve the conflict, I would prefer to keep
alt-o for Options, both because it is the first letter of Options and because
Options appears on Shell
Changes by Terry J. Reedy :
--
nosy: +rhettinger, terry.reedy
___
Python tracker
<http://bugs.python.org/issue13330>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
2.5 in no longer maintained. 2.6 only gets security patches.
So please test with the latest 2.7 (currently 2.7.2).
If you cannot do that, please close.
--
nosy: +terry.reedy
versions: -Python 2.6
___
Python tracker
Changes by Terry J. Reedy :
--
versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
Yes. I think in locale.rst (assuming that is the name)
'''
exception locale.Error
Exception raised when setlocale() fails.
locale.setlocale(category, locale=None)
If *locale* is specified, it may be a string, a tuple of the form (language
Terry J. Reedy added the comment:
PyUnicode_Check may still be correct. I have not examined PEP393 in detail.
--
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
Py 3.2 on Win 7. 'Comment out region' is Alt-3 here.
--
___
Python tracker
<http://bugs.python.org/issue13319>
___
___
Terry J. Reedy added the comment:
Yes, parentheses would be better.
--
___
Python tracker
<http://bugs.python.org/issue3067>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
I am closing this because there is no issue for currently maintained CPython.
If you have further questions, try python-list or a question-answer forum such
as StackOverflow.
--
resolution: -> out of date
status: open ->
Terry J. Reedy added the comment:
def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):
+accepts one :term:`positional argument` (``voltage``) and three
+:term:`keyword arguments ` (``state``, ``action``,
+and ``type``).
This is simply fal
Terry J. Reedy added the comment:
>Would adding 'required' before 'positional' and 'optional' before 'keyword
>arguments' be ok?
No! What is false in the original and the above is the equation and confusion
of 'required' with 'pos
Terry J. Reedy added the comment:
My suggested doc change is how to change the doc along with the patch.
--
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
The two methods are defined differently, and act as defined, so this is a
feature request, not a bug report.
str.split([sep[, maxsplit]])
... If maxsplit is given, at most maxsplit splits are done (thus, the list will
have at most maxsplit+1 elements). If
Terry J. Reedy added the comment:
Improving error messages has been a long, slow process as people are irritated
enough to make a change. Please go ahead.
Guido has explicitly excluded exception detail from the language spec multiple
times. Test that depend on details are broken. Doc
Terry J. Reedy added the comment:
3.2 doc entry:
random.triangular(low, high, mode)
Return a random floating point number N such that low <= N <= high and with the
specified mode between those bounds. The low and high bounds default to zero
and one. The mode argument defaults
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13386>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
In English also, to vend is to sell, direct from Fr. *vendre*. However, ideas
are not necessarily sold for money, but for assent, adoption, or other action.
My dictionary has 'publish' as a secondary meaning of vend. So
'vendor-packages'
Terry J. Reedy added the comment:
I agree with Eric both as to placement (first paragraph) and wording (with
explanation). I don't have time to review otherwise at the moment.
--
___
Python tracker
<http://bugs.python.org/is
Terry J. Reedy added the comment:
The test suite has code (functions) that restrict the length on AssertEqual
(and other) failure messages. (I do not know the location though.) Perhaps that
can be reused. This almost seems like something that should be more easily
available
Terry J. Reedy added the comment:
>From Ezio's original post: '''
If a function has optional arguments but it doesn't accept keyword arguments,
the "func([arg1])" notation is used instead. ... The notation
"func([arg=default])" should never be u
Terry J. Reedy added the comment:
The doc section has no reference, as in a live web link, to any version of the
POSIX specification. This is unlike other doc sections that implement various
RFCs (which also get updated). The docs also link to specific references for
the Unicode version
Terry J. Reedy added the comment:
The 'official' PSF build for 2.7 (and 3.x) is done with VS2008, so this may not
be the last problem you have. I am pretty sure this will never change for 2.7,
but that is not to say we cannot make a simple change to accommodate VS2010. I
am su
Terry J. Reedy added the comment:
I find the doc for g/G less than clear.
1. (main entry) "Uses lowercase exponential format if exponent is less than -4
or not less than precision, decimal format otherwise."
'not less' means 'equal or greater', which to
Terry J. Reedy added the comment:
Does this apply to 2.7 as well?
I believe msg148146 is due to a commit message typo.
--
nosy: +haypo, terry.reedy
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13437>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Or expand 'Reporting Bugs' to 'Reporting Bugs and Requesting Features', perhaps
renamed to 'Suggesting Improvements'. My point is that aspiring developers are
not the only one that need to read the guideline, not withstanding the
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13443>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue10747>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13504>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This current line is
"Read and return a list of lines from the stream. hint can be specified to
control the number of lines read: no more lines will be read if the total size
(in bytes/characters) of all lines so far exceeds hint."
I would like to
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<http://bugs.python.org/issue9090>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
In Python 3, where all classes inherit from object, the default rules are, by
experiment, (which someone can verify from the code) simpler than you stated.
3. By default, == and /= compare identities.
4. By default, order comparisons raise TypeError.
ob <=
Changes by Terry J. Reedy :
--
versions: +Python 2.7 -Python 2.5
___
Python tracker
<http://bugs.python.org/issue3907>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/issue13495>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
On 3.2.2, I get
>>> import sys
>>> sys.path
['C:\\Programs\\Python32\\Lib\\idlelib', 'C:\\Windows\\system32\\python32.zip',
'C:\\Programs\\Python32\\DLLs', 'C:\\Programs\\Python32\\lib',
'C:\\P
Terry J. Reedy added the comment:
Running on Win 7, 3.2.2, IDLE, I get
'''
Traceback (most recent call last):
File "F:\Python\mypy\tem.py", line 19, in
the_rowconfigure_info = the_frame.rowconfigure(the_row_index)
File "C:\Programs\Python32\lib\tkint
Terry J. Reedy added the comment:
Roger Serway pointed me to the PastePyShell.py extension that is part of the
IdleX package http://idlex.sourceforge.net/
That does the conversion when *pasting* interpreter text into an edit window. I
would have File/Save do the same thing when saving the
Terry J. Reedy added the comment:
Either way, it would be nice to have erroneous commands flagged or filtered.
That can be detected when the first line of output is
Traceback (most recent call last):
I typically would copy, correct, and rerun a line until I get it correct, so I
would want
Terry J. Reedy added the comment:
Interesting example. This issue is a bit more complicated than I thought.
Clearly, the call that reveals an error in previous lines should not be simply
deleted.
--
___
Python tracker
<http://bugs.python.
Terry J. Reedy added the comment:
I am a little puzzled by the patch. In logic, 'A and B' is equivalent to 'not A
or not B'. But in the patch,
-if (_Py_stat(filename, &statbuf) == 0 && /it exists */
-S_ISDIR(statbuf.st_mode)) /* it&
Terry J. Reedy added the comment:
OK, I gather from the comment added in the second patch that you intentionally
changed the logic to restart the loop more often.
--
___
Python tracker
<http://bugs.python.org/issue11
Terry J. Reedy added the comment:
Comments:
1. The first sentence is a bit too opinionated for my taste. Consider:
map(f, seq)
[f(x) for x in seq]
The map is *more* concise, by 8 chars, than the list comp and, in *my* opinion,
clearer and easier to read without the extra boilerplate and
Terry J. Reedy added the comment:
v.2 looks great to me.
--
___
Python tracker
<http://bugs.python.org/issue13549>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
Showing both was the intent of my comment. Since I am about 60:40 on that, I
was and am willing for you, having grabbed and pushed the issue, to drop the
half-expanded version if you thought it better. With or without, we have
improved this section. But I
Changes by Terry J. Reedy :
--
resolution: -> duplicate
status: open -> closed
superseder: -> idle filename extension
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
Re-verified on 3.2.2, win 7.
#13532 shows a worse problem with sys.stdout.write on the above.
--
versions: +Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue7
Terry J. Reedy added the comment:
We should like the IDLE shell to give the same results as the standard shell.
See #7163
On 3.2.2 on Win7, the problem is worse: sys.stdout.write(100) crashes IDLE --
as in it just fades away after a short (1/2 sec?) delay.
sys.stdout.write(sys)
gives me the
Terry J. Reedy added the comment:
I think Eric's suggestion is the proper approach.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/is
Terry J. Reedy added the comment:
The doc specified the Action API as the interface inherited from
argparse.Action plus the addition of a custom __call__ method with 4 params (5
with self) as described. That seems mostly adequate to me, unless there is
something missing in the parameter
Terry J. Reedy added the comment:
(Snippet examples can be made 2/3 agnostic with
from __future__ import print_function)
3.2.2 on win7, IDLE, gives me
F:\Python\mypy\tem.py 7 call
F:\Python\mypy\tem.py 8 line
F:\Python\mypy\tem.py 10 line
F:\Python\mypy\tem.py 11 line
F:\Python\mypy\tem.py 13
Terry J. Reedy added the comment:
My guess from the way the docs are written now is that subclassing from Action
and over-riding just the __call__ method is the intended way, not just the
recommended. If so, Action is a quasi-private class, only exposed so it could
be subclassed with one
Terry J. Reedy added the comment:
In English, "We should like" is far from an absolute statement. "IDLE must"
would be such. In any case, I hope you agree that crashing is bad. It is also
not good if IDLE, as a development environment, enables code that violates the
do
Terry J. Reedy added the comment:
I believe that that list includes all symbols and symbol combinations that are
syntactically significant in expressions. This is the generalized meaning of
'operator' that is being used. What do not appear are '#' which marks comments,
Terry J. Reedy added the comment:
If you are responding to me, I am baffled. I gave a concise way to document the
current behavior with respect to .OP, which you said you wanted.
--
___
Python tracker
<http://bugs.python.org/issue2
Terry J. Reedy added the comment:
Both the proposed text and 3.3 addition look good to me.
--
___
Python tracker
<http://bugs.python.org/issue2134>
___
___
Pytho
Terry J. Reedy added the comment:
In the python-ideas thread "list / array comprehensions extension"
Guido replied in reference to an earlier quote from him:
"I think that -0 was contextual (too many moving parts for the original Py3k
release). Today I am +1."
There
Terry J. Reedy added the comment:
I agree with Roger that developing an extension elsewhere is the proper first
step. I suspect that you will want to experiment with the exact behavior and
interface. So I am closing this for now, though you can reopen later if there
is a renewed proposal to
Terry J. Reedy added the comment:
Is this complete and ready to close, or does the doc need a note?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
At line 237 of string.py:
def convert_field(self, value, conversion):
# do any conversion on the resulting object
if conversion == 'r':
return repr(value)
elif conversion == 's':
return str
Changes by Terry J. Reedy :
--
stage: -> needs patch
type: -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/i
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13582>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +ghaering
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue13583>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
In 3.2 on Win 7, selected text *is* put in the 'find' field of Replace boxes,
just as with Find boxes, just as it should be. So there is something specific
either to 2.7 (which is unusual, since the code base in mostly the same, but
possible) or
Changes by Terry J. Reedy :
--
title: Replace selected not working/consistent with find -> IDLE: Replace
selected not working/consistent with find
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
versions: -Python 2.6, Python 3.1, Python 3.4
___
Python tracker
<http://bugs.python.org/issue13587>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
Error is in 3.2 docs as well.
2.6/3.1 only get security patches. 3.4 is for future enhancements what will not
even go into 3.3.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +ned.deily
___
Python tracker
<http://bugs.python.org/issue13590>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
> but if #11957 is fixed, the result will look like
re.Regex('abc', re.I|re.S)
That is what I would like to see.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.pytho
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
versions: +Python 2.7
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13607>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The proposal is to change the definition of numbers literals from X to one that
is context-sensitive: X followed by whitespace or a syntactic symbol but not
anything else, in particular, not by an identifier_start character. I am +-0 at
the moment.
> 1
Terry J. Reedy added the comment:
3.2, Win7 (a narrow build) it indeed works and returns
--
nosy: +terry.reedy
versions: +Python 2.7 -3rd party, Python 2.6
___
Python tracker
<http://bugs.python.org/issue13
Terry J. Reedy added the comment:
I am running 3.2.2 on 64-bit Win7Pro, which should not make a difference. So
why did ^H work right for me yesterday and not for Marco today.
Retrying with fresh IDLEs I discovered the following: selections do not
initially appear in the find part of a
Changes by Terry J. Reedy :
--
resolution: -> works for me
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue9039>
___
___
Python-bugs-
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13658>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Does it do the same with http instead of https?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13630>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Looks good to me.
help(token) already has the corrections. - BACKQUOTE, + RARROW, ELLIPSIS
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
priority: low -> normal
___
Python tracker
<http://bugs.python.org/issue13632>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
2.7 is closed to new features. This looks like it mignt be one. The 2.7 doc for
tarfile.open says "Return a TarFile object for the pathname name." Does the
meaning of 'pathname' in 2.7 generally include unicode as well as str objects
Terry J. Reedy added the comment:
Martin, after reading most all of the unusually large sequence of messages, I
am closing this because three of the core developers with the most experience
in this area are dead-set against your proposal. That does not make it 'wrong',
but does me
Terry J. Reedy added the comment:
When I run this with 3.2.2 IDLE, from an edit window, I get an MSVC++ Runtime
Library window: "Runtime Error! .../pythonw This application has requested
termination in an unusual way...". When I close that, IDLE continues. So I
would say that thi
Terry J. Reedy added the comment:
Given that equality is not identify, order does matter, although in 3.2.2 the
results are the opposite of what one might expect.
a = set((1,2,3))
b = set((1.0, 3.0, 5.0))
print(a&b, b&a)
print(a.intersection(b), b.intersection(a))
a &= b
print(
Terry J. Reedy added the comment:
> so mimicking the changed prompt would require querying the subprocess for its
> sys.ps1 and sys.ps2.
Is that sensibly possible? Any line of code can change those, so IDLE would
have to do the equivalent of
idle.ps1,idle.ps2 = sys.ps1, sys.ps2 before
Changes by Terry J. Reedy :
--
title: Changed Shortcuts don't show up in menu -> IDLE: Changed Shortcuts don't
show up in menu
versions: +Python 3.3
___
Python tracker
<http://bugs.pyth
Terry J. Reedy added the comment:
With that explanation, that it is one case out of six that fails, for whatever
reason, I agree.
That leaves the issue of whether the fix is the right one. I currently agree
with Victor that we should do what the rest of Python does and what is most
Terry J. Reedy added the comment:
@maniram I know what IDLE does. For the tracker, a 'bug' is a discrepancy
between doc and behavior. According to the doc, a recursion loop should
continue forever, just like an iteration loop ;=).
Anyway, Roger is right, this is a duplicate of #6
Terry J. Reedy added the comment:
This seems to be a duplicate of 3555 and 6028. I am redirecting to the latter
because is has a proposed patch.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> closed
superseder: -> Interpreter crashes when chaining an infini
Terry J. Reedy added the comment:
This is one of four essentially duplicate issues #6028, #7338, #13644.
#6028 has a proposed patch.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> closed
versions: +Python 3.3 -Python 3.0
___
Terry J. Reedy added the comment:
I believe #3555, #7338, and *13644 are basically duplicates of this issue. I
have left this one open because it has a try at a patch. I think any patch
should be tested with the other examples.
I agree with Antoine that an intentional exit is not a crash.
I
Terry J. Reedy added the comment:
As I understand the patched code, it only fixes the issue for unicode names
that can be latin-1 encoded and that other unicode names will raise the same
exception with 'latin-1' (or equivalent) substituted for 'ascii'. So it is easy
fo
Terry J. Reedy added the comment:
I just took a look as the 3.2 tarfile code and see that it always (because
self.name is always unicode) does the same encoding, with 'replace',
referencing RFC1952. Although there are a few other differences, they appear
inconsequential, so tha
Terry J. Reedy added the comment:
I should like it if a separate window were either automatic or a configuration
option for help on modules and classes, which should cover 'long' output. The
Windows workaround, which I will never remember, brings up an extraneous
cmd.exe window i
Terry J. Reedy added the comment:
The actual fix in the previous issue, as in Python 3, was to always write the
filename, but with errors replaced with '?/.
--
nosy: +lars.gustaebel, terry.reedy
___
Python tracker
<http://bugs.py
Changes by Terry J. Reedy :
--
nosy: +amaury.forgeotdarc, meador.inge
___
Python tracker
<http://bugs.python.org/issue13665>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
2.6 only gets security updates.
I verified 'rzinfo' typo in x.1.6 in 2.7 and 3.2. Also in both,
tzinfo.utcoffset begins as Stephen claims. I have not verified that this is
error.
Also in both, in x.1.4, class GMT1 has
... def utcoffse
Terry J. Reedy added the comment:
Flags comment applies to 3.2.2 docs and 2.7.2 docs. There is only one
additional flag: ast.PyCF_ONLY_AST, so 'flags' should be singular.
As for src and dst, doc has been updated to say 'Compile the source into a code
or AST object. ... source
301 - 400 of 12707 matches
Mail list logo