[issue11980] zipfile.ZipFile.write should accept fp as argument

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: zipfile.ZipFile takes a file arg that can be a 'path to a file (a string) or a file-like object'. The .write() method takes a filename arg. I would think that the proposal should be what the title says, to expand that to a file arg, either a pat

[issue11994] [2.7/gcc-4.4.3] Segfault under valgrind in string.split()

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Also, the segfault only occurs when python is compiled with optimizations and run under valgrind." This says to me that the segfault is not a Python issue. What change do you expect in the Python source code? If none, this issue should

[issue12001] Extend json.dumps to handle N-triples strings

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the json module should stick with the json definition. Adding other stuff would take it even further from simplejson. A conversion function, if short enough, could be posted on the cookbook. -- nosy: +terry.reedy resolution: -> rejec

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified bug on winxp with 2.7 xrangef [5, 4, 3, 2, 1, 0] py26 [] py27 [5, 4, 3, 2, 1, 0, -1, -2] v1 [5, 4, 3, 2, 1, 0] v2 [5, 4, 3, 2, 1, 0] v3 [5, 4, 3, 2, 1, 0] --- xrangef [5, 3, 1, -1, -3] py26 [] py27 [5, 3, 1, -1, -3, -5] v1 [5, 3

[issue12016] Wrong behavior for '\xff\n'.decode('gb2312', 'ignore')

2011-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: u'' in 2.7.1 also, on winxp -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue12016> ___ ___

[issue12017] Decoding a highly-nested object with json (_speedups enabled) causes segfault

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

[issue11963] Remove human verification from test suite (test_parser and test_subprocess)

2011-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: My title suggestion was meant to say "Yes, if you are willing to expand the scope of this issue and do more work, go ahead' ;-). I have not looked at help(test), but it should be complete if it is not. I was referring to the test module doc 25.

[issue11968] wsgiref's wsgi application sample code does not work

2011-05-07 Thread Phillip J. Eby
Phillip J. Eby added the comment: Yes, the 'b' is a docs error. I previously removed this in: http://hg.python.org/cpython-fullhistory/rev/2697326d4a77 It appears to have been reverted during a merge, here: http://hg.python.org/cpython-fullhistory/rev/88d04f0143c7 My brows

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sandro, import is a somewhat dark corner of Python that newcomers and even experienced people ofter trip over. So getting the text both correct and clear is worth some thought. I just noticed that the text is only true for Python-coded modules and not for

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with both Raymond and David's suggestion. -- ___ Python tracker <http://bugs.python.org/issue11948> ___ ___ Pytho

[issue12026] Support more of MSI api

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your title mixes a goal -- exposing more of the MSI api -- with a particular means -- exposing an object that is only useful with ctypes. So I have taken the liberty of removing the implementation limitation. While clever, I do not believe that strategy has

[issue12057] HZ codec has no test

2011-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at cjkencodings.py the format is pretty clear. The file consists of one statement that creates one dict that maps encoding names to a pair of (encoded) byte strings. The bytes literals are entirely hex escapes, with a maximum of 16 per chunk (line

[issue12057] HZ codec has no test

2011-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reading http://tools.ietf.org/html/rfc1843 suggests that the reason that there is no HZ pair in cjkencodings.py is that it is not a cjkencoding. Instead it is a formatter or meta-encoding for intermixing ascii codes and GB2312(-80) codes. (I assume the 

[issue12057] HZ codec has no test

2011-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reading http://tools.ietf.org/html/rfc1843 suggests that the reason that there is no HZ pair in cjkencodings.py is that it is not a cjkencoding. Instead it is a formatter or meta-encoding for intermixing ascii codes and GB2312(-80) codes. (I assume the 

[issue12057] HZ codec has no test

2011-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg135802 ___ Python tracker <http://bugs.python.org/issue12057> ___ ___ Python-bugs-list m

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

2011-05-12 Thread Terry J. Reedy
New submission from Terry J. Reedy : Current 3.2 doc, 5.9. Comparisons, has this paragraph about mixed-type comparisons. "The operators <, >, ==, >=, <=, and != compare the values of two objects. The objects need not have the same type. If both are numbers, they are conve

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I disagree (else I would not have suggested change ;-). First, I dislike 'This allows' on stylistic grounds, when there is a better alternative. It is rather wishy-washy: 'this allows' -- so what? As for the rest -- why not be specific?

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sandro, thank you for sticking with this. Seemingly simples issues sometimes 'explode' a bit. Having reviewed the patch, I think the it is ready to be committed. Éric: if you were to commit this and, in the process, wanted to change sys.path bac

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue11948> ___ ___ Python-bugs-list mai

[issue12038] assertEqual doesn't display newline differences quite well

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: A possible fix is to condense the output by omitting stuff in the center rather than as the end: "x\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx...x\nx\nx\nx\nx\nx\nx\nx\nx\nx\n" "x\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx...x\nx\nx\nx\nx\nx\nx\nx\nx\nx\r\n&

[issue7969] shutil.copytree error handling non-standard and partially broken

2011-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I also found the doc confusing. Does "This exception collects exceptions that raised during a multi-file operation." that Error is used for .rmtree or .move? If so, what format. If not, revise. And I also wondered how to access and use

[issue12075] python3.2 memory leak when reloading class with attributes

2011-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: > my class also inherits from subprocess.Popen, which has a __del__ method, > which might interfere w/ collection The doc says __del__ *will* prevent collection. > (although gc.garbage says otherwise ;). Do you mean that gc.garbage is empty, when

[issue1353344] python.desktop

2010-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am past beginner stage and I still open with the Start mene ;-) If/when I install Ubuntu or other Linux, I would like to still be able to do whatever is the equivalent, as with other stuff, rather than have to open a command window and type a command

[issue10356] decimal.py: hash of -1

2010-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should there be a 'versionchanged' note in the doc, even if the error type was not documented? -- ___ Python tracker <http://bugs.python.o

[issue4153] Unicode HOWTO up to date?

2010-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for persisting with this. Looking at the patch: @@ -65,7 +63,7 @@ goal was to have Unicode contain the alphabets for every single human language. It turns out that even 16 bits isn't enough to meet that goal, and the modern Unicode specification

[issue4153] Unicode HOWTO up to date?

2010-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 0 through ... is fine with me. Yes, hex numeral would be more accurate than hex digit. -- ___ Python tracker <http://bugs.python.org/issue4

[issue6941] Socket error when launching IDLE

2010-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Download and install a current release 2.6.6, 2.7, or 3.1.2 (or 2.7.1 or 3.1.3 in a week or so). Disable or otherwise reconfigure whatever firewall or security software you have that is blocking the socket connection (as your screenshot says). If you still

[issue10458] 2.7 += re.ASCII

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

[issue10461] Use with statement throughout the docs

2010-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: +1 I have not yet had occasion to use 'with' yet, but in reading the Unicode HOWTO diff, I noticed that I liked replacing 'open,read,close' with 'with open, read' just for reading purposes since it turns 3 steps into 1 compound t

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deadline is probably next Fri. However I will apply this or slight revision thereof in a couple of days to make sure this much is in. I have to fixup some work stuff today. -- ___ Python tracker <h

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-20 Thread John J Lee
John J Lee added the comment: Oops, I hadn't noticed that max_redirections isn't part of the API. In that case, I agree that it's not strictly a bug. I'd also agree it's not very important. FWIW: "want[ing] to see all redirects" is not the same thing as p

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

2010-11-20 Thread Phillip J. Eby
Phillip J. Eby added the comment: It looks to me as though this patch reintroduces issue9199, as it passes multiple arguments to self.announce() once again. The patch needs to be made against the SVN version of Python, not the released version

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-21 Thread Phillip J. Eby
Phillip J. Eby added the comment: Yes, please consider the type->isinstance part of the change rejected. I just got done reverting a bunch of those in 3.2. Where WSGI specifies types, it means "type() is", not "isinstance". (The 3.x version of wsgiref does not need

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.2, 3.1, 2.7: r86702, r86703, r86704 -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Georg, if your comment means that you think that the doc patch is ready to apply, as is, without testing with a doc build, then I will do so for all 3 versions. Should there really be two blank lines after the note

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file19785/unnamed ___ Python tracker <http://bugs.python.org/issue1859> ___ ___ Python-bugs-list mailin

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doc patch applied to 3.2, 3.1, 2.7 in r86717, r86718, r86719 Jeremy Thurgood added to 3.2 Misc/ACKS in r86720. (I know, I should have added this first before committing.) I am leaving this open for a possible behavior patch. Mathew: look at the examples by

[issue1859] textwrap doesn't linebreak on "\n"

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

[issue10516] Add list.clear()

2010-11-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Add list.clear() method with obvious semantics. Pro: 1. parallel to set/dict/defaultdict/deque.clear(), usable in generic mutable collection function; 2. makes it easier to switch between list and other collection class; 3. current alternatives are not as

[issue8938] Mac OS dialogs(Save As..., Load) translation

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

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I am not sure I will be able to do any more before the 3.2b1 feature freeze, I went ahead with the minimal patch after checking the differences from the 2.7 version and redoing the Misc/News entry. (I suspect putting a new entry immediately after the

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-11-25 Thread Terry J. Reedy
New submission from Terry J. Reedy : Expose and document the junk and popular sets as attributes of the SequenceMatcher object. self.junk = junk self.popular = popular Deprecate the then unneeded and undocumented isbjunk and isbpopular functions, currently defined as self.isbjunk = junk

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. #10534. This is really a 'follow-on' rather than 'superseder', but the forward reference should be easy for anyone to find. -- resolution: -> fixed status: open -> closed superseder: -> difflib.SequenceMatcher

[issue1178] IDLE - add "paste code" functionality

2010-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would really like something like this -- for 3.2b1 next week. I am constantly running posted interactive code and the lack of this is a major nuisance. There seems to be a glitch in how the editor deals with '>>> ' when trying to dele

[issue1178] IDLE - add "paste code" functionality

2010-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: An alternative approach would be to leave pasting alone but add a 'Convert interactive code' option to the format menu, with keycode alt-v (not currently used as far as I can see). -- ___ Python trac

[issue5150] IDLE to support reindent.py

2010-11-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: fixed -> stage: committed/rejected -> commit review versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/

[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

2010-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: As a practical matter, I think that for at least the next decade, people are at least as likely to want to fill with a composed, multi-BMP-codepoint 'char' (grapheme) as with a non-BMP char. So to me, failure with the latter is no worse than failur

[issue10537] OS X IDLE 2.7rc1 from 64-bit installer hangs when you paste something.

2010-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this a duplicate of other issues (close?)? Is this an Apple problem beyond our control (close?)? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue10

[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

2010-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reading the additional messages here and on a similar issue Alexander opened after this, I seem the point of wanting to make the difference between the two types of builds as transparent as sensibly possible. From that viewpoint, rejection of composed

[issue9264] trace.py documentation is incomplete

2010-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Éric, please feel free to commit (and even grab Assigned To:) when you feel patch is ready. You can do final review better than me. -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue9

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch is missing version-added directive and News entry. I will try to add these and re-upload for final check. -- status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I applied mkdir.diff, 08-07, patch to my current working copy, added version-added and News entry (with credit to Ray Allen) and added Ray Allen to ACKS. Uploaded as mkdirs.tr.diff I suspect a complete test should include a linux system, but I copied os.py

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: \ at end of os.py addition -- ___ Python tracker <http://bugs.python.org/issue9299> ___ ___ Python-bugs-list mailing list Unsub

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Afaik, those error have nothing to do with this issue. I just included them for completeness in case they were helpful to GB. -- ___ Python tracker <http://bugs.python.org/issue9

[issue10537] OS X IDLE 2.7rc1 from 64-bit installer hangs when you paste something.

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

[issue10500] Palevo.DZ worm msix86 installer 3.x installer

2010-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: And I checked both .2 and .3 with McAfee "Nothing found" -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.o

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue was closed as a duplicate of #9227. Please direct further comments there. In any case, all issues wait until a person with the requisite knowledge volunteers a fix and a core developer commits the fix

[issue4113] Add custom __repr__ to functools.partial

2010-12-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would prefer the module.name without the repr decoration. -- status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-12-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I removed trailing '\' and whitespace, refreshed against current repository, removing conflicts, and committed. r86930 -- assignee: georg.brandl -> terry.reedy resolution: accepted -> fixed status

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Georg Brandl patched the doc changes in r86931. Ray, for future reference, you might take a look, particularly -.. function:: makedirs(path[, mode][, exist_ok=False]) +.. function:: makedirs(path, mode=0o777, exist_ok=False) In 3.x, (as opposed to 2.x), the

[issue10610] Correct the float(), int() and complex() documentation

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

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is a pretty minimal patch to expose bjunk and bpopular as attributes and document them along with b2j, which is already exposed but not documented. I suppose the proposed paragraph could be formatted as a list, perhaps after ":class:`SequenceMa

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

2010-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The indentation of the patch 'looks' wrong. That appears to be because you used tabs instead of spaces (as in the lines removed and I presume elsewhere in the file -- and because FireFox interprets tabs as 8 spaces. Please redo with spaces. I w

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

2010-12-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: Given that this is a pure bugfix to revert a problem in 2.7 -- where no *new* development is being done -- a test isn't actually needed for this patch. There is no point in holding up a distutils1 fix for distutils2's benefit. Daniel: thanks for

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

2010-12-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: Committed Daniel's patch to r86978 in the 2.7 maintenance branch. (The 2.x trunk still has this bug, but is permanently closed to new checkins.) -- stage: needs patch -> committed/rejected versions: -3rd party, Python 3.1, Py

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Added version-added and committed. r86983 -- ___ Python tracker <http://bugs.python.org/issue10534> ___ ___ Python-bugs-list m

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: commit review -> needs patch ___ Python tracker <http://bugs.python.org/issue10534> ___ ___ Python-bugs-list mai

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deprecated isbjunk and isbpopular methods, ran doc and unit tests, and committed as r87000. Still need to add 'gone in 3.3 test' when revise unittests. -- ___ Python tracker <http://bugs.python.o

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: News entry for both commits: r87001 -- ___ Python tracker <http://bugs.python.org/issue10534> ___ ___ Python-bugs-list mailin

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

2010-12-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: Whoops, my bad... I misread Eric's earlier message as throwing it back onto *Daniel* to produce a test, not that *he* (Eric) was working on the test. IOW, I thought that progress had been stalled a second time on this, and went ahead to pick up the

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

2010-12-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: The urgency was only that I didn't want the other contributors to this issue to feel as though the bar on their contributions were being raised higher every time they jumped the previous bar. IOW, I did it to make them feel like somebody was doing *some

[issue10516] Add list.clear() and list.copy()

2010-12-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Objects/dictobject.c -- ___ Python tracker <http://bugs.python.org/issue10516> ___ ___ Python-bugs-list mailing list Unsub

[issue8754] ImportError: quote bad module name in message

2010-12-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch looks same to me as far as I can judge. I would have used .format instead of %, but you wrote it ;-). Seeing how many of our tests had to be patched convinced me that we should treat this like a feature request and only apply to 3.2

[issue10544] yield expression inside generator expression does nothing

2010-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: #3267 did not expose endless loop possibility and was closed as won't fix. Rather than reopen that and close this and move nosy list back, I added to nosy list here. -- nosy: +brett.cannon, erickt, terry.

[issue3267] yield in list comprehensions possibly broken in 3.0

2010-12-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- superseder: -> yield expression inside generator expression does nothing ___ Python tracker <http://bugs.python.org/iss

[issue7391] Re-title the "Using Backslash to Continue Statements" anti-idiom

2010-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #10545, 'rurpy2' gives a similar critique of this section and suggests that it be improved or removed. I agree that it needs change and will try to think of what would be better. -- nosy: +rurpy2, terry.reedy versions: -Python 3.0,

[issue10545] remove or rewrite "Using Backslash to Continue Statements" anti-idiom

2010-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is essentially a duplicate of #7391 where it is already agreed that a change should be made to that section. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> Re-title the "Using Backsla

[issue10546] UTF-16-LE and UTF-16-BE support non-BMP characters

2010-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Marc or Alexander, can you confirm that the patch is correct? -- assignee: d...@python -> cgw nosy: +belopolsky, cgw, lemburg, terry.reedy stage: -> commit review ___ Python tracker <http://bugs.p

[issue10546] UTF-16-LE and UTF-16-BE support non-BMP characters

2010-12-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: cgw -> ___ Python tracker <http://bugs.python.org/issue10546> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10546] UTF-16-LE and UTF-16-BE support non-BMP characters

2010-12-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> d...@python ___ Python tracker <http://bugs.python.org/issue10546> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8426] multiprocessing.Queue fails to get() very large objects

2010-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6.6 was the last bugfix release -- type: crash -> behavior versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/iss

[issue10669] Document Deprecation Warnings and how to fix

2010-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The issue is not the specific warnings Rusi got but how, in general, one can get more information when the warnings are too cryptic to deal with. One response might be that DeprecationWarnings should be much wordier than they are -- a paragraph of a few

[issue10674] Unused dictmaker symbol in 2.* grammar

2010-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your links are to py3k branch, where dictmaker does not appear. http://svn.python.org/view/python/branches/release27-maint/Grammar/Grammar?view=markup should that Benjamin just removed it from 2.7. -- nosy: +terry.reedy

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a security issue, so removal of 2.6 was right the first time. Changing the one line would be easy, but I know nothing about what is correct or if there is even a standard for cookies. -- stage: -> unit test needed versions: -Python

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since Éric grabbed Assigned To:, I was expecting him to ;=). But since he is doing enough other stuff, I will unless there are conflicts in the .rst I do not know how to fix. -- status: pending -> open ___ Pyt

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Éric beat me. Better that he finish. -- ___ Python tracker <http://bugs.python.org/issue9264> ___ ___ Python-bugs-list mailin

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Added tweak to .__chain_b to avoid creating list of b2j.keys and .items be deleting from b2j in separate loop after creating sets. Test with timeit suggests time about same with 1% deletion. r87276 -- resolution: -> fixed status: open ->

[issue10155] Add fixups for encoding problems to wsgiref

2010-12-17 Thread Phillip J. Eby
Phillip J. Eby added the comment: So, do you have any suggestions for a specific change to the patch? -- ___ Python tracker <http://bugs.python.org/issue10

[issue10685] trace does not ignore --ignore-module

2010-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please try the recent 2.7.1 release. This needs to be tested with current 3.1.3 or 3.1.b+ also. -- nosy: +eli.bendersky, terry.reedy title: trace does nto ignore --ignore-module -> trace does not ignore --ignore-mod

[issue10702] bytes and bytearray methods are not documented

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

[issue10723] Undocumented built-in exceptions

2010-12-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file20084/exceptions.rst ___ Python tracker <http://bugs.python.org/issue10723> ___ ___ Python-bugs-list m

[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2010-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not have much to add, but second the idea of inquiring on python-list or the gmane mirror, especially about alternatives (other than Notepad, which is what I started with). Happily, IDLE has nearly always worked fine on my xp machine, so I have not

[issue10730] add .svgz to mimetypes.suffix_map

2010-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is actually a request to add .svg to the types map and the the abbreviation .svgz for .svg.gx to the suffix_map. I believe Scalable Vector Graphics are well on the way to becoming *the* standard vector graphics format for the web, especially with

[issue10730] add .svgz to mimetypes.suffix_map

2010-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Separate issue: from the mimetypes doc ... "MimeTypes.types_map Dictionary mapping filename extensions to MIME types. This is initially a copy of the global types_map defined in the module." But on Windows, I get a *tuple*, not a dict, of two

[issue10461] Use with statement throughout the docs

2010-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vinay, you should look at the logging-cookbook patch. -- ___ Python tracker <http://bugs.python.org/issue10461> ___ ___ Pytho

[issue10296] ctypes catches BreakPoint error on windows 32

2010-12-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +theller ___ Python tracker <http://bugs.python.org/issue10296> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10730] add .svgz to mimetypes.suffix_map and .svg to types_map

2010-12-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch attached. The instructions, after editing the url, are # Before adding new types, make sure they are either registered with IANA, # at http://www.iana.org/assignments/media-types # or extensions, i.e. using the x- prefix Since there is no

[issue10730] add .svgz to mimetypes.suffix_map and .svg to types_map

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

[issue8885] markupbase declaration errors aren't recoverable

2010-12-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified the looping behavior of the testcase in both 2.7.1 and, with minor mods, 3.1.3 and 3.2b1, so this is a valid issue. The HTMLParcer docs (2.7, 3.2) do not mention the .error method. The default is def error(self, message): raise

[issue10730] add .svgz to mimetypes.suffix_map and .svg to types_map

2010-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, the other combined suffixes are not either. -- ___ Python tracker <http://bugs.python.org/issue10730> ___ ___ Python-bug

<    8   9   10   11   12   13   14   15   16   17   >