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

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

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

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

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

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

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

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

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

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

[issue12675] tokenize module happily tokenizes code with syntax errors

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

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

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

[issue12690] Tix bug 2643483

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

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

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

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

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

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

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

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

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

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

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

[issue12706] timeout sentinel in ftplib and poplib documentation

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

[issue12711] Explain tracker components in devguide

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2011-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are right, FF switched on me without notice. Bad FF. Thank you! What I now see makes much more sense. [ "๐ผ๐ฏ๐‘…๐จ๐‘‰๐ฏ๐ป", "๐ผ๐ฏ๐‘…๐จ๐‘‰๐ฏ๐ป", "๐”๐ฏ๐‘…๐จ๐‘‰๐ฏ๐ป", "๐”๐‡๐๐€๐ก๐‡๐“" ], and I now know to check on other p

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

2011-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding Symbola filled in the symbols and emoticons lines. The gothic chars are still missing even with Alfios. -- ___ Python tracker <http://bugs.python.org/issue12

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

2011-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: "the type object determines which (C) functions get called when, for instance, an attribute gets looked up on an object or it is multiplied by another object. These C functions are called โ€œtype methodsโ€ "These C functions" are any of the C fun

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

2011-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are right, I suggested deleting too much. The first half of the sentence is needed to define 'type methods', which is used several more times and is the title of the next section. We need to keep "These C functions are called โ€œtype me

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

2011-08-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my fresh install, double clicking *does* run the file as it should, but the window disappears immediately, erasing output and error tracebacks, unless one adds something like ``input("Hit Enter to quit") at the end of the script so the user c

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

2011-08-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Only if the issue is closed, so that it actually means 'fixed'. Otherwise, just delete it. The following data suggests to me that 'accepted' is a de facto synonym for 'fixed' and therefore useless and might as well be removed. N

[issue12745] Python2 or Python3 page

2011-08-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with your sentiments about Python 2 while being aware that not all agree yet and that the current Wiki page was the result of some heated discussion and compromise. I also agree that the page could use tweaking/updating/rewriting. For one thing the

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-08-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that the test file raises the quoted SyntaxError on 3.2 on Win7. This: >>> "\N{LATIN CAPITAL LETTER GHA}" SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-27: unknown Unicod

[issue12775] immense performance problems related to the garbage collector

2011-08-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 is in security fix only mode and the OP agrees not applicable to current -- nosy: +terry.reedy resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue12792] Document the "type" field of the tracker in the devguide

2011-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This documents the current list, but ;-) I think the current list should be modified. 1. Put behavior at the top of the list, as it is the most common (a 'human factor' principle). 2. Combine performance and resource usage. Both are extremel

[issue12792] Document the "type" field of the tracker in the devguide

2011-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Behaviors' is quite legal. However, "behavior Wrong or unexpected behaviors/results/exceptions. ..." could well be "behavior Wrong or unexpected behavior, result, or exception. ..." --

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

2011-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I improved UTF16.__getitem__ to handle negative indexes and slices. The later uses the same adjustment as for indexes. An __iter__ method is not needed as str.__iter__ used __getitem__. I will take further discussion of this prototype to python-ideas list

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

2011-08-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file22900/utf16.py ___ Python tracker <http://bugs.python.org/issue12729> ___ ___ Python-bugs-list mailin

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

2011-08-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file23025/utf16.py ___ Python tracker <http://bugs.python.org/issue12729> ___ ___ Python-bugs-list mailin

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

2011-08-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: My proposal is better than log(N) in 2 respects. 1) There need only be a time penalty when there are non-BMP chars and indexing currently gives the 'wrong' answer and therefore when a time-penalty should be acceptable. Lookup for normal all-BMP str

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

2011-08-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: PEP-393 will take care of iterating by code points. Where would you have other iterators go? The string module? Something else I have not thought of? Or something new? -- ___ Python tracker <http://bugs.python.

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

2011-08-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python makes it easy to transform a sequence with a generator as long as no look-ahead is needed. utf16.UTF16.__iter__ is a typical example. Whenever a surrogate is found, grab the matching one. However, grapheme clustering does require look-ahead, which is

[issue12797] io.FileIO and io.open should support openat

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I prefer a new parameter either at the end of the arglist or possibly keyword only. The idea for both variations is to let typical users ignore the option, which would be hard to do if it is part of the prime parameter. The idea for keyword only is that we

[issue12805] Optimizations for bytes.join() et. al

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

[issue12815] Coverage of smtpd.py

2011-08-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Library (Lib), Tests versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue12815> ___ ___ Python-bug

[issue12814] Possible intermittent bug in test_array

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Which Python version? 3.3? -- components: +Library (Lib), Tests nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue12

[issue12808] Coverage of codecs.py

2011-08-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Library (Lib), Tests versions: +Python 3.3 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue12808> ___ ___

[issue12816] smtpd uses library outside of the standard libraries

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

[issue12829] pyexpat segmentation fault caused by multiple calls to Parse()

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: A note for anyone else: David is actually using the xml.parsers.expat module, which uses the now undocumented pyexpat module, whose direct use is deprecated. David: Have you tested with 3.1 or 3.2? (I am about to try on Windows ;-). -- nosy

[issue12829] pyexpat segmentation fault caused by multiple calls to Parse()

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running with IDLE on Windows, I get no crash or uncaught exception but got these printed lines: An error occurred during XML parsing. Error ID: 9. Error message: junk after document element Line number: 1 An error occurred during XML parsing. Error ID: 9

[issue12836] ctypes.cast() creates circular reference in original object

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: What action are you suggesting? Change ctypes code or its doc or something else. If the doc, please suggest a specific change. Can you test on 3.x? -- nosy: +terry.reedy title: cast() creates circular reference in original object -> ctypes.c

[issue12843] file object read* methods in append mode overflows

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: > I have confirmed that this only happens in windows. This would literally mean that you tested on several other systems. Did you actually mean 'I have only confirmed that this happens in Windows.", that you only tested on Windows? The 2.6

[issue12846] unicodedata.normalize turkish letter problem

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are doing two different things to the original string: normalizing and encoding to ascii with errors ignored. Each should be tested separately. On 3.2: import unicodedata s1 = "รผfรผrรผkรงรผ aฤŸaรง ve ฤฑslฤฑkรงฤฑ รงeลŸme" s2 = unicodedata.normalize('N

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

2011-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: > But I think we may want to create a new module which provides various APIs specifically for apps that need care when dealing with Unicode. I have started thinking that way too -- perhaps "unitools"? It could contain the code point iterator for t

[issue12829] pyexpat segmentation fault caused by multiple calls to Parse()

2011-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: My understanding is that what you did: import xml.parsers.expat is now the proper way to use expat. After some searching, it seems the sentence about direct use of pyexpat being deprecated refers to http://sourceforge.net/tracker/?func=detail&aid=274

[issue12829] pyexpat segmentation fault caused by multiple calls to Parse()

2011-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seems to be a Mac-only issue. Barry, does this seem to be a security issue to you, or should we delete 2.6 from the versions? -- assignee: -> ronaldoussoren components: +Macintosh nosy: +barry, ned.deily, ronaldousso

[issue12528] Implement configurable bitfield allocation strategy

2011-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: As a (Windows) user, I would like to be able to download any working pre-compiled shared library (.dll) and access it via ctypes. The particular compiler used to compile cpythonx.y.z should not determine whether a Pythonx.y program works. The use of VSC2008

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

2011-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ezio, that is a lot of nice work to track down those pieces of the standard. I think the operative phrase in many of those quotes is 'open interchange'. Codecs are also used for private storage. If I use the unassigned or private-use code points in

[issue12850] [PATCH] stm.atomic

2011-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Semi-seriously, _PyEval_ForArminRigoOnly_ /* This function does whatever Armin Rigo wants it to do. He may change it at any time. Do not use it. */ This would let you experiment with the boundary as you will (with review, of course) and relieve us of any

[issue12922] StringIO and seek()

2011-09-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : First, there is a minor documentation issue. 15.2.3.1. I/O Base Classes class io.IOBase seek(offset, whence=SEEK_SET) Change the stream position to the given byte offset Since StringIO seeks by code units that should perhaps say 'byte or code unit o

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

2011-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 9/8/2011 4:32 AM, Ezio Melotti wrote: > So to summarize a bit, there are different possible level of strictness: >1) all the possible encodable values, including the ones>10; >2) values in range 0..10; >3) values in range 0

[issue12902] help("modules") executes module code

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The immediate issue is improvement of the entries for help and help(): In builtin functions section: Expand "Invoke the built-in help system." to "Invoke the built-in help system, which uses *pydoc*." where *pydoc* is linked to the pydoc

[issue12913] Add a debugging howto

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you write 'How to debug Python code' rather than just "How to use pdb", I would start with the use of print statements and binary search. Have short sections on using trace and profile. Very useful would be a list of error messages and

[issue12299] Stop documenting functions added by site as builtins

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can we close this as out-of-date, since 2/3rds of what you asked seems to be done already, and the last 1/3 should (in my opinion) absolutely not be? -- ___ Python tracker <http://bugs.python.org/issue12

[issue12914] Add cram function to textwrap

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is already available: >>> import pydoc >>> pydoc.cram('This sentence is too long to fit the space I have made >>> available', 28) 'This sentenc...ade available' def cram(text, maxlen): ""&qu

[issue12915] Add inspect.locate and inspect.resolve

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: To be a little clearer, this is about dotted import names, not regular dotted names. pydoc.locate(path, forceload=0): """Locate an object by name or dotted path, importing as necessary""" pydoc.resolve(thing, forceload=0): &

[issue12940] Cmd example using turtle left vs. right doc-bug

2011-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.2. Any patch should trivially port to 3.3 and 2.7 -- nosy: +terry.reedy versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue12

[issue12941] add random.pop()

2011-09-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> rejected stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12942] Shebang line fixer for 2to3

2011-09-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue12942> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12914] Add cram function to textwrap

2011-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: This pretty well summarizes my vague feelings. I originally used a size 30 in my example, getting 'This sentence...made available' and then realized that it was a complete accident that I got complete words. If anything were made publicly availabl

[issue6081] str.format_from_mapping()

2010-08-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I understand now that new methods, as opposed to changed methods, are allowed. I agree with Eric that this seems more like a convinience rather than absolute necessity, and that the doc should be augmented. The doc for vformat (which I admit I had not

[issue9582] documentation line needs rewording

2010-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: PATCH add 'are' after 'expressions'. -- keywords: +patch nosy: +terry.reedy stage: -> needs patch type: -> behavior ___ Python tracker <htt

[issue9582] documentation line needs rewording

2010-08-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +easy ___ Python tracker <http://bugs.python.org/issue9582> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9583] PYTHONOPTIMIZE = 0 is not honored

2010-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: How did you conclude that PYTHONOPTIMIZE = 0 is not honored? Can you provide a minimal example or demonstration. In any case, 2.6.6 is nearly out so bad behavior needs to be demonstrated with 2.7/3.x. -- nosy: +terry.reedy versions: +Python 2.7

[issue9562] Slightly misleading wording in documentation of dict.update

2010-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with the replacement: 'tuples' and 'interables' modify and must agree with 'pairs', not the initial 'iterable'. -- keywords: +easy, patch nosy: +terry.reedy stage: -> ne

[issue9533] metaclass can't derive from ABC

2010-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: +- same traceback in 3.1 Since ABCmeta is not used (by name) its import is not needed. I have no opinion on whether this should work. -- nosy: +terry.reedy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue9523] Improve dbm module

2010-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upgrading to match the MutableMapping interface seems reasonable. -- nosy: +terry.reedy stage: -> patch review ___ Python tracker <http://bugs.python.org/iss

[issue7352] pythonx.y-config --ldflags out of /usr and missing -L

2010-08-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: python2.6-config --ldflags out of /usr and missing -L -> pythonx.y-config --ldflags out of /usr and missing -L versions: +Python 3.2 -Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue9584] Allow curly braces in fnmatch

2010-08-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: rejected -> stage: committed/rejected -> patch review ___ Python tracker <http://bugs.python.org/issue9584> ___ __

[issue9591] kqueue not reporting EOF under certain circumstances

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume the first example should have been # cat file | ./test.py or seceond should have been # ./test.py < test.py so that test.py gets same input on stdin in either case. For other readers: kqueue and kevent are bsd-specific functions and classes in

[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doc/howto/doanddont.rst is the source for Python HOWTOs: Idioms and Anti-Idioms in Python Moshe Zadka original author (added as nosy) The gist of the patch is to clarify that using 'with' is best, not the non-with version that is currently called

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, any reason not to close this as a duplicate, with #9227 as superseder? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue9

[issue9618] IDLE shell ignores all but first statement

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In interactive mode, multiline statements are terminated with a blank line. Your examples lacks that, so the 3rd line is part of the def and lacking the proper indent, is indeed a syntax error. You get the same with the standard command-line interpreter

[issue9622] Allow to set profile/trace function globally

2010-08-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9622> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9624] 2755

2010-08-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue9624> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9632] Remove sys.setfilesystemencoding()

2010-08-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review type: -> feature request ___ Python tracker <http://bugs.python.org/issue9632> ___ ___ Python-bugs-

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you talking about top-level code within the urllib module or code within defined functions. If the former, can you quote or point to the place in the file? If the latter, which functions? Just urlopen or others? Does urllib2.urlopen have the same issue

[issue9602] PyObject_AsCharBuffer() should only accept read-only objects

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

[issue9643] urllib2 - Basic, Digest Proxy Auth Handlers failure will give 401 code instead of 407

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.x, http_error_auth_reqed is a method of urllib.request.AbstractBasicAuthHandler (20.5.8. AbstractBasicAuthHandler Objects in 3.1 lib manual) -- nosy: +terry.reedy stage: -> unit test needed ___ Python trac

[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.1, and I presume (please check) 2.7, the signature is given as class json.JSONEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None) I verified by simple experiment

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate status: open -> closed superseder: -> can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X ___ Python tracker <http://bugs.pyt

[issue1011113] Make โ€œinstallโ€ find the buil d_base directory

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

[issue7694] DeprecationWarning from build_ext needs stacklevel

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

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