[issue12317] inspect.getabsfile() is not documented

2011-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : >>> help(inspect.getabsfile) could be copied getabsfile(object, _filename=None) Return an absolute path to the source or compiled file for an object. The idea is for each object to have a unique origin, so this routine normalizes t

[issue12321] documentation of ElementTree.find

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you requesting that the doc be changed or the code? >From the title, I would infer the doc (which is much easier ;-). If so, can you suggest an actual revised text? -- nosy: +terry.reedy stage: -> needs patch versions: +Pyth

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: WinXP, 3.2.0 >>> type(sys.stdin) >>> sys.stdin.readline() a 'a\n' -- nosy: +terry.reedy ___ Python tracker <ht

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: That, like Antoine, I also could not reproduce, even in 3.2.0, when running under IDLE. However, with regular command line Python: Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] >>> import sys >>> sys.stdin.readl

[issue3067] setlocale error message is confusing

2011-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: After more thought and investigation, I have changed my opinions on this issue. Allowing unicode string for locale in 2.7: Since the module predates unicode strings (it is in 1.5) and since the locale string is passed to a C function, 'string' in t

[issue3067] setlocale error message is confusing

2011-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, the issue for 3.x, which remains, is to improve the error message. I also suggested a doc change, though I would like Mark or Martin's comments before I would make it. >But I think that the commit is just useless because we will have to wa

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2011-06-21 Thread Terry J. Reedy
New submission from Terry J. Reedy : The basic problem: in 2.6, a namedtuple was introduced to difflib from collections import namedtuple as _namedtuple Match = _namedtuple('Match', 'a b size') and used for the return values of SeqeunceMatcher.get_longest_match and .get_m

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: After thinking about this awhile, I see the key sentence of David's reply as "The data type of the arguments to the method have no necessary relationship with the datatype of the object." While true in general, in it not true with respect

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg138829 ___ Python tracker <http://bugs.python.org/issue12387> ___ ___ Python-bugs-list m

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The message I deleted was a duplicate of the original). Verified with 3.2.0 on WinXP (Jacob, I/O issues, including keyboard, especially need system specified. What is yours? If Windows, this might be Windows-specific.) With CAPS LOCK on, Cntl-N, Cntl-O

[issue11812] transient socket failure to connect to 'localhost'

2011-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: With a bit of searching, HOST == support.HOST == 'localhost'. Looking at the traceback, it is socket that fails, not telnetlib or its test. Hence the clearer title. I am still curious what you propose: catch and skip or something else? For

[issue11812] transient socket failure to connect to 'localhost'

2011-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps Michael or Ezio have an idea of whether 'reason' or 'happenstance' is the answer to your questions. -- nosy: +ezio.melotti, michael.foord ___ Python tracker <http://bug

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Soren, this is an issue that claimed a bug, not a bug. The resolution is that the claim appears false because the problem arose from using unicode rather than bytes url. The error message may be confusing, but the error class cannot be changed. Senthil says

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: A crash is a segfault or equivalent. Python 2.6 only gets security fixes. PyAMF does not run on Python 3. Hence a problem with PyAMF is no evidence of a problem with 3.x. Separate tests/examples would be needed. Changes are not bugs unless they introduce a

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed type: crash -> behavior versions: -Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/i

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did things like "u'a'+'\xf0'" work in 2.6- (with implicit latin-1 decoding)? (I do not have 2.6 loaded.) The doc for seq+seq (concatenation) in the language reference section 5.6. Binary arithmetic operations says that both s

[issue6068] ctypes is not correctly handling bitfields backed by 64 bit integers on Windows

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vlad, thanks for delving into this. Your two header changes are contradictory. If this is a feature request, then it is 3.3 only. If this is a behavior (bug) issue, then 3.2 should be included ;-). 'higstar's second comment indicates 'feature

[issue6068] ctypes is not correctly handling bitfields backed by 64 bit integers on Windows

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue6068> ___ ___ Python-bugs-list mailing list Unsub

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume we are discussing Chapter 4. Execution model. I do not see any mention there of the difference between function definition and body execution time. The section of def statements (7.6) has this: "The function definition does not execute the fun

[issue12376] unittest.TextTestResult.__init__ breaks under complex __mro__

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running your code with 2.7.2 gives: Traceback (most recent call last): File "C:\Programs\Python27\misc\tem.py", line 41, in unittest.main(testRunner=runner) File "C:\Programs\Python27\lib\unittest\main.py", line 95, in __init

[issue12397] re match object methods have no docstrings

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, and ditto for 3.1. -- nosy: +terry.reedy versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue12

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issue12291> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7, bytes is an alias for str to aid porting to 3.x. >>> bytes is str True >>> type(bytes()) I suspect the doc uses 'bytes' rather than 'str' because it was backported from 3.x. Perhaps it should be changed but

[issue12296] Minor clarification in devguide

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The parenthetical comment is a complete sentence, and no longer trivial. I would separate it and write it more simply as "... their code. (This obviously does not apply to new classes, functions, or optional arguments.)" -- nosy: +t

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch to the multiprocessing code is trivial: +del cache[self._job] The difference in tests is +with test.support.operation_timeout(5): +p.join() versus +p.join() Victor, do you agree with the simpler method

[issue7365] grp and pwd should treat uid and gid as unsigned

2011-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue7365> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with adding '(absolute value)'. I think the following covers the NaN behavior. "NaN acts as a positive value that cannot be negated." This should be added to both doc and docstring. I do not think we generally specify the n

[issue5950] Make zipimport work with zipfile containing comments

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett, Nick, this could be considered a patch to the import machinery as the bugs shows with a import statement. In any case, no one is signed up for zipimport specifically. -- nosy: +brett.cannon, ncoghlan versions: +Python 3.3 -Python 3.2

[issue6721] Locks in python standard library should be sanitized on fork

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6717] Some problem with recursion handling

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6717> ___ ___ Python-bugs-list mailing list Unsub

[issue8743] set() operators don't work with collections.Set instances

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue8743> ___ ___ Python-bugs-list mailing list Unsub

[issue1669349] make install fails if no previous Python installation

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because none of the reports are for current versions (2.7,3.2) -- nosy: +terry.reedy resolution: -> out of date status: open -> closed versions: +Python 3.3 -Python 3.1 ___ Python tracker

[issue1475523] gettext breaks on plural-forms header

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1475523> ___ ___ Python-bugs-list mailin

[issue11726] linecache becomes specific to Python scripts in Python 3

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue11726> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4924] gc.collect() won't always collect as expected

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue4924> ___ ___ Python-bug

[issue4924] gc.collect() won't always collect as expected

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue4924> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue4672> ___ ___ Python-bug

[issue5159] Indicating packages to be loaded when a Tcl interpreter is created in tkinter

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> feature request versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/iss

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5225> ___ ___ Python-bug

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue5225> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5375] Unified locals/consts array + register-based instructions

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This a type of feature request and such a change would only go into a new version. Given the absence of response from djc, perhaps this should be closed as languishing-postponed? -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.7, Python 3.1

[issue978604] wait_variable hangs at exit

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.2, winxp, (with Tkinter => tkinter), I get invalid command name "12277720callit" while executing "12277720callit" ("after" script) and no new prompt and ^C ineffective. Had to kill command window. With IDLE, get n

[issue5661] asyncore should catch EPIPE while sending() and receiving()

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not marking 'test needed' since the problem is 'hardly reproducible'. -- nosy: +stutzbach, terry.reedy -josiah.carlson stage: -> patch review versions: +Python 3.2, Python 3.3 -Python 2.6,

[issue5619] Pass MS CRT debug flags into subprocesses

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue5619> ___ ___ Python-bugs-list mailin

[issue4591] 32-bits unsigned user/group identifier

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue4591> ___ ___ Python-bug

[issue4591] 32-bits unsigned user/group identifier

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue4591> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am following Andrew's suggestion. This issue can serve as 'don't do that' doc. The 3.2 README has been edited and slimmed down by Georg Brandl. It is limited to general build instructions. It would not be the place for such a nit. It do

[issue5700] io.FileIO calls flush() after file closed

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The original snippet works the same on 3.2.0. Was their any conclusion as to whether or not a change should be made? -- nosy: +terry.reedy versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <h

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue5875> ___ ___ Python-bugs-list mailing list Unsub

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1662> ___ ___ Python-bugs-list mailin

[issue5895] socketmodule.c on HPUX ia64 without _XOPEN_SOURCE_EXTENDED compiles incorrectly

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Naoyuki, unless you can confirm that Daniel's patch works, we will have to close this as out-of-date. Martin: PEP 11 lists platforms no-longer supported, but does not list those that are. For writing/reviewing patches like this, it would be helpful

[issue3435] 3rd party program calls trace.py on non Python files

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch adds this check: + if not filename.endswith((".pyc", ".pyo", ".py")): +continue This is not valid. A Python file is a text file with python code. In spite of import conventions, they are not r

[issue3635] pickle.dumps cannot save instance of dict-derived class that overrides __getattribute__

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed for the same reason #1730480 was? If not, would this effectively be a feature request and have to wait for a new version (3.3)? -- nosy: +alexandre.vassalotti, pitrou, terry.reedy versions: +Python 2.7, Python 3.2 -Python 2.6

[issue5308] cannot marshal objects with more than 2**31 elements

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue5308> ___ _

[issue6396] '' % object() raises TypeError

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The original bug claim is invalid. But the following (3.2.0, winxp) strike me as a bug, hence the title change >>> class A: pass >>> '' % A() '' >>> '' % object() ... TypeError: not all arguments conve

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sridhar, is there still a problem with current 3.2/3? If you are no longer working on this, I think we should close as languishing/postponed. -- nosy: +terry.reedy versions: +Python 3.2 -Python 3.1 ___ Python

[issue6531] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters.

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: What did you mean by 'crash'? An exception or a segfault or equivalent? I believe the finalization code was reworked a bit last fall, so could you determine whether or not there is still a problem in 3.2.1? Do not bother with 3.1.4 unless you think

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue4765> ___ ___

[issue6673] Uncaught comprehension SyntaxError eats up all memory

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 32bit winxp Windows Task Manager open to Processes, sorted by Men Usage, I verified expanding memory usage in 3.2.0 (and stopped at 200 mb versus normal <20Mb). While we do not expect compiler to catch while True: pass, it would be nice if this

[issue12434] Strengthen 2.7 io types warning

2011-06-28 Thread Terry J. Reedy
New submission from Terry J. Reedy : Trying 3.2 code with 2.7, I got this (greatly simplified): from __future__ import print_function from io import StringIO print('hello world', file=StringIO()) Traceback... TypeError: string argument expected, got 'str' (StringIO.Str

[issue12401] unset PYTHON* environment variables when running tests

2011-07-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord ___ Python tracker <http://bugs.python.org/issue12401> ___ ___ Python-bugs-list mailin

[issue11436] Clarify struct doc for format 's', when it is mentioned without numeric prefix

2011-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: A default of 1 in not implicit for output formatting. %s and {:s} mean however long needed, not %1s or {:1s} -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue11

[issue11436] Clarify struct doc for format 's', when it is mentioned without numeric prefix

2011-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Those others field types have a standard or system-dependent fixed size and a number is an optional repeat count. Format 's' is always a single field because number prefix for that is special -- a field size. "For the 's' forma

[issue12486] tokenize module should have a unicode API

2011-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hmm. Python 3 code is unicode. "Python reads program text as Unicode code points." The tokenize module purports to provide "a lexical scanner for Python source code". But it seems not to do that. Instead it provides a scanner for Python c

[issue12510] IDLE get_the_calltip mishandles raw strings

2011-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: What platform? It sometimes makes a difference with tcl/tk and hence idle. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue12

[issue12434] Strengthen 2.7 io types warning

2011-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: My original suggestion is a minimal change suggestion. I do not have much opinion on what the maximum change 'should' be. It would obviously be nice from a user viewpoint if the error message were backported to say "unicode argument exp

[issue2506] Add mechanism to diasable optimizations

2011-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think supporters of this feature request should take discussion to python-ideas to try to gather more support. The initial post should summarize reasons for the request, possible implementations, and the counter-arguments of Raymond. -- title

[issue2506] Add mechanism to diasable optimizations

2011-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Choose pydev if you want. Discussion there is *usually* (but definitely not always) more focused on implementation of uncontroversial changes. I am pretty much +-0 on the issue, though Jean-Paul's post seems to add to the + side arguments that mig

[issue2506] Add mechanism to diasable optimizations

2011-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Choose pydev if you want. Discussion there is *usually* (but definitely not always) more focused on implementation of uncontroversial changes. I am pretty much +-0 on the issue, though Jean-Paul's post seems to add to the + side arguments that mig

[issue2506] Add mechanism to diasable optimizations

2011-07-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg140304 ___ Python tracker <http://bugs.python.org/issue2506> ___ ___ Python-bugs-list m

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg139566 ___ Python tracker <http://bugs.python.org/issue10647> ___ ___ Python-bugs-list m

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg139876 ___ Python tracker <http://bugs.python.org/issue10647> ___ ___ Python-bugs-list m

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two messages deleted at Hans' request since he opened #12558 Hans says there that he could not reproduce *this* issue with 3.2. Herm, please retry with 3.2 as 3.1.4 is last bugfix for 3.1 series. If this works on 3.2, this should be closed. --

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, scripts run with whatever name -- no extension or other extensions. I have tested this from both IDLE and command line. -- ___ Python tracker <http://bugs.python.org/issue1626

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: >The fileutils.patch patch attached to this issue directly addresses what's >wrong in issue 5999; I'd consider it closed, ... When an patch is committed that fixes that issue, say so there and I or someone will close it. >From issue 125

[issue12531] documentation index entries for * and **

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is just the tip of the iceberg as far as needed symbol index entries goes. Nearly 3 years ago, I wrote a Python 3 symbol glossary "Python3 Syntax Symbol Uses" that was complete as far as I knew then. I think most of the entries there sho

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The pastebin link gives me a blank box. In any case, a one-month retention does not work for the tracker. If you do get an error traceback indicating an error in CPython or its library, post it here. However, your post so far strongly suggests that the error

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Nick's rationale for the current order, and also like his idea of indicating that the first traceback is truncated (which has not been completely obvious to me). Bike-shedding a bit, I would prefer something more like: Truncated traceba

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just 'upgraded' to 3.2.1 on my XP machine and I see the same with F5-run, which restarts before running the saved file. This appears to be a nasty regression from 3.2.0 that should have been a release blocker if caught earlier. I believe it meri

[issue12558] Locale-dependent exception for float width argument to Tkinter widget constructor

2011-07-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Locale-dependent crash for float width argument to Tkinter widget constructor -> Locale-dependent exception for float width argument to Tkinter widget constructor ___ Python tracker <http://bugs.pyth

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I perhaps misunderstood your question. I ran files from the command line as as 'python whatever', not 'whatever' so only python would care about an extension. I do not have a file association to 'run' a file, with or without

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I went back and reread from the beginning, instead of merely answering the question you asked when adding me as nosy. More comments: Windows file associations are so disfunctional that you should not depend on them being anything in particular. I nearly

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would not propose to do everything in one grand patch as it would be way too much to review all at once. A somewhat separate subissue is whether there should be however many separate issues over the next however many years or one master issue with multiple

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: > expression must evaluate to a sequence. To be clear, Eli quoted the doc correctly and Eric correctly suggested that 'sequence' needs to be updated to 'iterable' (in at least two places). Since the patch for this issue will be addi

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, that would be great. It is better than my initial suggestion. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This nasty bug really can cause severe problems. If a zombie process ran a tkinter (tk) window, then attempting to logout/restart/shutdown eventually brings up a window I have never seen before: End Process -- EmbeddedMenuWindow. The message window shows a

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Restart is not required to create a zombie. Just start IDLE and quit, and the second, user process does not disappear. Reverting completely does not seem possible. I first just ran the 3.2 installer and it did not complain, that I noticed, about replacing a

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2011-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I happen to prefer del myself, but I agree that the two mutable sequence classes should behave the same. The manual 4.6.4 says s[i:j:k] = t the elements of s[i:j:k] are replaced by those of t (1) 1. t must have the same length as the slice it is replacing

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Good question. Peter, you said Vista x64. Are you running 32 or 64 bit Python? My system with the apparently irreversible problem is 32 bit xp home. I am reluctant to test on my daughter's 64 bit laptop as I do not know that I would be able to r

[issue6669] TarFile.getmembers fails at struct.unpack: unpack requires a string argument of length 4

2011-07-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue6669> ___ ___ Python-bugs-list mailin

[issue4506] 3.0 make test failures on Solaris 10

2011-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be fixed. Skip: keywords now has a '-no selection-' option to get rid of keywords -- keywords: -64bit nosy: +terry.reedy resolution: -> fixed status: open -> closed ___ Pytho

[issue10760] tarfile doesn't handle sysfs well

2011-07-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue10760> ___ ___ Python-

[issue10436] tarfile.extractfile in "r|" stream mode fails with filenames or members from getmembers()

2011-07-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue10436> ___ ___ Python-bugs-list mailing list Unsub

[issue12575] add a AST validator

2011-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From a top level view, the patch adds PyAST_Validate (with helpers) to ast.c >and one call to PyAST_Validate in bltinmodule.c in builtin_compile(). The >added tests do every silly thing you can think of. Does PyAST_Validate get invoked for all

[issue12576] urlib.request fails to open some sites

2011-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Could we look for 'tion: Closed' instead of "Connection: Closed", to accomodate servers that garble the response, even if it is a hack? -- nosy: +terry.reedy ___ Python tracker <http://bug

[issue12600] Support parameterized TestCases in unittest

2011-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, is this the sort of thing you mean? @skip # so do not run without backend class AbstractDB2Testcase: backend = None class PostgressDB2Testcase(AbstractDB2Testcase): backend = postgress # well, enough info to fine it ... If so, I think we

[issue12575] add a AST validator

2011-07-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <http://bugs.python.org/issue12575> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eli, nice detective work. What I understand is that there was a latent platform-dependent buglet that presumably got exposed by a recent change in process handling, as Ned suggested. idlelib/PyShell.py, class ModifiedInterpreter(InteractiveInterpreter) has

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I mentioned pipes because half of the subprocess chapter, it seems, talks about them. ASo I got the mis-impression that they are special for subprocess-started processes. But if the subprocess gets the args it needs to connect to a socket, it should not care

[issue12634] Random Remarks in class documentation

2011-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: That sentence is wrong to imply that there is anything special about data versus method attributes with respect to overriding -- or that attributes are special when it comes to names in a single namespace. What I think the paragraph should say, if not just

<    2   3   4   5   6   7   8   9   10   11   >