[issue13298] Result type depends on order of operands for bytes and bytearray

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

[issue13300] IDLE 3.3 Restart Shell command fails

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

[issue13306] Add diagnostic tools to importlib?

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

[issue13319] IDLE: Menu accelerator conflict between Format and Options

2011-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The conflict is not fatal for keyboard users because repeating alt-o switches between Format and Options. To resolve the conflict, I would prefer to keep alt-o for Options, both because it is the first letter of Options and because Options appears on Shell

[issue13330] Attempt full test coverage of LocaleTextCalendar.formatweekday

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

[issue13335] Service application hang in python25.dll

2011-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.5 in no longer maintained. 2.6 only gets security patches. So please test with the latest 2.7 (currently 2.7.2). If you cannot do that, please close. -- nosy: +terry.reedy versions: -Python 2.6 ___ Python tracker

[issue13337] IGNORE_CASE doctest option flag

2011-11-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker <http://bugs.python.org/issue13

[issue3067] setlocale error message is confusing

2011-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes. I think in locale.rst (assuming that is the name) ''' exception locale.Error Exception raised when setlocale() fails. locale.setlocale(category, locale=None) If *locale* is specified, it may be a string, a tuple of the form (language

[issue13290] get vars for object with __slots__

2011-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: PyUnicode_Check may still be correct. I have not examined PEP393 in detail. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13319] IDLE: Menu accelerator conflict between Format and Options

2011-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Py 3.2 on Win 7. 'Comment out region' is Alt-3 here. -- ___ Python tracker <http://bugs.python.org/issue13319> ___ ___

[issue3067] setlocale error message is confusing

2011-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, parentheses would be better. -- ___ Python tracker <http://bugs.python.org/issue3067> ___ ___ Python-bugs-list mailin

[issue13335] Service application hang in python25.dll

2011-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because there is no issue for currently maintained CPython. If you have further questions, try python-list or a question-answer forum such as StackOverflow. -- resolution: -> out of date status: open ->

[issue6570] Tutorial clarity: section 4.7.2, parameters and arguments

2011-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): +accepts one :term:`positional argument` (``voltage``) and three +:term:`keyword arguments ` (``state``, ``action``, +and ``type``). This is simply fal

[issue6570] Tutorial clarity: section 4.7.2, parameters and arguments

2011-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: >Would adding 'required' before 'positional' and 'optional' before 'keyword >arguments' be ok? No! What is false in the original and the above is the equation and confusion of 'required' with 'pos

[issue13281] Make robotparser.RobotFileParser ignore blank lines

2011-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: My suggested doc change is how to change the doc along with the patch. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13346] re.split() should behave like string.split() for maxsplit=0 and maxsplit=-1

2011-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: The two methods are defined differently, and act as defined, so this is a feature request, not a bug report. str.split([sep[, maxsplit]]) ... If maxsplit is given, at most maxsplit splits are done (thus, the list will have at most maxsplit+1 elements). If

[issue13349] Uninformal error message in index() and remove() functions

2011-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Improving error messages has been a long, slow process as people are irritated enough to make a change. Please go ahead. Guido has explicitly excluded exception detail from the language spec multiple times. Test that depend on details are broken. Doc

[issue13355] random.triangular error when low = high=mode

2011-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.2 doc entry: random.triangular(low, high, mode) Return a random floating point number N such that low <= N <= high and with the specified mode between those bounds. The low and high bounds default to zero and one. The mode argument defaults

[issue13386] Document documentation conventions for optional args

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

[issue1298835] Add a vendor-packages directory for system-supplied modules

2011-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In English also, to vend is to sell, direct from Fr. *vendre*. However, ideas are not necessarily sold for money, but for assent, adoption, or other action. My dictionary has 'publish' as a secondary meaning of vend. So 'vendor-packages'

[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2011-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Eric both as to placement (first paragraph) and wording (with explanation). I don't have time to review otherwise at the moment. -- ___ Python tracker <http://bugs.python.org/is

[issue13349] Uninformal error message in index() and remove() functions

2011-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The test suite has code (functions) that restrict the length on AssertEqual (and other) failure messages. (I do not know the location though.) Perhaps that can be reused. This almost seems like something that should be more easily available

[issue13386] Document documentation conventions for optional args

2011-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From Ezio's original post: ''' If a function has optional arguments but it doesn't accept keyword arguments, the "func([arg1])" notation is used instead. ... The notation "func([arg=default])" should never be u

[issue7611] shlex not posix compliant when parsing "foo#bar"

2011-11-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc section has no reference, as in a live web link, to any version of the POSIX specification. This is unlike other doc sections that implement various RFCs (which also get updated). The docs also link to specific references for the Unicode version

[issue2286] Stack overflow exception caused by test_marshal on Windows x64

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'official' PSF build for 2.7 (and 3.x) is done with VS2008, so this may not be the last problem you have. I am pretty sure this will never change for 2.7, but that is not to say we cannot make a simple change to accommodate VS2010. I am su

[issue13433] String format documentation contains error regarding %g

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I find the doc for g/G less than clear. 1. (main entry) "Uses lowercase exponential format if exponent is less than -4 or not less than precision, decimal format otherwise." 'not less' means 'equal or greater', which to

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this apply to 2.7 as well? I believe msg148146 is due to a commit message typo. -- nosy: +haypo, terry.reedy versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue13

[issue13437] Provide links to the source code for every module in the documentation

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

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Or expand 'Reporting Bugs' to 'Reporting Bugs and Requesting Features', perhaps renamed to 'Suggesting Improvements'. My point is that aspiring developers are not the only one that need to read the guideline, not withstanding the

[issue13443] wrong links and examples in the functional HOWTO

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

[issue10747] Include version info in Windows shortcuts

2011-11-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue10747> ___ ___ Python-bugs-list mailin

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

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

[issue13510] Clarify that readlines() is not needed to iterate over a file

2011-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This current line is "Read and return a list of lines from the stream. hint can be specified to control the number of lines read: no more lines will be read if the total size (in bytes/characters) of all lines so far exceeds hint." I would like to

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

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

[issue12067] Doc: remove errors about mixed-type comparisons.

2011-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: In Python 3, where all classes inherit from object, the default rules are, by experiment, (which someone can verify from the code) simpler than you stated. 3. By default, == and /= compare identities. 4. By default, order comparisons raise TypeError. ob <=

[issue3907] "for line in file" doesn't work for pipes

2011-12-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5 ___ Python tracker <http://bugs.python.org/issue3907> ___ ___ Python-bugs-list mailing list Unsub

[issue13495] IDLE: Regression - Two ColorDelegator instances loaded

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

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 3.2.2, I get >>> import sys >>> sys.path ['C:\\Programs\\Python32\\Lib\\idlelib', 'C:\\Windows\\system32\\python32.zip', 'C:\\Programs\\Python32\\DLLs', 'C:\\Programs\\Python32\\lib', 'C:\\P

[issue13519] Tkinter rowconfigure and columnconfigure functions crash if minsize, pad, or weight is not None

2011-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running on Win 7, 3.2.2, IDLE, I get ''' Traceback (most recent call last): File "F:\Python\mypy\tem.py", line 19, in the_rowconfigure_info = the_frame.rowconfigure(the_row_index) File "C:\Programs\Python32\lib\tkint

[issue11838] IDLE: make interactive code savable as a runnable script

2011-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Roger Serway pointed me to the PastePyShell.py extension that is part of the IdleX package http://idlex.sourceforge.net/ That does the conversion when *pasting* interpreter text into an edit window. I would have File/Save do the same thing when saving the

[issue11838] IDLE: make interactive code savable as a runnable script

2011-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Either way, it would be nice to have erroneous commands flagged or filtered. That can be detected when the first line of output is Traceback (most recent call last): I typically would copy, correct, and rerun a line until I get it correct, so I would want

[issue11838] IDLE: make interactive code savable as a runnable script

2011-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Interesting example. This issue is a bit more complicated than I thought. Clearly, the call that reveals an error in previous lines should not be simply deleted. -- ___ Python tracker <http://bugs.python.

[issue11051] system calls per import

2011-12-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am a little puzzled by the patch. In logic, 'A and B' is equivalent to 'not A or not B'. But in the patch, -if (_Py_stat(filename, &statbuf) == 0 && /it exists */ -S_ISDIR(statbuf.st_mode)) /* it&

[issue11051] system calls per import

2011-12-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, I gather from the comment added in the second patch that you intentionally changed the logic to restart the loop more often. -- ___ Python tracker <http://bugs.python.org/issue11

[issue13549] Incorrect nested list comprehension documentation

2011-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Comments: 1. The first sentence is a bit too opinionated for my taste. Consider: map(f, seq) [f(x) for x in seq] The map is *more* concise, by 8 chars, than the list comp and, in *my* opinion, clearer and easier to read without the extra boilerplate and

[issue13549] Incorrect nested list comprehension documentation

2011-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: v.2 looks great to me. -- ___ Python tracker <http://bugs.python.org/issue13549> ___ ___ Python-bugs-list mailing list Unsub

[issue13549] Incorrect nested list comprehension documentation

2011-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Showing both was the intent of my comment. Since I am about 60:40 on that, I was and am willing for you, having grabbed and pushed the issue, to drop the half-expanded version if you thought it better. With or without, we have improved this section. But I

[issue10364] IDLE: make .py default added extension on save

2011-12-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate status: open -> closed superseder: -> idle filename extension ___ Python tracker <http://bugs.python.or

[issue7163] IDLE suppresses sys.stdout.write() return value

2011-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re-verified on 3.2.2, win 7. #13532 shows a worse problem with sys.stdout.write on the above. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue7

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: We should like the IDLE shell to give the same results as the standard shell. See #7163 On 3.2.2 on Win7, the problem is worse: sys.stdout.write(100) crashes IDLE -- as in it just fades away after a short (1/2 sec?) delay. sys.stdout.write(sys) gives me the

[issue13538] Improve doc for str(bytesobject)

2011-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think Eric's suggestion is the proper approach. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/is

[issue13540] Document the Action API in argparse

2011-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc specified the Action API as the interface inherited from argparse.Action plus the addition of a custom __call__ method with 4 params (5 with self) as described. That seems mostly adequate to me, unless there is something missing in the parameter

[issue13548] Invalid 'line' tracer event on pass within else clause

2011-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Snippet examples can be made 2/3 agnostic with from __future__ import print_function) 3.2.2 on win7, IDLE, gives me F:\Python\mypy\tem.py 7 call F:\Python\mypy\tem.py 8 line F:\Python\mypy\tem.py 10 line F:\Python\mypy\tem.py 11 line F:\Python\mypy\tem.py 13

[issue13540] Document the Action API in argparse

2011-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: My guess from the way the docs are written now is that subclassing from Action and over-riding just the __call__ method is the intended way, not just the recommended. If so, Action is a quasi-private class, only exposed so it could be subclassed with one

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In English, "We should like" is far from an absolute statement. "IDLE must" would be such. In any case, I hope you agree that crashing is bad. It is also not good if IDLE, as a development environment, enables code that violates the do

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that that list includes all symbols and symbol combinations that are syntactically significant in expressions. This is the generalized meaning of 'operator' that is being used. What do not appear are '#' which marks comments,

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you are responding to me, I am baffled. I gave a concise way to document the current behavior with respect to .OP, which you said you wanted. -- ___ Python tracker <http://bugs.python.org/issue2

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Both the proposed text and 3.3 addition look good to me. -- ___ Python tracker <http://bugs.python.org/issue2134> ___ ___ Pytho

[issue2292] Missing *-unpacking generalizations

2011-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the python-ideas thread "list / array comprehensions extension" Guido replied in reference to an earlier quote from him: "I think that -0 was contextual (too many moving parts for the original Py3k release). Today I am +1." There

[issue13571] Backup files support in IDLE

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Roger that developing an extension elsewhere is the proper first step. I suspect that you will want to experiment with the exact behavior and interface. So I am closing this for now, though you can reopen later if there is a renewed proposal to

[issue13573] csv.writer uses str() for floats instead of repr()

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this complete and ready to close, or does the doc need a note? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue13

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: At line 237 of string.py: def convert_field(self, value, conversion): # do any conversion on the resulting object if conversion == 'r': return repr(value) elif conversion == 's': return str

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue13582] IDLE and pythonw.exe stderr problem

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

[issue13583] sqlite3.Row doesn't support slice indexes

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ghaering versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue13583> ___ ___ Python-bugs-list mailin

[issue13586] Replace selected not working/consistent with find

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.2 on Win 7, selected text *is* put in the 'find' field of Replace boxes, just as with Find boxes, just as it should be. So there is something specific either to 2.7 (which is unusual, since the code base in mostly the same, but possible) or

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Replace selected not working/consistent with find -> IDLE: Replace selected not working/consistent with find ___ Python tracker <http://bugs.python.org/issu

[issue13587] Correcting the typos error in Doc/howto/urllib2.rst

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker <http://bugs.python.org/issue13587> ___ ___ Python-bugs-list m

[issue13587] Correcting the typos error in Doc/howto/urllib2.rst

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Error is in 3.2 docs as well. 2.6/3.1 only get security patches. 3.4 is for future enhancements what will not even go into 3.3. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue13

[issue13590] Prebuilt python-2.7.2 binaries for macosx can not compile c extensions

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ned.deily ___ Python tracker <http://bugs.python.org/issue13590> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13592] repr(regex) doesn't include actual regex

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: > but if #11957 is fixed, the result will look like re.Regex('abc', re.I|re.S) That is what I would like to see. -- nosy: +terry.reedy ___ Python tracker <http://bugs.pytho

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue13598> ___ ___ Python-bugs-list mailin

[issue13607] Move generator specific sections out of ceval.

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

[issue13610] On Python parsing numbers.

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The proposal is to change the definition of numbers literals from X to one that is context-sensitive: X followed by whitespace or a syntactic symbol but not anything else, in particular, not by an identifier_start character. I am +-0 at the moment. > 1

[issue13612] xml.etree.ElementTree says unknown encoding of a regular encoding

2011-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.2, Win7 (a narrow build) it indeed works and returns -- nosy: +terry.reedy versions: +Python 2.7 -3rd party, Python 2.6 ___ Python tracker <http://bugs.python.org/issue13

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am running 3.2.2 on 64-bit Win7Pro, which should not make a difference. So why did ^H work right for me yesterday and not for Marco today. Retrying with fresh IDLEs I discovered the following: selections do not initially appear in the find part of a

[issue9039] IDLE and module Doc

2011-12-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/issue9039> ___ ___ Python-bugs-

[issue13658] Extra clause in class grammar documentation

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

[issue13615] `setup.py register` fails with -r argument

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does it do the same with http instead of https? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue13

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

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

[issue13632] Update token documentation to reflect actual token types

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks good to me. help(token) already has the corrections. - BACKQUOTE, + RARROW, ELLIPSIS -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue13

[issue13632] Update token documentation to reflect actual token types

2011-12-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- priority: low -> normal ___ Python tracker <http://bugs.python.org/issue13632> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.7 is closed to new features. This looks like it mignt be one. The 2.7 doc for tarfile.open says "Return a TarFile object for the pathname name." Does the meaning of 'pathname' in 2.7 generally include unicode as well as str objects

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, after reading most all of the unusually large sequence of messages, I am closing this because three of the core developers with the most experience in this area are dead-set against your proposal. That does not make it 'wrong', but does me

[issue13644] Python 3 aborts with this code.

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I run this with 3.2.2 IDLE, from an edit window, I get an MSVC++ Runtime Library window: "Runtime Error! .../pythonw This application has requested termination in an unusual way...". When I close that, IDLE continues. So I would say that thi

[issue13653] reorder set.intersection parameters for better performance

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given that equality is not identify, order does matter, although in 3.2.2 the results are the opposite of what one might expect. a = set((1,2,3)) b = set((1.0, 3.0, 5.0)) print(a&b, b&a) print(a.intersection(b), b.intersection(a)) a &= b print(

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: > so mimicking the changed prompt would require querying the subprocess for its > sys.ps1 and sys.ps2. Is that sensibly possible? Any line of code can change those, so IDLE would have to do the equivalent of idle.ps1,idle.ps2 = sys.ps1, sys.ps2 before

[issue6092] IDLE: Changed Shortcuts don't show up in menu

2011-12-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Changed Shortcuts don't show up in menu -> IDLE: Changed Shortcuts don't show up in menu versions: +Python 3.3 ___ Python tracker <http://bugs.pyth

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: With that explanation, that it is one case out of six that fails, for whatever reason, I agree. That leaves the issue of whether the fix is the right one. I currently agree with Victor that we should do what the rest of Python does and what is most

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: @maniram I know what IDLE does. For the tracker, a 'bug' is a discrepancy between doc and behavior. According to the doc, a recursion loop should continue forever, just like an iteration loop ;=). Anyway, Roger is right, this is a duplicate of #6

[issue7338] recursive __attribute__ -> Fatal Python error: Cannot recover from stack overflow.

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seems to be a duplicate of 3555 and 6028. I am redirecting to the latter because is has a proposed patch. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> Interpreter crashes when chaining an infini

[issue3555] Regression: nested exceptions crash (Cannot recover from stack overflow)

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is one of four essentially duplicate issues #6028, #7338, #13644. #6028 has a proposed patch. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed versions: +Python 3.3 -Python 3.0 ___

[issue6028] Interpreter aborts when chaining an infinite number of exceptions

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe #3555, #7338, and *13644 are basically duplicates of this issue. I have left this one open because it has a try at a patch. I think any patch should be tested with the other examples. I agree with Antoine that an intentional exit is not a crash. I

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I understand the patched code, it only fixes the issue for unicode names that can be latin-1 encoded and that other unicode names will raise the same exception with 'latin-1' (or equivalent) substituted for 'ascii'. So it is easy fo

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just took a look as the 3.2 tarfile code and see that it always (because self.name is always unicode) does the same encoding, with 'replace', referencing RFC1952. Although there are a few other differences, they appear inconsequential, so tha

[issue13659] Add a help() viewer for IDLE's Shell.

2011-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should like it if a separate window were either automatic or a configuration option for help on modules and classes, which should cover 'long' output. The Windows workaround, which I will never remember, brings up an extraneous cmd.exe window i

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2011-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The actual fix in the previous issue, as in Python 3, was to always write the filename, but with errors replaced with '?/. -- nosy: +lars.gustaebel, terry.reedy ___ Python tracker <http://bugs.py

[issue13665] TypeError: string or integer address expected instead of str instance

2011-12-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +amaury.forgeotdarc, meador.inge ___ Python tracker <http://bugs.python.org/issue13665> ___ ___ Python-bugs-list mailin

[issue13666] datetime documentation typos

2011-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 only gets security updates. I verified 'rzinfo' typo in x.1.6 in 2.7 and 3.2. Also in both, tzinfo.utcoffset begins as Stephen claims. I have not verified that this is error. Also in both, in x.1.4, class GMT1 has ... def utcoffse

[issue13677] correct docstring for builtin compile

2011-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Flags comment applies to 3.2.2 docs and 2.7.2 docs. There is only one additional flag: ast.PyCF_ONLY_AST, so 'flags' should be singular. As for src and dst, doc has been updated to say 'Compile the source into a code or AST object. ... source

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