[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Note: 3.x correct gives the signature at enumerate(iterable, start) rather that enumerate(sequence, start). I agree that the current entry is a bit awkward. Perhaps the doc would be clearer with a reference to zipping. Removing the unneeded definition of

[issue11906] Test_argparse failure but only in interactive mode

2011-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the diagnosis. I am glad it is something simple. -- ___ Python tracker <http://bugs.python.org/issue11906> ___ ___

[issue11860] reference 2.3 has text that runs past the page

2011-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Then this appears to be a duplicate. Closing -- resolution: -> duplicate status: open -> closed superseder: -> PDF documentation: long verbatim lines are cut off at right hand side ___ Python track

[issue11922] Add General Index to Windows .chm help file Contents

2011-04-25 Thread Terry J. Reedy
New submission from Terry J. Reedy : The Windows distribution comes with the docs in a very nice Windows help file .chm form. When displayed, they is a left side bar with a Contents tab. The top entry is 'Python vx.y documentation' followed by 'Python Module Index' and &

[issue11908] Weird `slice.stop or sys.maxint`

2011-04-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 3.4 ___ Python tracker <http://bugs.python.org/issue11908> ___ ___ Python-bugs-list m

[issue11846] Remove non-guaranteed implementation details from docs.

2011-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The range of interned ints was once much smaller, but it was expanded upwards to 256 so that the bytes extracted from bytes and bytearray objects, as when indexing or iterating, would *all* be pre-allocated objects. I should presume that their indexers and

[issue1346874] httplib simply ignores CONTINUE

2011-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Carl, anyone is free to submit an incomplete patch, and people often do, but if people who are affected by an issue do not think it worth their time to complete it, or even move it along, there is no reason to expect people who are not affected by it to

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2011-04-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg134607 ___ Python tracker <http://bugs.python.org/issue10060> ___ ___ Python-bugs-list m

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2011-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Note: the word is 'separate', 2 e's and 2 a's, not 'seperate') (Note: We already know that using unbound unquoted names does not work. Please do not waste our time telling us the obvious.) (Note: I am removing IDLE because th

[issue11922] Add General Index to Windows .chm help file Contents

2011-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had not really noticed that the Index *was* the General Index. In trying it out, I discovered that double-clicking on entries with multiple links in the General Index, such as 'name,binding' with 7 links, brings up a sub-box with all seven.

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: To repeat concisely what I said on pydev list, I think Reference 5.9. Comparisons, which says "Tuples and lists are compared lexicographically using comparison of corresponding elements. This means that to compare equal, each element must compare equa

[issue4296] Python assumes identity implies equivalence; contradicts NaN

2011-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/issue4296> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11912] Python shouldn't use the mprotect() system call

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is there any reason not to close this as a CPython issue? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue11

[issue11928] fail on filename with space at the end

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows Explorer does not so allow, but yes, Windows does. With xp >>> os.stat('some file ') nt.stat_result(st_mode=33206, st_ino=6473924464520118, st_dev=0, st_nlink=1, st_uid=0, st_gid=0, st_size=13, st_atime=1304114221, st_mtime=13

[issue11937] Interix support

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Markus, I agree with Martin that this patch would go against current policy and should be closed. Rather than close it myself, I will try to persuade you to do so. First, CPython is actually in the process of 'slimming down', of removing, not addi

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #11944 is probably a duplicate of this and should be checked when this is fixed -- ___ Python tracker <http://bugs.python.org/issue4

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 3.4 ___ Python tracker <http://bugs.python.org/issue11950> ___ ___ Python-bugs-list mailin

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

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the patch produces the following as the first sentence "When a module named :mod:`spam` is imported, the interpreter searches for a file named :file:`spam.py` in a list of directories given by the variable ``sys.path`` which is initialized fro

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, this is a feature request to change the storage of loggers. A behavior issue (bug report) must report a discrepancy between doc and behavior. Vinay rejected that request as not really possible. Questions about using yum should go to a yum list or to

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

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you run the httplib test with your patch? Interactively >>> from test.test_httplib import test_main as f; f() (verbose mode, over 40 tests) In 3.x, the patch would be to http/client.py, line 802 in 3.2 release if isinstance(message_body, str) # b

[issue11015] Bring test.support docs up to date

2011-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is an improvement that I think should be committed before 3.2.1. Some comments: +.. function:: run_doctest(module, verbosity=None) + Run :mod:`doctest` on the given *module*. should be, I believe, + Run :func:`doctest.testmod` on the given *module

[issue11015] Bring test.support docs up to date

2011-05-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file21890/unnamed ___ Python tracker <http://bugs.python.org/issue11015> ___ ___ Python-bugs-list mailin

[issue11163] iter() documentation code doesn't work

2011-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think this is the wrong patch for reasons given below. The example should be replaced instead. Readline is documented as returning '' at EOF for text files. Iter(func,sentinel) is documented as calling func until sentinel is returned. If that nev

[issue11163] iter() documentation code doesn't work

2011-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue11

[issue11957] re.sub confusion between count and flags args

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like the idea of an internal REflag class with __new__, __or__, and __repr__==__str__. Str(re.A|re.L) might print as "REflag: re.ASCII | re.IGNORE" If it is *not* an int subclass, any attempt to use or mix with an int would raise. I checked and th

[issue11959] smtpd cannot be used without affecting global state

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I looked as the small patch to smptd.py. This strikes me a a reasonable use of dependency injection to make smptd more usable in testing, especially given that asyncx are have it. The only thing I do not understand fully is the redefinition of set_socket

[issue11963] Use real assert* for test_trigger_memory_error (test_parser)

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlike test.support, whose doc was recently expanded by a patch by Eli Bendersky, I see no mention of test.script helper in the test doc. [Do you think there should be?]. I was not aware of it. It might be newer than the 'old way'. I would have t

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

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Takayuki is correct, the status and header strings should, it seems, be 'native strings', not bytes. The experimental proof is to run the current example code (I did so from IDLE editor window on WinXP) and then enter http://localhost:8000/ in

[issue11959] smtpd cannot be used without affecting global state

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, passing self.sockmap=None to setsocket matches its current behavior, so your new code should not change any current smtpd users, while modifying asyncore.dispatcher.create_socket might possibly affect someone

[issue11957] re.sub confusion between count and flags args

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed, if we go that route. -- ___ Python tracker <http://bugs.python.org/issue11957> ___ ___ Python-bugs-list mailin

[issue11969] Can't launch Process on built-in static method

2011-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running on winxp with IDLE, I get the second traceback, all the same after the first line. Given "target is the callable object to be invoked by the run() method.", I would have expected this to work too. Problem is not builtins: class C: def f

[issue11972] input does not strip a trailing newline correctly on Windows

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

[issue11969] Can't launch multiproccessing.Process on methods

2011-05-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed title: Can't launch Process on built-in static method -> Can't launch multiproccessing.Process on methods ___ Python tracker <http://bugs.py

[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.

[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

[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

[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

[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

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