[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

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

[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

[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: I obviously misunderstood the instruction about 'x-' and will remove that. Should I leave the entry where it is or move as Éric suggested? -- Added file: http://bugs.python.org/file20149/mimetypes

[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: r87460 -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/issue10730> ___ ___

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

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 is closed except for security fixes, which this does not seem to be. If the problem is in 2.7, then it potentially could be fixed there, but with the same caveats. I will let Antoine reclose if he thinks appropriate. -- nosy: +terry.reedy stage

[issue10733] plistlib rejects strings containing control characters

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mitchell: 2.6 is closed to revision except for security issues -- nosy: +terry.reedy resolution: wont fix -> versions: +Python 3.2 -Python 2.6 ___ Python tracker <http://bugs.python.org/issu

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: According to the linked doc, Opera has '-noraise' but not '-raise' as a command line option (to not raise window when receiving remote commands). It does have '"raise()"' (with quotes and parens, but not "n

[issue10742] memoryview.readonly attribute is not documented

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with addition. Patch look OK to my limited .rst knowledge. To be more parallel to the other entries, the text might say "A bool indicating whether ..." -- nosy: +terry.reedy stage: -> patch review versions: +Python 3.

[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2010-12-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -BreamoreBoy ___ Python tracker <http://bugs.python.org/issue10756> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10757] zipfile.write, arcname should be bytestring

2010-12-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +aimacintyre stage: -> unit test needed type: compile error -> behavior versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/i

[issue10762] strftime('%f') segfault

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified problem with 3.2b1 on 32-bit winxp machine. IDLE restarts after pythonw crashes. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue10

[issue10733] plistlib rejects strings containing control characters

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

[issue10768] Bug in scrolledtext

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since 'methods' is converted to a set in the next line, there is no need for lists. Instead, use | and delete the conversion. methods = vars(Pack).keys() + vars(Grid).keys() + vars(Place).keys() methods = set(methods).difference(text_meth

[issue10769] ast: provide more useful range information

2010-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: A request limited only to fixing the current field for attribute may get more traction than a request for a new field. Can you dig into to code to get any idea why the difference between attributes versus indexes and parameters? -- nosy: +terry.reedy

[issue10769] ast: provide more useful range information

2010-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: FWIW, I find the current behavior for attributes to be surprising, to the point where at first glance it almost looks like a bug. Which is to say, I would have expected 'col' to point to the first non-whitespace column after the '.'. If

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.2,3.1,2.7: r87553, r87554, r87555 -- assignee: -> terry.reedy components: +Library (Lib) resolution: -> fixed status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue10792] Compile() and 'Windows/Mac newlines'

2010-12-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : In python-list thread "Does Python 3.1 accept \r\n in compile()?" jmfauth notes that compile('print(999)\r\n', '', 'exec') works in 2.7 but not 3.1 (and 3.2 not checked) because 3.1 sees '\r' as SyntaxErr

[issue10792] Compile() and 'Windows/Mac newlines'

2010-12-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made a mistake in testing. Sorry for the noise. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

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

2010-12-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: OS X IDLE 2.7rc1 from 64-bit installer hangs when you paste something. -> OS X IDLE 2.7 from 64-bit installer hangs when you paste something. ___ Python tracker <http://bugs.python.org/issu

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2010-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: According to Ronald (msg92914) and Ned (msg92923) this particular issue is 2.6 only (and fixed in 2.7 because of patches not backported). 2.6 is in security fix only mode. So unless someone claims that this is a security issue (and Barry agrees) or reports

[issue4685] IDLE will not open (2.6.1 on WinXP pro)

2010-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 is now security fix only. -- nosy: +terry.reedy resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue2708] IDLE subprocess error

2010-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.0 is closed to fixed and 2.6 is security fix only. This is otherwise a duplicate of similar issues. -- nosy: +terry.reedy resolution: -> out of date status: open -> closed ___ Python tracker

[issue10799] Improve webbrowser.open doc (and, someday, behavior?)

2010-12-30 Thread Terry J. Reedy
New submission from Terry J. Reedy : webbrowser.open (and two aliases): 1. document return value, which seems to be: True if a browser tab or window is opened, regardless of whether or not the url is found; False otherwise. 2. document that (on Windows, at least) the default browser only gets

[issue6285] Silent abort on XP help document display

2010-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: webbrowser appears to be designed to return True/False if it does/or not open a browser window (regardless of site response). (I opened #10799 for a doc addition.) I believe an exception would likely indicate a bug therein. So I only wrapped the Windows

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2010-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is no verification that there is a bug in 2.7/3.1,2, then I think this should be closed. -- nosy: +terry.reedy versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue2

[issue10771] descriptor protocol documentation has two different definitions of "owner" class

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: For future reference, the 'trunk' branch was frozen with the release of 2.7 in June 2010. However, this particular text is unchanged since in 2.7.1 and still in 3.2b2 (except for removal of 'new style'.) -

[issue10772] Several actions for argparse arguments missing from docs

2010-12-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +bethard versions: +Python 3.2 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue10772> ___ ___ Python-bugs-list m

[issue10782] Not possible to cross-compile due to poor detection of %lld support in printf

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Requests for information should go to python-list or other support forums. That said, does the response settle this issue, so that it can be closed, or is there still a claim that something should be changed in the Python repository? -- nosy

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the current behavior matches the current doc, "class unittest.TextTestRunner(stream=sys.stderr, descriptions=True, verbosity=1, runnerclass=None, warnings=None) A basic test runner implementation which prints results on standard error. ..."

[issue10787] [random.gammavariate] Add the expression of the distribution in a comprehensive form for random.gammavariate

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From reading the Wikipedia article, I might conclude that beta = 1/theta, but >from reading random.py, beta=theta. I think this much should be clarified, but >without giving the formula in a hard to read text form. Perhaps the random doc >

[issue10789] Lock.acquire documentation is misleading

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since threading is written in Python, one might expect Lock to be written in Python and its methods to accept keywords. However, threading.py (3.2) has _acquire_lock = _thread.acquire_lock Lock = _aquire_lock so threading.Lock objects are C-coded

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.6 is finished except for possible security patches. This should be verified in a current release, preferably 3.2 -- nosy: +terry.reedy stage: -> needs patch versions: +Python 2.7 -Python 2.6 ___ Python trac

[issue6285] Silent abort on XP help document display

2010-12-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file20199/z6285.diff ___ Python tracker <http://bugs.python.org/issue6285> ___ ___ Python-bugs-list mailin

[issue6285] Silent abort on XP help document display

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified the bug by creating a copy of idlelib/help.txt, making the new help entry, testing it, deleting the copy, and retesting -- IDLE silently disappears. (A copy is necessary because IDLE checks that the file exists and gives a similar message as in

[issue6285] Silent abort on XP help document display

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bug and fix also apply to missing Idlelib/help.txt. r87601 News entry for 3.2. Thanks Scott. -- ___ Python tracker <http://bugs.python.org/issue6

[issue10789] Lock.acquire documentation is misleading

2011-01-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, I will add defaults in the texts and condense them a bit at the same time. Will post patches for review. "Arguments that can't be given as kwargs are presented with brackets." I think this should be stated in the introduction to the Lib man

[issue8350] Document lack of support for keyword arguments in C functions

2011-01-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that the warning that things are not always as they seem should be repeated in the front of the library manual where the pseudo-arg names are actual used, so the library manual stands on its own. In any case, I believe a lot of people use the lib ref

[issue8350] Document lack of support for keyword arguments in C functions

2011-01-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is no indication in the lib manual as to which parameter names and defaults are real and which are fake, then the safe guideline is to never use keywards for library functions and methods and always pass everything positionally. Slightly more

[issue10789] Lock.acquire documentation is misleading

2011-01-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I responded to the general questions on #8350. -- ___ Python tracker <http://bugs.python.org/issue10789> ___ ___ Python-bug

[issue10845] test_multiprocessing failure under Windows

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: On xp, changing from -m test to -m test.regrtest removed the extra craziness during and after the test run that I reported on pydev. I think making at least a tempory fix to whatever -m test runs should be a release blocker so only individual tests and not

[issue10834] Python 2.7 x86 IDLE fails to run in Windows 7

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changed title based on 'command line works fine'. You might try running test suite, 'python -m test.regrtest' from Command Window in python27 directory on both this and other system. (It takes about 20 min, so minimize and do somet

[issue10838] subprocess __all__ is incomplete

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: My understanding is much like Toshio's: ambiguous (typically, undocumented or omitted from __all__) non-underscored names should be resolved, with the three possible outcomes listed, on a case-by-case basis. -- nosy: +terry.

[issue10849] Backport test/__main__

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The possible downside, as with any new feature, is that code using the new feature will not run on on previous micro (x.y.z) releases. In this case, one can run the tests using the new feature. >>> from test import __main__ == CPython 3.2b2 (r32b2:8

[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Ingemar: one can easily test import statements without pyqt, let alone qt ;-) With 3.2b2 on our Win7, 64 bit machine, files with a Japanese name run but apparently cannot be imported. a.py: print('something') ^|.py: print('other')

[issue1372770] email.Header should preserve original FWS

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

[issue3080] Full unicode import system

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I edit a file with IDLE, save it, and successfully run it (perhaps to test it), then when I edit a second file that imports the first, I expect the import to work. It does not always (see #10828). Import is part of the core definition of the language

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