[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

[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

[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

[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

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2011-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another example from #11307 import re r = re.compile(r'(\w+)*=.*') r.match("abcdefghijklmnopqrstuvwxyz") -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7 ___ Python tracker <

[issue11307] re engine exhaustively explores more than necessary

2011-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 13 secs on my 7 year old windows machine. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> the re module can perform poorly: O(2**n) versus O(n**2) versions: +Python 2.7, Python 3.3 -Python 2.6, P

[issue11299] Allow deepcopying and pickling paused generators

2011-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Alexandre, Do the considerations against pickling apply to deep copying? It would seem that copying bytecode and pointer within a run should be ok. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11400] Remove reference to pre 1.5 assignment behavior

2011-03-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : In Language Ref, 6.2 assignments, delete "(This rule is relaxed as of Python 1.5; in earlier versions, the object had to be a tuple. Since strings are sequences, an assignment like a, b = "xy" is now legal as long as the string has t

[issue11337] Nothing refers to footnote [1] on page "6. Simple Statements" in Language Reference

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. The footnote is "[1] It may occur within an except or else clause. The restriction on occurring in the try clause is implementor’s laziness and will eventually be lifted. " I searched chapter for all occurences of '1' and als

[issue11337] Nothing refers to footnote [1] on page "6. Simple Statements" in Language Reference

2011-03-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue11337> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11338] No list of Python hg repositories

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Conversion is underway today. Completion should be announced at least on the pydev list. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue11

[issue11339] annotation for class being defined

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: >The basic problem is that the class object is defined after the class >definitions have been made, I have sometimes thought the the class statement could start with binding the name to a blank object or new, blank class object. But then people might

[issue11343] Make errors due to full parser stack identifiable

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that compile-time stack exhaustion is different from runtime object-heap exhaustion and could/should have a different error. I agree with Martin (from 2000) that SyntaxError is not right either. Perhaps a new ParseError subclass thereof. I believe

[issue11344] Add height argument to os.path.dirname()

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am inclined to -1 also. a. The proposed behavior is anti-obvious to me: the higher the height, the shorter the result. Calling param 'drop' would be better. b. Not every one-liner should be wrapped. >>> path.rsplit('/',0)

[issue11355] os.mkdir() and os.mkdirat() don't apply SUID/SGID permissions

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: os.makedir (and, I presume, makedirat) are intentionally thin wrapperws around the libc system calls >From #9299, msg111014 (Guido) "I wonder if os.mkdir() should not be left alone (so as to continue to match the system call most exactly, as is our co

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2011-03-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: suggestion for os.kill(pid,CTRL_C_EVENT) -> suggestion for os.kill(pid,CTRL_C_EVENT) in tests ___ Python tracker <http://bugs.python.org/issu

[issue11362] image/webp missing from mimetypes.py

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: No IANA registration. According to https://secure.wikimedia.org/wikipedia/en/wiki/Webp this is a Google-specific proposal rather than a standard. Thus addition would seem premature at this time. -- nosy: +terry.reedy

[issue11380] "close failed in file object destructor" when "Broken pipe" happens on stdout

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Have you tried this with 3.2 (or 3.1)? What behavior do you expect when pipe goes first? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue11

[issue11382] some posix module functions unnecessarily release the GIL

2011-03-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> performance versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue11382> ___ ___ Python-bugs-list mai

[issue11383] compilation seg faults on insanely large expressions

2011-03-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> crash versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue11383> ___ ___ Python-bugs-lis

[issue11385] TextTestRunner methods are not documented

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doc issues should be 'tested' and reported against the latest versions. 2.6.6 doc is effectively the last 2.6 version. TextTextRunner is not completely undocumented. In 3.2 >>> help(t.run) Help on function run in module unittest.runn

[issue11385] TextTestRunner methods are not documented

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I also see that TextTestRunner has an attribute resultclass, which is TextTestResult. Is this intended to be ever changed? The docstring for TTRunner says "It prints out the names of tests as they are run, errors as they occur, and a summary of the re

[issue11387] Tkinter, callback functions

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7 or 3.2, winxp, when I enclose your code with from tkinter import tk #or Tkinter ... App() I get a window with a buttom that sinks and raises as I press and release the left button. Please post complete runnable code that exhibits the problem. Do not

[issue11385] TextTestRunner methods are not documented

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: class unittest.TextTestRunner(stream=None, descriptions=True, verbosity=1, runnerclass=None, warnings=None) stream is documented, the others are not (except for some garbled text about warnings). "This class has a few configurable parameters, &qu

[issue11389] unittest: no way to control verbosity of doctests from cmd

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The undocumented verbosity parameter? -- nosy: +michael.foord, terry.reedy ___ Python tracker <http://bugs.python.org/issue11

[issue11392] Turtle - better explain 'chaos' demo

2011-03-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +gregorlingl, terry.reedy ___ Python tracker <http://bugs.python.org/issue11392> ___ ___ Python-bugs-list mailing list Unsub

[issue11394] No Tools/demo, etc, on Windows

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I thought I posted this on another issue, but cannot find it. My installed 3.2 Tools directory only has i8n, pynche, and scripts directories. The 3.2 repository has 12 other directories in Tools that are missing from the installation. -- components

[issue11395] print(s) fails on Windows with long strings

2011-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: print("a"*66000) works (after some delay) running from an IDLE edit window (but see #144249). Works means that I get a working prompt back with no errors. Unlike IDLE, the Command Prompt Windows keeps a limited number of lines in its buffers (def

[issue5091] Segfault in PyObject_Malloc(), address out of bounds

2011-03-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue5091> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3982] support .format for bytes

2011-03-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: For future reference, struct.pack, not mentioned here, is a binary bytes formatting function. It can mix ascii bytes with binary octets. It works the same in Python 2 and 3. Str.bytes does two things: convert objects to strings according to the contents of

[issue11436] Clarify struct doc for format 's'.

2011-03-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : The struct doc does not specify the meaning of 's', without a count. The attached patch adds the sentence: If a count is not given, it defaults to 1; ``'s'`` means the same as ``'1s'``. (Until I experimented, I had thought no

[issue11436] Clarify struct doc for format 's'.

2011-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: patch -- keywords: +patch Added file: http://bugs.python.org/file21035/zstruct.diff ___ Python tracker <http://bugs.python.org/issue11

[issue3982] support .format for bytes

2011-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are right, I misinterpreted the meaning of 's' without a count (and opened #11436 to clarify). However, for the fairly common case where a variable-length binary block is preceded by a 4 byte *binary* count, one can do something which is n

[issue11443] Zip password issue

2011-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6/2.7 only get security fixes. I do not think this qualifies -- components: +Library (Lib) nosy: +terry.reedy stage: -> test needed type: -> behavior versions: -Python 2.5, Python 2.6 ___ Python tracker

[issue11441] compile() raises SystemError if called from except clause

2011-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan ___ Python tracker <http://bugs.python.org/issue11441> ___ ___ Pytho

[issue11440] fix_callable should be dropped from lib2to3 / changed

2011-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue11440> ___ ___ Python-bugs-list mailing list Unsubscribe:

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