[issue12207] Document ast.PyCF_ONLY_AST

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a bit tricky. It may be superseded, but it is still there, is possible used in older code, has not been deprecated as far as I know, and appears in dir(ast). The two current mentions of PyCF_ONLY_AST in ast doc are: "An abstract syntax tree c

[issue12211] math.copysign must keep object type.

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with all the math docs, 'x' refers to the value, not the object with the value. However, "Return abs(x) with the sign of y" is, to me, clearer and more accurate. Both doc string and doc chapter should get any modification. -

[issue12215] TextIOWrapper: issues with interlaced read-write

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: For c stdio files, intermixed reads and writes require a file positioning operation. This is a nuisance and source of program bugs. I do not see any such limitation documented for our io module. So for both reasons, it will be nice to not have the limitation

[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have no idea what 'XT' in the title means. The only possible relevant change I *know* of is that 3.2 on Windows comes with a later version tk/tcl 8.5 than 3.1. If you find the exact version numbers, you could query/report on the tk/tcl forum

[issue12220] minidom xmlns not handling spaces in xmlns attribute value field

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: SyntaxErrors refer to Python syntax errors; they are raised during parsing of *Python* code. An error in the value given to a Python sensibly raises a ValueError unless a module does something more specific. >From the xml.dom doc "DOM Level 2 recomm

[issue12224] problem with siginterrupt

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, I understand your response as saying that there is no bug, which would suggest closing this. Correct? If not, what is the requested action? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.

[issue12232] embedded python import cmath

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hanging is different from crashing. 2.6 and 3.1 (soon) are only open for security issues. Perhaps your system is missing something needed for the import. If you want this to stay open, retest with 2.7 or 3.2 and give much more information: your system/OS, C/C

[issue12237] Document how to open non-default webbrowser

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The intended method of using a non-default browser is well documented and the OP did exactly the right thing. However, even if Opera is present, the 'right thing' does not work because nothing but iexplorer gets registered (and that not completel

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

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upon further experimentation, I realize that I can only open in Firefox because I have it set as my default browser. It would otherwise be inaccessible because it is not in the _browser registry. It also appears that I cannot intentionally use Internet

[issue6490] os.popen documentation is probably wrong

2011-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: os.popen documentation in 2.6 is probably wrong -> os.popen documentation is probably wrong ___ Python tracker <http://bugs.python.org/iss

[issue12215] TextIOWrapper: issues with interlaced read-write

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps the stdio requirement was based on an underlying OS (*nix?) requirement, which io has to fulfill even if it does not use stdio. Stdio was, I presume, optimized for speed. In the relatively rare case of mixed read/write, it *should* put the burden on

[issue12211] math.copysign must keep object type.

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: > "Return a float with the magnitude of x but the sign of y." This appears to describe both current behavior and what I believe was the intention. I would go with a doc patch based on this. umedoblock, go ahead and make one. It occurred to me,

[issue12232] embedded python import cmath

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: {It you reply by mail, please snip off the message you are replying to.} >From what I have read, Windows is not a very pleasant environment for >extending and embedding. 1. It works best if both Python and the extender or embedder are compiled with th

[issue12211] math.copysign must keep object type.

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: umedoblock: David, Mark, and I agree that this should be a doc issue, and so I suggested a DOC patch. So I do not know why you are screwing around with the code, or what you are trying to do with it, or why you are messing around with the version headers or

[issue12211] Better document math.copysign behavior.

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Third party refers to things other than Pythonx.y code For instance, distutils2/distribute was for some years developed separately from the main codebase and was recently merged into the 3.3 repository. While separate, its issues were '3rd party'

[issue12134] json.dump much slower than dumps

2011-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 'will try to ' and the next 'will ' omitted, I agree that Antoine's version is better than mine. -- ___ Python tracker <http:

[issue12232] embedded python import cmath

2011-06-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue12232> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ion, as you perhaps noticed, posting a message 'subscribes' you (puts you on the nosy list). One can also add oneself as nosy with the little button under it without saying anything. This should be reopened because we do not change error classes

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

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: should *not* be reopened. Sorry for omission of 'not'. -- ___ Python tracker <http://bugs.python.org/issue11898> ___ ___

[issue12188] PEP 7 (or guide) add C style policies and explanation

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: We have a second item for the PEP (or Guide) section (but I think I prefer in the PEP so as to have one place to look for such things.). So I changed the title a bit. On 6/10/2011 3:49 PM, Guido van Rossum wrote: > On Wed, Jun 8, 2011 at 8:12 AM, Nick Cogh

[issue12260] Make install default to user site-packages

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In my Winxp machine, I can add and delete directories in python32/Lib/site-packages (all-users installation) from my user account. That is what I expect and want the default to be, not the Terry/whatever that I have never used (or the admin/whatever if I

[issue12261] urllib.parse docs still refer to urlparse

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this is ready to apply. -- nosy: +terry.reedy stage: -> commit review versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue12272] Python 2.7.1 version conflict for package "Tcl" on Windows 7

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, any ideas? Jack, I would wipe out the tcl directory and rerun the 2.7.1 installer, selecting just the tk/tcl/idle option. I have trouble believe that every 2.7.1 install on win7 is bad. -- nosy: +loewis, terry.reedy

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Either code or doc must change (with 'version changed' note). Doc: "The default is 1000. When set to 0 or less, all traceback information is suppressed and only the exception type and value are printed." Christian's patch: "v

[issue12299] Stop documenting functions added by site as builtins

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the 3.2.0 doc, quit and exit (which are unnecessary and nearly useless) are already in the site-variables section (where I think they should be), not in builtin funcs. Did someone move them since? If so, you should discuss rather than just revert. The

[issue12300] Document pydoc.help

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is already a link to the main entry, which is where I think it should be. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue12

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

2011-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Links are good ;-). -- nosy: +terry.reedy stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue12301> ___ _

[issue4841] io's close() not handling errors correctly

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

[issue3665] Support \u and \U escapes in regexes

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue3665> ___ ___ Python-bugs-list mailin

[issue5905] strptime fails in non-UTF locale

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still a problem in 3.2.1 or 3.3? -- nosy: +terry.reedy versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue5

[issue2175] Expat sax parser silently ignores the InputSource protocol

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue2175> ___ ___ Python-bugs-list mailing list Unsub

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue8746> ___ ___ Python-bugs-list mailing list Unsub

[issue2193] Cookie Colon Name Bug

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue2193> ___ ___ Python-bugs-list mailing list Unsub

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1692335> ___ ___ Python-bugs-list mailin

[issue10037] multiprocessing.pool processes started by worker handler stops working

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

[issue5219] IDLE/Tkinter: edit win stops updating when tooltip is active

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5219> ___ ___ Python-bugs-list mailin

[issue4653] Patch to fix typos for Py3K

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue4653> ___ ___ Python-bugs-list mailing list Unsub

[issue9246] os.getcwd() hardcodes max path len

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue9246> ___ ___ Python-bugs-list mailing list Unsub

[issue2716] Reimplement audioop because of copyright issues

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue2716> ___ _

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue7732> ___ ___ Python-bugs-list mailin

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue9405> ___ ___ Python-bugs-list mailin

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, would this go in a bugfix release or is it a new feature for 3.3 only? -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1

[issue1207466] installer ignores changed installation directory

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

[issue1469629] __dict__ = self in subclass of dict causes a memory leak?

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1469629> ___ ___ Python-bug

[issue2122] mmap.flush does not check for errors on windows

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue2122> ___ ___ Python-bugs-list mailing list Unsub

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this a security issue or just a regular bug? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue8

[issue1669539] Fix bug in os.path.join

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A bug for tracker purposes is a discrepancy between doc and code. That can be fixed in current versions. A design change is a feature request and can only go in future versions. A deprecation warning for one cycle is desirable when appropriate

[issue1599254] mailbox: other programs' messages can vanish without trace

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: D. Watson, could you remove obsolete patches and leave just the ones a patch reviewer should look at? -- nosy: +r.david.murray, terry.reedy -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker <h

[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: behavior -> security ___ Python tracker <http://bugs.python.org/issue8372> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1598083] Top-level exception handler writes to stdout unsafely

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue1598083> ___ ___ Python-bugs-list m

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue10340> ___ ___ Python-bugs-list mailing list Unsub

[issue6696] Profile objects should be documented

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6696> ___ ___ Python-bugs-list mailing list Unsub

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue4180> ___ ___ Python-bugs-list mailing list Unsub

[issue5945] PyMapping_Check returns 1 for lists

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue5945> ___ ___ Python-bugs-list mailing list Unsub

[issue3006] subprocess.Popen causes socket to remain open after close

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue3006> ___ ___ Python-bugs-list mailin

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6697> ___ ___ Python-bugs-list mailing list Unsub

[issue8743] set() operators don't work with collections.Set instances

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the code were acting exactly as documented, I would consider this a feature request. But "require that the parameter also be an instance of set()" (from original message) is too limited. >>> set() | frozenset() set() So 'set&#

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue8036> ___ ___ Python-bugs-list mailing list Unsub

[issue8847] crash appending list and namedtuple

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

[issue1429] FD leak in SocketServer

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1429> ___ ___ Python-bugs-list mailing list Unsub

[issue9614] _pickle is not entirely 64-bit safe

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

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand, since the present patch uses present opcode semantics, adding a rotate, it could go into 2.7 and 3.2. Correct? 3.3 could get an improved patch that instead changed opcodes to expect key and value in the other order. -- nosy

[issue1612012] builtin compile() doc needs PyCF_DONT_IMPLY_DEDENT

2011-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this something that would actually be useful to someone using compile()? See #12207 also -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1612

[issue1711800] SequenceMatcher bug with insert/delete block after "replace"

2011-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this issue should be closed and have set it to pending. The original report of a 'bug' and the two 'testcases' were and are invalid as they are based on an incorrect understanding of SequenceMatcher. It is not a diff program and

[issue12342] characters with ord above 65535 fail to display in IDLE

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: >ValueError: unsupported character (U+1): Tcl doesn't support characters >outside U+-U+ range Slightly shorter and without the double :s. ValueError: character U+1 is above the range (U+-U+) allowed by Tcl/Tk. I agree wi

[issue6584] gzip module has no custom exception

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your changes appear to address all three of Antoine's 'nits'. -- stage: patch review -> commit review ___ Python tracker <http://bugs

[issue12298] Sphinx glitch in library/functions

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that all table entries should link to the entry in the same file. dict() and set() also jump to CH. 4, in addition to memoryview and frozenset. Others all work properly. The entries for classes should generally have a link to their section in &#

[issue12315] Improve http.client.HTTPResponse.read documentation

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch does 3 things: 1. clarify that 'amt' in 'the next amt bytes' means 'amount'. I do not think this is necessary; 'the next blah bytes' is clear. Actually, 'amt' really means 'number', not &#

[issue12317] inspect.getabsfile() is not documented

2011-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : >>> help(inspect.getabsfile) could be copied getabsfile(object, _filename=None) Return an absolute path to the source or compiled file for an object. The idea is for each object to have a unique origin, so this routine normalizes t

[issue12321] documentation of ElementTree.find

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you requesting that the doc be changed or the code? >From the title, I would infer the doc (which is much easier ;-). If so, can you suggest an actual revised text? -- nosy: +terry.reedy stage: -> needs patch versions: +Pyth

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: WinXP, 3.2.0 >>> type(sys.stdin) >>> sys.stdin.readline() a 'a\n' -- nosy: +terry.reedy ___ Python tracker <ht

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: That, like Antoine, I also could not reproduce, even in 3.2.0, when running under IDLE. However, with regular command line Python: Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] >>> import sys >>> sys.stdin.readl

[issue3067] setlocale error message is confusing

2011-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: After more thought and investigation, I have changed my opinions on this issue. Allowing unicode string for locale in 2.7: Since the module predates unicode strings (it is in 1.5) and since the locale string is passed to a C function, 'string' in t

[issue3067] setlocale error message is confusing

2011-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, the issue for 3.x, which remains, is to improve the error message. I also suggested a doc change, though I would like Mark or Martin's comments before I would make it. >But I think that the commit is just useless because we will have to wa

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2011-06-21 Thread Terry J. Reedy
New submission from Terry J. Reedy : The basic problem: in 2.6, a namedtuple was introduced to difflib from collections import namedtuple as _namedtuple Match = _namedtuple('Match', 'a b size') and used for the return values of SeqeunceMatcher.get_longest_match and .get_m

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: After thinking about this awhile, I see the key sentence of David's reply as "The data type of the arguments to the method have no necessary relationship with the datatype of the object." While true in general, in it not true with respect

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg138829 ___ Python tracker <http://bugs.python.org/issue12387> ___ ___ Python-bugs-list m

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The message I deleted was a duplicate of the original). Verified with 3.2.0 on WinXP (Jacob, I/O issues, including keyboard, especially need system specified. What is yours? If Windows, this might be Windows-specific.) With CAPS LOCK on, Cntl-N, Cntl-O

[issue11812] transient socket failure to connect to 'localhost'

2011-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: With a bit of searching, HOST == support.HOST == 'localhost'. Looking at the traceback, it is socket that fails, not telnetlib or its test. Hence the clearer title. I am still curious what you propose: catch and skip or something else? For

[issue11812] transient socket failure to connect to 'localhost'

2011-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps Michael or Ezio have an idea of whether 'reason' or 'happenstance' is the answer to your questions. -- nosy: +ezio.melotti, michael.foord ___ Python tracker <http://bug

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

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Soren, this is an issue that claimed a bug, not a bug. The resolution is that the claim appears false because the problem arose from using unicode rather than bytes url. The error message may be confusing, but the error class cannot be changed. Senthil says

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

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: A crash is a segfault or equivalent. Python 2.6 only gets security fixes. PyAMF does not run on Python 3. Hence a problem with PyAMF is no evidence of a problem with 3.x. Separate tests/examples would be needed. Changes are not bugs unless they introduce a

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

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed type: crash -> behavior versions: -Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/i

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

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did things like "u'a'+'\xf0'" work in 2.6- (with implicit latin-1 decoding)? (I do not have 2.6 loaded.) The doc for seq+seq (concatenation) in the language reference section 5.6. Binary arithmetic operations says that both s

[issue6068] ctypes is not correctly handling bitfields backed by 64 bit integers on Windows

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vlad, thanks for delving into this. Your two header changes are contradictory. If this is a feature request, then it is 3.3 only. If this is a behavior (bug) issue, then 3.2 should be included ;-). 'higstar's second comment indicates 'feature

[issue6068] ctypes is not correctly handling bitfields backed by 64 bit integers on Windows

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue6068> ___ ___ Python-bugs-list mailing list Unsub

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume we are discussing Chapter 4. Execution model. I do not see any mention there of the difference between function definition and body execution time. The section of def statements (7.6) has this: "The function definition does not execute the fun

[issue12376] unittest.TextTestResult.__init__ breaks under complex __mro__

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running your code with 2.7.2 gives: Traceback (most recent call last): File "C:\Programs\Python27\misc\tem.py", line 41, in unittest.main(testRunner=runner) File "C:\Programs\Python27\lib\unittest\main.py", line 95, in __init

[issue12397] re match object methods have no docstrings

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, and ditto for 3.1. -- nosy: +terry.reedy versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue12

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issue12291> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7, bytes is an alias for str to aid porting to 3.x. >>> bytes is str True >>> type(bytes()) I suspect the doc uses 'bytes' rather than 'str' because it was backported from 3.x. Perhaps it should be changed but

[issue12296] Minor clarification in devguide

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The parenthetical comment is a complete sentence, and no longer trivial. I would separate it and write it more simply as "... their code. (This obviously does not apply to new classes, functions, or optional arguments.)" -- nosy: +t

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch to the multiprocessing code is trivial: +del cache[self._job] The difference in tests is +with test.support.operation_timeout(5): +p.join() versus +p.join() Victor, do you agree with the simpler method

[issue7365] grp and pwd should treat uid and gid as unsigned

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

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with adding '(absolute value)'. I think the following covers the NaN behavior. "NaN acts as a positive value that cannot be negated." This should be added to both doc and docstring. I do not think we generally specify the n

[issue5950] Make zipimport work with zipfile containing comments

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett, Nick, this could be considered a patch to the import machinery as the bugs shows with a import statement. In any case, no one is signed up for zipimport specifically. -- nosy: +brett.cannon, ncoghlan versions: +Python 3.3 -Python 3.2

[issue6721] Locks in python standard library should be sanitized on fork

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

[issue6717] Some problem with recursion handling

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6717> ___ ___ Python-bugs-list mailing list Unsub

[issue8743] set() operators don't work with collections.Set instances

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue8743> ___ ___ Python-bugs-list mailing list Unsub

[issue1669349] make install fails if no previous Python installation

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because none of the reports are for current versions (2.7,3.2) -- nosy: +terry.reedy resolution: -> out of date status: open -> closed versions: +Python 3.3 -Python 3.1 ___ Python tracker

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