[issue10008] Two links point to same place

2010-10-09 Thread Terry J. Reedy
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

[issue10008] Two links point to same place

2010-10-09 Thread Terry J. Reedy
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

[issue10008] Two links point to same place

2010-10-10 Thread Terry J. Reedy
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

[issue7140] imp.new_module does not function correctly if the module is returned from a function and used directly

2010-10-15 Thread Terry J. Reedy
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

[issue10058] Unclear PyString_AsStringAndSize return value

2010-10-15 Thread Terry J. Reedy
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

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file19192/unnamed ___ Python tracker <http://bugs.python.org/issue10060> ___ ___ Python-bugs-list mailin

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-15 Thread Terry J. Reedy
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

[issue10073] calendar.isleap() not checking parameter type

2010-10-15 Thread Terry J. Reedy
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

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-15 Thread Terry J. Reedy
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

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread Terry J. Reedy
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

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread Terry J. Reedy
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

[issue10058] C-API Intro should be more explicit about error return codes

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Assuming it is true, the rewrite strikes me as an improvement. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10137] Patch to IDLE for Python 2.7, at Guido's request

2010-10-18 Thread Terry J. Reedy
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

[issue10137] Patch to IDLE for Python 2.7, at Guido's request

2010-10-18 Thread Terry J. Reedy
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

[issue2193] Cookie Colon Name Bug

2010-10-19 Thread John J Lee
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'

[issue10118] Tkinter does not find font

2010-10-22 Thread Terry J. Reedy
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

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-22 Thread Terry J. Reedy
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

[issue10172] code block has no syntax coloring

2010-10-22 Thread Terry J. Reedy
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> ___ ___

[issue10199] Move Demo/turtle under Lib/

2010-10-26 Thread Terry J. Reedy
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).

[issue10177] PyUnicode_AsWideCharString and PyMem_Free

2010-10-29 Thread Terry J. Reedy
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

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-10-29 Thread Terry J. Reedy
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

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-29 Thread Terry J. Reedy
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

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-10-29 Thread Terry J. Reedy
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

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-10-29 Thread Terry J. Reedy
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,

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-30 Thread Terry J. Reedy
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.

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
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/

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
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

[issue10286] URLOpener => URLopener x2 in fix_urllib.py

2010-11-01 Thread Terry J. Reedy
New submission from Terry J. Reedy : Lib/lib2to3/fixes/fix_urllib.py, near the top, has ''' MAPPING = {'urllib': [ ('urllib.request', ['URLOpener', 'FancyURLOpener', 'urlretrieve', ''

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-01 Thread Terry J. Reedy
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

[issue8805] urllib should support SSL contexts

2010-11-01 Thread Terry J. Reedy
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

[issue10155] Add fixups for encoding problems to wsgiref

2010-11-03 Thread Phillip J. Eby
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

[issue960325] "--require " option for configure/make (fail if building not possible)

2010-11-04 Thread Terry J. Reedy
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

[issue6305] islice doesn't accept large stop values

2010-11-04 Thread Terry J. Reedy
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

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Terry J. Reedy
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

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review ___ Python tracker <http://bugs.python.org/issue10245> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10245] Fix resource warnings in test_telnetlib

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue10245> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10270] Fix resource warnings in test_threading

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review type: -> behavior ___ Python tracker <http://bugs.python.org/issue10270> ___ ___ Python-bugs-list

[issue10299] Add index with links section for built-in functions

2010-11-05 Thread Terry J. Reedy
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

[issue10303] small inconsistency in tutorial

2010-11-05 Thread Terry J. 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

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
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

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +easy ___ Python tracker <http://bugs.python.org/issue10304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Terry J. Reedy
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:

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2010-11-05 Thread Terry J. Reedy
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

[issue10304] error in tutorial triple-string example

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have said that IDLE puts >>> on a new line. -- ___ Python tracker <http://bugs.python.org/issue10304> ___

[issue10324] Modules/binascii.c: simplify expressions

2010-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_binascii.py -- ___ Python tracker <http://bugs.python.org/issue10324> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10364] Color coding fails after running program.

2010-11-08 Thread Terry J. Reedy
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

[issue10366] Remove unneeded '(object)' from 3.x class examples

2010-11-08 Thread Terry J. Reedy
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

[issue10364] Color coding fails after running program.

2010-11-08 Thread Terry J. Reedy
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

[issue10364] Color coding fails after running program.

2010-11-08 Thread Terry J. Reedy
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

[issue7061] Improve turtle module documentation

2010-11-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like it! -- ___ Python tracker <http://bugs.python.org/issue7061> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue960325] "--require " option for configure/make (fail if building not possible)

2010-11-09 Thread Terry J. Reedy
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

[issue7061] Improve turtle module documentation

2010-11-09 Thread Terry J. Reedy
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.

[issue10371] Deprecate trace module undocumented API

2010-11-09 Thread Terry J. Reedy
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

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-11-09 Thread Phillip J. Eby
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 +

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-11-09 Thread Phillip J. Eby
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

[issue9199] distutils upload command crashes when displaying server response

2010-11-09 Thread Phillip J. Eby
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 -&

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue2986> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-11 Thread Terry J. Reedy
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

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-11 Thread Terry J. Reedy
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

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg120925 ___ Python tracker <http://bugs.python.org/issue2986> ___ ___ Python-bugs-list m

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-11 Thread Terry J. Reedy
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

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-11-11 Thread Terry J. Reedy
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

[issue10008] Two links point to same place

2010-11-11 Thread Terry J. Reedy
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

[issue10304] error in tutorial triple-string example

2010-11-11 Thread Terry J. Reedy
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

[issue1437699] allow unicode arguments for robotparser.can_fetch

2010-11-11 Thread Terry J. Reedy
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

[issue1654974] Binding annotations in tracebacks.

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1654974> ___ ___ Pyth

[issue1733259] ZipFile CallBack Needed...

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> rejected status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1733259> ___ ___ Pyth

[issue1777134] minidom pretty xml output improvement

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <http://bugs.python.org/issue1777134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3720] segfault in for loop with evil iterator

2010-11-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Too late for 2.6.6 ;-) -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue3720> ___ ___ Python-

[issue4015] Make installed scripts executable on windows

2010-11-11 Thread Terry J. Reedy
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> ___ ___

[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue4037> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5578] unqualified exec in class body

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue5578> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6216] Raise Unicode KEEPALIVE_SIZE_LIMIT from 9 to 32?

2010-11-11 Thread Terry J. Reedy
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

[issue6335] Add support for mingw

2010-11-11 Thread Terry J. Reedy
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

[issue6942] email.generator.Generator memory consumption

2010-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <http://bugs.python.org/issue6942> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10364] Color coding fails after running program.

2010-11-12 Thread Terry J. Reedy
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

[issue10342] trace module cannot produce coverage reports for zipped modules

2010-11-12 Thread Terry J. Reedy
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

[issue10344] codecs.readline doesn't care buffering=0

2010-11-12 Thread Terry J. Reedy
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

[issue10356] decimal.py: hash of -1

2010-11-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue10356> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2010-11-12 Thread Terry J. Reedy
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

[issue10375] 2to3 print(single argument)

2010-11-12 Thread Terry J. Reedy
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

[issue10385] Mark up "subprocess" as module in its doc

2010-11-12 Thread Terry J. Reedy
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?

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2010-11-12 Thread Terry J. Reedy
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 &#

[issue10350] errno is read too late

2010-11-12 Thread Terry J. Reedy
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

[issue10342] trace module cannot produce coverage reports for zipped modules

2010-11-12 Thread Terry J. Reedy
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

[issue10385] Mark up "subprocess" as module in its doc

2010-11-12 Thread Terry J. Reedy
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

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: r86437 - correct and replicate version-added message -- ___ Python tracker <http://bugs.python.org/issue2986> ___ ___ Python-bug

[issue2657] Curses sometimes fails to initialize terminal

2010-11-12 Thread Terry J. Reedy
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

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-13 Thread John J Lee
John J Lee added the comment: Why not? -- ___ Python tracker <http://bugs.python.org/issue1520831> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-15 Thread John J Lee
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,

[issue2901] "error: can't allocate region" from mmap() when receiving big chunk of data

2010-11-16 Thread Terry J. Reedy
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

[issue10356] decimal.py: hash of -1

2010-11-17 Thread Terry J. Reedy
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

[issue11310] Document byte[s|array]() and byte[s|array](count) in docstrings

2011-02-24 Thread Terry J. Reedy
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

[issue11245] Implementation of IMAP IDLE in imaplib?

2011-02-25 Thread Terry J. Reedy
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.

[issue11284] slow close file descriptors in subprocess, popen2, os.popen*

2011-02-25 Thread Terry J. Reedy
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 ___

[issue11283] incorrect pattern in the re module docs for conditional regex

2011-02-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +pitrou stage: -> patch review versions: -Python 2.5, Python 2.6 ___ Python tracker <http://bugs.python.org/issu

[issue11282] 3.3 unittest document not kept consist with code

2011-02-25 Thread Terry J. Reedy
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

[issue11275] Linking to gcc's gomp causes crash later.

2011-02-25 Thread Terry J. Reedy
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

[issue11290] ttk.Combobox['values'] String Conversion to Tcl

2011-02-25 Thread Terry J. Reedy
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

[issue11299] Allow deepcopying and pickling paused generators

2011-02-25 Thread Terry J. Reedy
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

<    5   6   7   8   9   10   11   12   13   14   >