[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

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

2011-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I meant that 'python setup' works when the script is named 'setup'. Which is to say, python does not require scripts to have an extension, as someone had thought in writing a patch. -- __

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

2011-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not know why the msi installer *silently* fails to properly register extensions even when I leave that checked, or how common that it. I have never looked into the issue more because for development, I prefer to run from an IDLE window and be dumped

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

2011-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was working with the freshly reinstalled 3.2 which is not the same as a pristine 3.2 install because it still had the problem that 3.2.1 has and the 3.2.1 sys.version. 3.2.1 uninstall in not complete (a different issue). So I should reinstall 3.2.1 again

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

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The replacement file, for anyone without a dev setup, is http://hg.python.org/cpython/file/cc86f4ca5020/Lib/idlelib/PyShell.py After renaming PyShell to PyShellBak and replacing with the above, IDLE seems to run better than ever. On my XP system, the several

[issue12666] map semantic change not documented in What's New

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

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not used tokenize, but if it is *not* intended to exactly reproduce the internal tokenizer behavior, the claim that it is should be amended. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding a feature 'fixes' the deficiency of its absence. I personally have no use for 'accepted' and find it ambiguous. My best understanding is what David has seen (accepted in principle). -

[issue12690] Tix bug 2643483

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Gary, did you mean that there is a fix in the Tix bug report? (the addition of '-'?) If so, what has it not been applied to the Tix repository? Is it still active? Once changed there, the change should be propagated to the Python distribution. -

[issue12696] pydoc error page due to lacking permissions on ./*

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do any of you three have anything to do with pydoc? Given that the manual simply says "pydoc -b will start the server and additionally open a web browser to a module index page." without qualifications, quitting when started from certain locations

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume so. I believe ``x`` is meant for general code like ``for thing in group: print(thing)``. While Éric specifically mentioned the :data: role, I presume the same idea applies to :func: and possibly other link-generating roles. Is there a statement

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changing the dev guide, which I think is definitely needed, is an issue for this tracker. Changing the tracker is an issue for the meta-tracker. Discussing a change might be an issue for python-dev. I was under the impression once that the tracker fields

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changing ``x`` to :data:`x` adds 4 chars. Changing ``x()`` to :func:`x` justs adds 2. If I were to review, I would prefer that the additions not trigger cascading line rewraps. -- ___ Python tracker <h

[issue12705] Make compile('1\n2\n', '', 'single') raise an exception instead of silently truncating?

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pending an argument against, I agree with the change. I think SyntaxError would be best. ValueError (etc) is for runtime (though this is compile during runtime). What would you have for the error message? My first idea is "Cannot compile multiple state

[issue12706] timeout sentinel in ftplib and poplib documentation

2011-08-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Documentation ___ Python tracker <http://bugs.python.org/issue12706> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12711] Explain tracker components in devguide

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: While I could question the current list of components, documenting it as it is is a good idea. Patch 2 looks pretty good to me with the following change. Tests The generic unittest and doctest frameworks in `Lib/unittest`_ and `Lib/doctest.py

[issue12723] Provide an API in tkSimpleDialog for defining custom validation functions

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

[issue12725] Docs: Odd phrase "floating seconds" in socket.html

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree 'floating seconds' is bad. I think I prefer your second alternative, but settimeout() and setdefaulttimeout should be consistent. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.o

[issue12726] explain that locale.getlocale() does not read system's locales

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Our docs explain behavior without, generally, explaining why. Hence the title change. 'Returns the current setting for the given locale category' seems pretty clear that it returns the current program setting rather than the default system settin

[issue12728] Python re lib fails case insensitive matches on Unicode data

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not sure that everyone will agree that this is a bug, rather than a feature request, or that if a bug, that it should be changed in existing releases and possibly break running code. The doc just says, somewhat vaguely, that IGNORECASE "work

[issue12730] Python's casemapping functions are untrustworthy due to narrow/wide build issues

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that better masking of narrow-wide build difference would be good as long as it does not severely impact normal performance. Revision of the test file (see below) shows that the 'bug' is that the .upper, .lower, and .title methods leaves

[issue12730] Python's casemapping functions are untrustworthy due to narrow/wide build issues

2011-08-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file22894/casemaps.py ___ Python tracker <http://bugs.python.org/issue12730> ___ ___ Python-bugs-list mailin

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does the regex module handle these particular issues better? -- nosy: +terry.reedy type: behavior -> feature request versions: +Python 3.3 -Python 2.7 ___ Python tracker <http://bugs.python.org/issu

[issue12731] python lib re uses obsolete sense of \w in full violation of UTS#18 RL1.2a

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: However desireable it would be, I do not believe there is any claim in the manual that the re module follows the evolving Unicode consortium r.e. standard. If I understand, you are saying that this statement in the doc, "Matches Unicode word characters

[issue12732] Can't portably use Unicode in Python identifiers

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ouch! Do the rejected characters qualify as identifier characters as defined in Reference 2.3 Identifiers and keywords? http://docs.python.org/py3k/reference/lexical_analysis.html#identifiers If some interpreter version accepts extra characters, beyond the

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2011-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed the title because 'string' is a module that once contained the functions that are now attached to the str class as methods. So 'string.title' is an obsolete attribute reference. -- nosy: +terry.reedy title: string.title(

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tom, I appreciate your taking the time to help us improve our Unicode story. I agree that the compromises made a decade ago need to be revisited and revised. I think it will help if you better understand our development process. Our current *intent* is that

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is off-topic, but there was discussion on whether or not to have a 2.7. The decision was to focus on back-porting things that would make the eventual transition to 3.x easier. -- ___ Python tracker <h

[issue12672] Some problems in documentation extending/newtypes.html

2011-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the sentence is a bit confusing and the 'object method' ambiguous. I suspect that the sentence was written years ago. In current Python, [].append is a bound method of class 'builtin_function_or_method'. I *suspect* that th

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python's narrow builds are, in a sense, 'between' UCS-2 and UTF-16. They support non-BMP chars but only partially, because, BY DESIGN*, indexing and len are by code units, not codepoints. They are documented as being UCS-2 because that is w

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: >It is always better to deliver more than you say than to deliver less. Except when promising too little is a copout. >Everyone always talks about important they're sure O(1) access must be, I thought that too until your challenge. But now that you

[issue12672] Some problems in documentation extending/newtypes.html

2011-08-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue12672> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12730] Python's casemapping functions are untrustworthy due to narrow/wide build issues

2011-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: My Firefox is already set at utf-8. More likely a font limitation. I will look again after installing one of the fonts Tom suggested. The pair of boxes on IDLE are for the surrogate pairs. Perhaps tk does not even try to display a single char. I will

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