Terry J. Reedy added the comment:
*Your initial post* only lists one index entry, and *does not* describe a
problem.
Thread
module
is in the file you have pointed to twice, in its alphabetical position.
I have no idea what you think is wrong with the z section
Terry J. Reedy added the comment:
If I understand, the issue you were concerned about has been fixed. If so,
please close this.
--
___
Python tracker
<http://bugs.python.org/issue10
Terry J. Reedy added the comment:
When I initially wrote "I have no idea what ', [1]' is supposed to mean.
", you should have believed that and explained ;-). I now understand that most
index entries have one link, which we might call the [0] link. When the entry
shoul
Terry J. Reedy added the comment:
Since that revision only touched py3k, I am guessing that it only broke 3.2.
--
nosy: +terry.reedy
versions: +Python 3.2 -Python 2.5, Python 2.6
___
Python tracker
<http://bugs.python.org/issue7
Terry J. Reedy added the comment:
I am not much familiar with the C api but I presume that all functions return
-1 on error and that this is documented somewhere in the beginning. I also
presume that functions that return values thru passed in pointers and that are
documented as returning an
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file19192/unnamed
___
Python tracker
<http://bugs.python.org/issue10060>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
The unnamed quasi-html file loaded with msg118397 was a unless, essentially
unreadable duplicate of that message, hence removed.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue10
Terry J. Reedy added the comment:
To me, Alexander's example
>>> calendar.isleap("%d")
False
is a buggy result. So I would reclassify the issue.
The rationale for not checking input types is that bad types result in an
error, but that does not happen here due t
Terry J. Reedy added the comment:
The input to itertools.product must be a finite sequence of finite iterables.
itertools.count(startvalue) produces an infinite sequence of ints (which are
not iterable). Passing the latter to the former causes the latter to run until
memory is exhausted. You
Terry J. Reedy added the comment:
I think the title is slightly misleading. As I read the patch, the issue is
that PyArg_ParseTupleAndKeywords requires that string args to C functions be
valid Unicode strings (and that it does this by trying to encode to utf-8).
Your patch subverts this by
Terry J. Reedy added the comment:
Pardon my ignorance, but given that code.co_filename is a string attribute
given as a string, which is to say, unicode in 3.x, I do not see what
filesystem encodings, or any other encoding to bytes should really have to do
with the attribute. I actually
Terry J. Reedy added the comment:
Assuming it is true, the rewrite strikes me as an improvement.
--
___
Python tracker
<http://bugs.python.org/issue10
Terry J. Reedy added the comment:
Bruce, what Ned suggests is what I intended with my IDLE-list message, and in
accord with usual tracker practice. Issues often apply to multiple versions and
thereby require multiple patches and commits. I know you are relatively new at
this and very much
Changes by Terry J. Reedy :
--
resolution: -> duplicate
status: open -> closed
superseder: -> idlelib for Python 3 with Guilherme Polo GSoC enhancements
___
Python tracker
<http://bugs.python.or
John J Lee added the comment:
dstanek> Would it be better to file bugs against buggy implementations instead
of changing Python's implementation to be more lenient?
No. Another app running on the same domain that knows nothing about RFC 2109
(and why should it?) shouldn'
Terry J. Reedy added the comment:
2.7 is in security-fix only mode. I am assuming that this is still a problem in
2.7 (and possibly 3.x). It would be good to confirm this.
--
nosy: +terry.reedy
versions: +Python 2.7 -Python 2.6
___
Python tracker
Terry J. Reedy added the comment:
>I am not sure whether I should attach a zip/tar file with both the attachments
>(the sample benchmark and the diff); so I'll attach the diff in a further
>comment.
Uploading separate files with .py, .diff extensions that can be viewed in
Terry J. Reedy added the comment:
2.7 only (verified); 3.1 and 3.2 are fine.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue10172>
___
___
Terry J. Reedy added the comment:
Various comments:
I usually expect things in stdlib to be usefully importable. Idlelib is clearly
an exception.
>> Also many people don't expect to find any code in a file named
>> __init__.py (and most of the time I agree with this).
Terry J. Reedy added the comment:
I think questions like this are better answered on python-list or even pydev.
In the absence of an observed problem, I would presume it is ok.
This question should be answered in the C-API doc. If it is not, you could
reopen this as a doc issue
Terry J. Reedy added the comment:
Shutdown has been a 'forever' problem ;-). It would seem sensible to me to have
a fixed end-of-shutdown sequence for essential modules.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
In the absence of doc references in this and #10211 that would *clearly* settle
the bug vs. feature issue, it strikes me as a bit murky. So I am inclined to
agree with MAL that failure to achieve the stated, documented purpose is a bug.
I strongly suspect
Terry J. Reedy added the comment:
I have not tried your testcase yet, but agree that issue 4 sounds pretty bad. I
guess what you are looking for is either a patch to tkinter that solves at
least one of the listed problems (even if only a workaround for a TK bug) or a
determination that
Terry J. Reedy added the comment:
I ran testcase.py with stock 3.1.2 on winxp (under IDLE).
Changes needed (one place each) were
Tkinter -> tkinter
print x -> print(x)
<> -> !=# <> is long since deprecated!
I get 3 line box windowing 10 lines. If I enlarge window,
Terry J. Reedy added the comment:
Éric, go ahead and consolidate to one issue if you can get to it.
Do the other issues shows problems with 3.1 or 3.2 also? I wonder because I
have never seen the box in the posted .png and wonder if that is a new
'feature' with 2.7 and possibly 3.
Terry J. Reedy added the comment:
On initialization: the json doc has 6 examples. Each starts with 'import json'
so each is independent. However, I agree that doing the same for turtle
examples would be a bit much. On the other hand, I think
24.5.3. *Methods of RawTurtle/
Terry J. Reedy added the comment:
GREGOR, I think we need your help to answer a few of these.
Subissues from my opening post not resolved in rev85732
"version of python installed with Tk support.": cap 'python' to 'Python'
Is there any st
New submission from Terry J. Reedy :
Lib/lib2to3/fixes/fix_urllib.py, near the top, has
'''
MAPPING = {'urllib': [
('urllib.request',
['URLOpener', 'FancyURLOpener', 'urlretrieve',
''
Terry J. Reedy added the comment:
For me, with a standard Python install, 'use tix' would be a good answer. After
thanking the respondent, you could try answering 'why' ('I am using a custom
build.'). Just remember that python-list and mirrors are like the Wi
Terry J. Reedy added the comment:
In #10050 you suggest deprecating *URLopener (not *Opener, the misspelling also
in fix_urllib.py #10286) and other stuff. Which do you actually prefer, upgrade
or degrade?
--
nosy: +terry.reedy
___
Python tracker
Phillip J. Eby added the comment:
Committed to Py3K in r86146, with added docs and a larger list of transcodable
CGI variables.
--
___
Python tracker
<http://bugs.python.org/issue10
Terry J. Reedy added the comment:
I am closing this as some combination of wrong, inapplicable, out-of-date, and
postponed.
1. In 3.1, ssl *is* documented as optional in the sense of dependent on an
external library. "This module uses the OpenSSL library. It is available on all
m
Terry J. Reedy added the comment:
In 3.1.2, range handles large numbers.
>>> list(range(10, 500, 100))
[10, 110, 210, 310, 410]
# those are all billions
This means that the 'equivalent' code in the doc will wor
Terry J. Reedy added the comment:
Robert, I interpret your response to Hirokazu to mean that his suggestion
works. Hence I am following his suggestion. Reopen is I erred.
--
resolution: -> works for me
status: open -> closed
___
Python t
Changes by Terry J. Reedy :
--
stage: -> commit review
___
Python tracker
<http://bugs.python.org/issue10245>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue10245>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
stage: -> commit review
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue10270>
___
___
Python-bugs-list
Terry J. Reedy added the comment:
+1 from me on a table at the top of the functions page.
I am assuming that the markup will induce hotlinks.
The main problem I see is the need to hand rewrite when another function is
added
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
The sentence should be deleted. Print is *not* used in any of the previous
examples. This is the first mention of print() in the chapter and is
nonsensical in context.
--
keywords: +easy
nosy: +terry.reedy
stage: -> needs patch
versions: +Python
Terry J. Reedy added the comment:
1. Rather than add a blank line to the output, the input should have the
newline suppressed with \ (which has been done in previous examples).
print("""\
2. It is rather difficult to see that there is no blank at the end (highlight
wit
Changes by Terry J. Reedy :
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue10304>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
As near as I can tell, since && and || are logical rather than bitwise, and
since the variable reference 'quotetabs' has no side effect, you are correct.
Have you run the unittest on a patched build?
--
nosy: +terry.reedy
stage:
Changes by Terry J. Reedy :
--
versions: +Python 2.7 -Python 2.6
___
Python tracker
<http://bugs.python.org/issue10328>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
I should have said that IDLE puts >>> on a new line.
--
___
Python tracker
<http://bugs.python.org/issue10304>
___
Terry J. Reedy added the comment:
test_binascii.py
--
___
Python tracker
<http://bugs.python.org/issue10324>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This is an editor rather than Python problem. Are you using the IDLE editor or
something else. Which version of Windows?
Orange and purple are IDLE's default for keywords and built-in names. But
running 3.1.2 under XP, I have no problem as you des
New submission from Terry J. Reedy :
In 3.x, "(object)" is now superfluous in class statements. Reference manual
7.7. Class definitions has simply
class Foo: pass
In library manual 2. Built-in Functions, class examples for classmethod and
staticmethod are the same. Class exampl
Terry J. Reedy added the comment:
If it is an editor window that you launch from IDLE, with a red script Tk in
the upper left corner, with 'About IDLE' on the help menu, then it is an IDLE
editor window and part of IDLE -- and appropriate for bug reports here ;-).
This could be
Terry J. Reedy added the comment:
I take that as a yes, IDLE edit window. 2.5 is beyond fixing at this point, but
that is useful data. I will look out for this problem when I load Python on
Win7.
--
components: +IDLE
versions: +Python 2.7, Python 3.2
Terry J. Reedy added the comment:
I like it!
--
___
Python tracker
<http://bugs.python.org/issue7061>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Yes, this could be reopened with a patch. Someone else would have to judge its
usefulness and acceptability. So no guarantees.
--
___
Python tracker
<http://bugs.python.org/issue960
Terry J. Reedy added the comment:
To me, the mini change logs are both distracting noise and contrary to the
general start-fresh policy for 3.x docs, stated somewhere by Georg B, which I
really like.
--
___
Python tracker
<http://bugs.python.
Terry J. Reedy added the comment:
Looks good in a cursory reading. I presume trace test still passes.
If you change the signature of the renamed functions, that would break the
current wrappings. Would you use new private functions with different names, or
change the wrappings where possible
Phillip J. Eby added the comment:
To better show what the problem is, here's a change that would fix the problem
(albeit in an ugly way):
--- upload.py 2010-07-07 20:16:33.0 -0400
+++ /home/pje/upload.new2010-11-09 14:30:21.0 -0500
@@ -167,6 +
Phillip J. Eby added the comment:
Btw, a quick review of the 3.x trunk code for this shows that it does *not*
have this problem; this is specific to 2.7 and AFAICT *only* 2.7.
(This problem was introduced in r73436, btw, as of the move to urllib2 vs.
httplib
Phillip J. Eby added the comment:
Confirmed - issue10367 is not a dupe. This bug was that a *successful* upload
would crash; issue10367 occurs only in the HTTPError case, and isn't fixed by
this issue's patch. Reclosing this and reopening 10367.
--
stage: commit review -&
Changes by Terry J. Reedy :
--
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/issue2986>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Tim told me to continue with this as he has no time.
rev86401 - apply 3.1 doc fix
--
assignee: tim_one -> terry.reedy
___
Python tracker
<http://bugs.python.org/iss
Terry J. Reedy added the comment:
Tim told me to continue with this as he has no time.
rev86401 - apply 3.1 doc fix
I cannot apply 2.7 patch. I has different header lines. In particular,
TortoiseSVN cannot fetch nonexistent revision "Mon Aug 30 06:37:52 2010 +0300".
Please regenera
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg120925
___
Python tracker
<http://bugs.python.org/issue2986>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
issue2986.fix27.5.patch applied, with version note added to doc, as
rev86418
Only thing left is patch for 3.2, which Eli and I will produce.
--
stage: commit review -> needs patch
versions: -Python 2.7
___
Pyt
Terry J. Reedy added the comment:
Ok with me also to commit and backport for next releases.
--
___
Python tracker
<http://bugs.python.org/issue9312>
___
___
Pytho
Terry J. Reedy added the comment:
Georg, do you have any idea what the source of the index glitch is?
--
___
Python tracker
<http://bugs.python.org/issue10
Terry J. Reedy added the comment:
1. I decided to add '\' since this is what I normally do and also add one
sentence explanation.
2. I changed ending from ' ' to ','.
Uploaded patch committed in rev86422, rev86423
--
keywords: +patch
resolution
Terry J. Reedy added the comment:
The .../orig.html link now works and was last updated in August.
It has a link to .../robotstext.html.
--
___
Python tracker
<http://bugs.python.org/issue1437
Changes by Terry J. Reedy :
--
resolution: -> out of date
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue1654974>
___
___
Pyth
Changes by Terry J. Reedy :
--
resolution: -> rejected
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue1733259>
___
___
Pyth
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<http://bugs.python.org/issue1777134>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Too late for 2.6.6 ;-)
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue3720>
___
___
Python-
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
versions: +Python 3.2 -Python 2.7, Python 3.1
___
Python tracker
<http://bugs.python.org/issue4015>
___
___
Changes by Terry J. Reedy :
--
versions: -Python 2.7
___
Python tracker
<http://bugs.python.org/issue4037>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue5578>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
Two weeks left for 3.2 ;-)
--
___
Python tracker
<http://bugs.python.org/issue6216>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
versions: +Python 3.2 -Python 3.0
___
Python tracker
<http://bugs.python.org/issue6335>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<http://bugs.python.org/issue6942>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Thank you for reporting back. This could be closed as invalid, but since I
think this is something I should have known or guessed, I will leave it open
for now as a reminder to look at the docs sometime and see if anything should
be added somewhere
Terry J. Reedy added the comment:
>What is the best way to pass around source code?
> - file-like objects, line iterators, readline-like function?
Line iterator (list of lines) as returned by open().readlines.
Memory should not be an issue. Read disk once and close.
with open('fil
Terry J. Reedy added the comment:
Please suggest a specific alteration in the codecs.readline doc that we can
then discuss.
--
assignee: -> d...@python
components: +Documentation -Library (Lib)
nosy: +d...@python, terry.reedy
___
Python trac
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue10356>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
That suggests that the last statement needs to be guarded somehow.
I re-versioned to 3.2 because 3.1.final will be out very soon.
I expect 3.2 and 2.7 should have same problem.
--
nosy: +terry.reedy
versions: +Python 3.2 -Python 3.1
Terry J. Reedy added the comment:
>[Copied from Issue10070.]
which is to say (for the benefit of other reviewers):
This was a minor sub-issue mentioned there in passing and independent of the
main issue and ignored in the extensive discussion thereof.
--
nosy: +terry.re
Terry J. Reedy added the comment:
1. Does the markup make any visual difference?
2. Does the markup affect the index?
3. What do other module docs do?
I notice that 'Tkinter' appears in several section headings. Is it marked? (Is
the upper case a holdover that should be lowercased?
Terry J. Reedy added the comment:
I see the marker pointing to the space after '=', which is *really* not
helpful. If '5' were instead an identifier, one might be really misdirected. So
best would be "Invalid char '0x' at position n in identifier
Terry J. Reedy added the comment:
This stuff is hard to write automated tests for, hence there are none.
The patch is mostly straightforward: capture errno with new variable err at
point of possible error when intervening calculation is needed before testing
the value of errno. This seems
Terry J. Reedy added the comment:
>Line iterator does not carry the information about source encoding
which may be important for annotating the source code.
I would pass around both encoding and lines, possibly as a tuple.
A person heavily into OO might define a _Source class and turn
Terry J. Reedy added the comment:
>http://docs.python.org/dev/contents.html
The only thing I see there is the bold-facing of *PEP 3101*.
Is that what you are referring to?
In any case, with Georg's concurrence go ahead with this and any other modules
you ca
Terry J. Reedy added the comment:
r86437 - correct and replicate version-added message
--
___
Python tracker
<http://bugs.python.org/issue2986>
___
___
Python-bug
Terry J. Reedy added the comment:
That should be, for 2.7 or 3.2, as 3.1 is nearly finished.
--
status: open -> pending
___
Python tracker
<http://bugs.python.org/iss
John J Lee added the comment:
Why not?
--
___
Python tracker
<http://bugs.python.org/issue1520831>
___
___
Python-bugs-list mailing list
Unsubscribe:
John J Lee added the comment:
That's silly. A justification of the need for a new feature isn't needed,
because this is already-implemented feature that simply does the wrong thing at
the edge case.
It's not high priority,
Terry J. Reedy added the comment:
This still needs to be verified that there is a problem with a *current*
release. That means 2.7.1 (rc just out) or 3.2 (a4 just out).
If this would be considered a security issue (I do not know) then 'current'
includes 2.5.5, 2.6.6, and 3.1.3 (r
Terry J. Reedy added the comment:
I presume you mean this:
if self._is_special:
if self.is_snan():
-raise TypeError('Cannot hash a signaling NaN value.')
+raise ValueError('Cannot hash a signaling NaN value.')
My underst
New submission from Terry J. Reedy :
The entry for bytearray(source...) says
"
The optional source parameter can be used to initialize the array in a few
different ways:
...
If it is an integer, the array will have that size and will be initialized with
null bytes.
...
Without an argumen
Terry J. Reedy added the comment:
imaplib has no particular maintainer and I know little about it.
Doc says it implements 'a large subset of the IMAP4rev1 client protocol as
defined in RFC 2060." I do not remember any discussion on pydev, over the last
several years, about imaplib.
Changes by Terry J. Reedy :
--
nosy: +loewis
stage: -> patch review
title: slow close file descriptors in subprocess, popen2, os.pepen* -> slow
close file descriptors in subprocess, popen2, os.popen*
versions: -Python 2.5, Python 2.6
___
Changes by Terry J. Reedy :
--
nosy: +pitrou
stage: -> patch review
versions: -Python 2.5, Python 2.6
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
Georg, what is policy on removed features?
Remove doc or leave and state removed?
"Deprecated in version 3.2 and removed in 3.3."
or just
"Removed in version 3.3"
(Once removed, does it really matter when deprecated?)
If left, sho
Terry J. Reedy added the comment:
2.6 is in security-fix only mode (though this might qualify as a security
issue). Can you test with a current version (2.7.1, 3.2.0)?
That said, most problems with extensions crashing are with the extension,
though hard to determine sometimes
Terry J. Reedy added the comment:
With 3.2, (Winxp) I get combobox with first line,
input as
r'C:\Python31\Lib\tkinter\test\test_ttk',
displayed as
"C:Python31Lib kinter est est_ttk"
Something either deleted \ or converted \t to tab.
Indeed, adding a space to the
Terry J. Reedy added the comment:
Test cases always help when appropriate.
A link to the Pypy code that does this might also help.
Or perhaps ask them to submit a patch to this issue.
--
nosy: +alexandre.vassalotti, pitrou, terry.reedy
stage: -> test nee
901 - 1000 of 13130 matches
Mail list logo