[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue on Linux. I tried system python 3.4.2 and the development version of Python 3.6. First I tried with no MongoDB server running. Then I tried with a MongoDB server running. I also ran the pymongo test suite on Windows 8.1 with

[issue25223] Statically or dynamically linked to the VC++runtime ? or how Python install fails on Vista despite the VC redist packages - api-ms-win-crt-runtime-l1-1-0.dll

2015-09-24 Thread acx01bc
acx01bc added the comment: On Vista32bits, the VC++2015 redist package does install msvcr140.dll but none of the api-ms-win-crt-***-l1-1-0.dll, thus (that's why I opened this discussion at first) it is impossible to make many of the Python releases working, at least on Vista 32bits. There are

[issue25211] Error message formatting errors in int object unit-test script

2015-09-24 Thread Berker Peksag
Berker Peksag added the comment: subTest-long.patch looks good to me. Thanks! -- stage: patch review -> commit review ___ Python tracker ___

[issue25226] "suffix" attribute not documented in logging.TimedRotatingFileHandler

2015-09-24 Thread NobilisVir
New submission from NobilisVir: The suffix attribute that controls the timestamp portion that gets appended to the file name is not documented (but it would be very useful to be). The documentation is here - https://docs.python.org/2/library/logging.handlers.html#timedrotatingfilehandler I

[issue21995] Idle: pseudofiles have no buffer attribute.

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this issue was derived from another were someone complained about something else being missing. I will just look into the other two and see if they are supposed to be there. -- ___ Python tracker

[issue25208] improvements to the asyncio documentation

2015-09-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks! -- nosy: +asvetlov resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue25208] improvements to the asyncio documentation

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3909d29d29fc by Andrew Svetlov in branch '3.4': Fix #25208: Improve "Develop with asyncio" doc page. https://hg.python.org/cpython/rev/3909d29d29fc -- nosy: +python-dev ___ Python tracker

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And this is the only case where type name followed with '()' is occurred in error message. The repr() shouldn't be used in error message because it can be too long (imagine 'x'*10**9 < None) and can raise an exception. IMHO more correct would be message

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Bernie Hackett wrote: "Feel free to close this won't fix, but given that this appears to be the second report of this issue for 3.5 (see issue22971) ..." It's not because you get the same error message that the root cause is the same. Martin Panter wrote: "I

[issue24894] iso-8859-11 missing from codecs table

2015-09-24 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks Prashant for the patch and Victor for taking care of it! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 2.7, Python 3.4 ___ Python tracker

[issue21995] Idle: pseudofiles have no buffer attribute.

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: https://docs.python.org/3/library/io.html#io.TextIOBase.buffer """buffer The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist in some implementations.""" It is common

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: +1 to remove parenthesis from type names in the error message. But from all types, not only NoneType. -- ___ Python tracker

[issue22032] Use __qualname__ together with __module__

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Barry, Robert: I'm sorry that the change broke tests, but tests should not rely on the exact representation. They can test type(obj).__name__ for example. Barry: "people should be aware that this can break doctests" Some years ago, I was a big fan of doctest.

[issue22032] Use __qualname__ together with __module__

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Oh by the way, this issue is closed, what do you expect Barry and Robert? If you consider that it's a bug, please open a new issue and describe what you want :-) -- ___ Python tracker

[issue24894] iso-8859-11 missing from codecs table

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa9e0dcbbcc2 by Victor Stinner in branch '3.4': Issue #24894: Document the codec iso8859_11 https://hg.python.org/cpython/rev/aa9e0dcbbcc2 New changeset 84a918335fe5 by Victor Stinner in branch '3.5': Merge 3.4 (codecs, issue #24894)

[issue24894] iso-8859-11 missing from codecs table

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: > That was mistake in previous patch,so here is new patch for the same. Don't be sorry, that's why we have reviews :-) +| iso8859_11 | iso-8856-11, iso-8859-11-2001, | Thai languages | +| | thai

[issue21995] Idle: pseudofiles have no buffer attribute.

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac6ade0c5927 by Terry Jan Reedy in branch '2.7': Issue 21995: Explain some differences between IDLE and console Python. https://hg.python.org/cpython/rev/ac6ade0c5927 New changeset ca6c9cc77c20 by Terry Jan Reedy in branch '3.4': Issue 21995:

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread Ezio Melotti
Ezio Melotti added the comment: This case is different from most of the others though, because while it talks about unorderable types, it provides an example showing two instances (hence the parentheses). In these NoneType is correct: >>> int(None) TypeError: int() argument must be a string

[issue22032] Use __qualname__ together with __module__

2015-09-24 Thread Robert Kuska
Robert Kuska added the comment: FYI This also broke nosetests tests which relies on exact output. https://github.com/nose-devs/nose/issues/928 -- nosy: +rkuska ___ Python tracker

[issue24894] iso-8859-11 missing from codecs table

2015-09-24 Thread Prashant Tyagi
Prashant Tyagi added the comment: Typo error is very silly,because i am new to this developement of python foundation .next time i will try my best. On Thu, Sep 24, 2015 at 12:37 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > > That was mistake in

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The json code was almost not changed, so it can be related to changes in import machinery or in ceval.c if they consume more stack than previous. Yet one suspect is Argument Clinic that adds additional wrappers. -- nosy: +serhiy.storchaka

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka added the comment: > The json code was almost not changed, so it can be related to changes in > import machinery or in ceval.c if they consume more stack than previous. > > Yet one suspect is Argument Clinic that adds additional wrappers. This

[issue25206] PEP 498: Minor mistakes/outdateness

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e32da8da58e by Eric V. Smith in branch 'default': Issue 25206: fix f-string exceptions to match the code. https://hg.python.org/peps/rev/7e32da8da58e -- ___ Python tracker

[issue25206] PEP 498: Minor mistakes/outdateness

2015-09-24 Thread Eric V. Smith
Changes by Eric V. Smith : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-24 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +patch Added file: http://bugs.python.org/file40562/encode_ucs1_surrogateescape.patch ___ Python tracker

[issue25223] Statically or dynamically linked to the VC++runtime ? or how Python install fails on Vista despite the VC redist packages - api-ms-win-crt-runtime-l1-1-0.dll

2015-09-24 Thread Steve Dower
Steve Dower added the comment: msvcr140.dll does not exist and was never released. I'm not sure what you've installed, but it seems to be the wrong thing. I'm familiar with the compiler options and we are using the correct ones. If you want to change them, you should build your own copy. To

[issue25209] Append space after completed keywords

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > “Else” doesn’t always use a colon. Consider “1 if x else 2”. Good catch Martin. Unfortunately the completer doesn't take context into account. "else" with a colon is a common case, but unwanted colon could be annoyed. I agree that it would be safe to not

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-24 Thread STINNER Victor
New submission from STINNER Victor: Attached patch is based on faster_surrogates_hadling.patch written by Serhiy Storchaka for the issue #24870. It optimizes str.encode('ascii', 'surrogateescape') and str.encode('ascii', 'latin1'). -- messages: 251516 nosy: haypo priority: normal

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2015-09-24 Thread Radek Novacek
Radek Novacek added the comment: I've ran the tests from first and second comment using python 3.5.0 and it seems it produces correct results: >>> import ast >>> tree = ast.parse("sin(0.5)") >>> first_stmt = tree.body[0] >>> call = first_stmt.value >>> print("col_offset of call expression:",

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa65c32d7134 by Victor Stinner in branch 'default': Issue #25227: Cleanup unicode_encode_ucs1() error handler https://hg.python.org/cpython/rev/fa65c32d7134 -- nosy: +python-dev ___ Python tracker

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread R. David Murray
R. David Murray added the comment: See issue 20077. IMO it should still say int < NoneType, to be consistent. I still don't see a reason to special case None here. -- ___ Python tracker

[issue24870] Optimize coding with surrogateescape and surrogatepass error handlers

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I worked on UTF-16 and UTF-32 encoders, but now I'm off my developing computer. I'll provide updated patch soon. I think that only "surrogateescape" and "surrogatepass" error handlers have need in optimization, because they are used to interpolate with

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2015-09-24 Thread R. David Murray
R. David Murray added the comment: Something I missed on the first review: why did you change "the same as" to "usually the same as"? When is it different? -- ___ Python tracker

[issue22032] Use __qualname__ together with __module__

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Ok, anyway, thanks for your feedback. -- ___ Python tracker ___ ___

[issue24870] Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers

2015-09-24 Thread STINNER Victor
Changes by STINNER Victor : -- title: Optimize coding with surrogateescape and surrogatepass error handlers -> Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers ___ Python tracker

[issue24870] Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Serhiy wrote: "All other error handlers lose information and can't be used per se for transcoding bytes as string or string as bytes." Well, it was very simple to implement replace and ignore in decoders. I believe that the error handlers are commonly used.

[issue25210] Fix do_richcompare() error message: remove parenthesis from type names

2015-09-24 Thread STINNER Victor
Changes by STINNER Victor : -- title: Special-case NoneType() in do_richcompare() -> Fix do_richcompare() error message: remove parenthesis from type names ___ Python tracker

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Result of a micro-benchmark with encode_ucs1_surrogateescape-2.patch. Common platform: Timer info: namespace(adjustable=False, implementation='clock_gettime(CLOCK_MONOTONIC)', monotonic=True, resolution=1e-09) Timer: time.perf_counter CPU model: Intel(R)

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: int < NoneType is not the same as int() < None. -- title: Fix do_richcompare() error message: remove parenthesis from type names -> Special-case NoneType() in do_richcompare() ___ Python tracker

[issue22032] Use __qualname__ together with __module__

2015-09-24 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm not expecting a change either, I was also just documenting observed breakages. Given that I've ported a *ton* of code to 3.5 and only seen a handful of failures related to this issue, I agree that it's better just to provide information and let packages

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread R. David Murray
R. David Murray added the comment: Serhiy: it's not the same, but the both are correct and parallel, and int < NoneType is *consistent* with the rest of the message, whereas having the parenthesis in there is not (since in that case you are referring to instances, not types). Changing the

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Updated test now with more unit tests. -- Added file: http://bugs.python.org/file40563/encode_ucs1_surrogateescape-2.patch ___ Python tracker

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread STINNER Victor
STINNER Victor added the comment: Stupid email interface, it restored the the previous title. I tried to change the title to: "Fix do_richcompare() error message: remove parenthesis from type names" -- ___ Python tracker

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It makes the error message just non-relevant (or misleading) to the error. It refers to int < NoneType, but actually the exception is raised when you compare an int instance with a NoneType instance, not two types theirself. Comparing *any two types* raises

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: Have attached help-indent-fix.patch. Basically the parser is very fragile when it comes to combining tags, so the handling of the 'span .pre' was stomping on the indent tag. Separated out handling of character level tags (e.g. italic) from block level tags

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread R. David Murray
R. David Murray added the comment: That's why I said that making it like the other binary op messages might be better. Currently the error message says that the error is that two types were compared ("unorderable types"), which as you point is not quite accurate. It is, however, fairly

[issue25225] Idle doc: redo Syntax Colors section

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: I'd suggest that there is no reason to include the list of what elements can be coloured, as it's there in the dialog for anyone who wants to muck with it. Just the first paragraph (two sentences) would be sufficient I think. Even dropping it from the document

[issue25223] Statically or dynamically linked to the VC++runtime ? or how Python install fails on Vista despite the VC redist packages - api-ms-win-crt-runtime-l1-1-0.dll

2015-09-24 Thread eryksun
eryksun added the comment: Try directly installing the Universal CRT update, [Windows6.0-KB2999226-x86.msu][1]. Run it with the /log option, e.g. Windows6.0-KB2999226-x86.msu /log:kb2999226.evtx You can view this log in the Windows event viewer, or convert it to text XML on the command

[issue18787] Misleading error from getspnam function of spwd module

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As far as this change breaks compatibility. please add a note in the "Porting to Python 3.6" section in What's New. -- ___ Python tracker

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: Here's a chunk of the call stack from the Visual Studio debugger using the debug build. Py_FatalError seems to be called multiple times: > ucrtbased.dll!72d27f30()Unknown [Frames below may be incorrect and/or missing, no symbols loaded for

[issue25154] Drop the pyvenv script

2015-09-24 Thread Remi Pointel
Remi Pointel added the comment: I would prefer to keep this script with the version referring to the version of python used (pyvenv-3.4, pyvenv-3.5, ...). -- nosy: +rpointel ___ Python tracker

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
Changes by Calvin Walton : Added file: http://bugs.python.org/file40569/distutils-compiler-name.patch ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2015-09-24 Thread Mark Lawrence
Mark Lawrence added the comment: I've got the latest output with all of the warnings but I'm not sure where I should attach it as #18295 and #18407 also apply. There are also multiple deprecation warnings but I'm sure they've been discussed before. Can somebody please advise, thanks.

[issue24820] IDLE themes for light on dark

2015-09-24 Thread Mark Roseman
Mark Roseman added the comment: I wrote a short utility that parses TextMate XML-based theme files (which are also used by Sublime) and converts them into something IDLE can use. It's not a perfect match, because IDLE's themes are more restrictive, but it's not bad. I'm attaching the output

[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

2015-09-24 Thread Mark Lawrence
Mark Lawrence added the comment: I've changed the version to 3.6 only as I just can't see this happening for any other. For all I know this might have been sorted in 3.5, I'll leave that decision to our Windows gurus. -- nosy: +BreamoreBoy versions: +Python 3.6 -Python 2.7, Python

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
Changes by Calvin Walton : -- keywords: +patch Added file: http://bugs.python.org/file40568/distutils-compiler-name.patch ___ Python tracker

[issue4918] Windows installer created with Python X.Y does not work with Python X.Y+1

2015-09-24 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as history with so many changes having been made to the installer for 3.5? -- nosy: +BreamoreBoy, paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.6 -Python 2.7, Python 3.4 ___

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8b3dc527a62c by Terry Jan Reedy in branch '2.7': Issue #25198: In Idle doc viewer, fix indent of fixed-pitch text https://hg.python.org/cpython/rev/8b3dc527a62c New changeset 1d0f4b94066b by Terry Jan Reedy in branch '3.4': Issue #25198: In Idle

[issue25230] Unix datagram sockets not supported

2015-09-24 Thread Guido van Rossum
Guido van Rossum added the comment: The simplest fix for this IMO is to add a sock parameter to create_datagram_endpoint(). I've filed an issue for this in the upstream asyncio project: https://github.com/python/asyncio/issues/266 -- ___ Python

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: On second thought, _Py_CheckRecursiveCall may be being called recursively through Py_FatalError. -- ___ Python tracker

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixed. I added a light background as with Sphinx html. I am delighted with how well this is working so far. I like the little always-there [TOC] button better than the browser sidebar. Besides making it easy to verify the look of doc changes, I think it

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2015-09-24 Thread Martin Panter
Martin Panter added the comment: The “s += t” operation assigns the result back to s. So it could involve an extra __setattr__()/__setitem__() call, or an exception trying to modify a tuple item, etc. The extend() and slice assignment versions don’t have this extra stage. --

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
New submission from Calvin Walton: On Exherbo, the main C/C++ compilers are named e.g. "x86_64-pc-linux-gnu-cc" and "x86_64-pc-linux-gnu-c++", and they are symlinks to either (usually) gcc or (rarely) clang. Since distutils (in unixccompiler.py) is checking for the substring "gcc" or "g++"

[issue8304] time.strftime() and Unicode characters on Windows

2015-09-24 Thread Mark Lawrence
Mark Lawrence added the comment: @Alexander what is you take on this please? I can confirm that it is still a problem on Windows in 3.5.0. -- nosy: +belopolsky ___ Python tracker

[issue25230] Unix datagram sockets not supported

2015-09-24 Thread rb
New submission from rb: AF_UNIX, SOCK_DGRAM sockets are valid, but asyncio doesn't appear to support them. I've tried combinations of create_connection, create_datagram_endpoint and create_unix_connection, creating a socket myself and passing in sock, and equivalent methods at the server

[issue8304] time.strftime() and Unicode characters on Windows

2015-09-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Mark, I am no expert on Windows. I believe Victor is most knowledgable in this area. -- ___ Python tracker ___

[issue25225] Idle doc: redo Syntax Colors section

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 36095aa6dd5e by Terry Jan Reedy in branch '2.7': Issue #25225: add revised .html. https://hg.python.org/cpython/rev/36095aa6dd5e New changeset a43d79b2434c by Terry Jan Reedy in branch '3.4': Issue #25225: add revised .html.

[issue25225] Idle doc: redo Syntax Colors section

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided to keep a further condensed subsection. I think there is a bit of extra info, and we may need or want to say more after other changes, such as for #7949, and the addition of a dark theme. The reference manual documents our current promises.

[issue22413] Bizarre StringIO(newline="\r\n") translation

2015-09-24 Thread Martin Panter
Martin Panter added the comment: According to Serhiy and Antoine both seem to agree this behaviour is a bug. The reason why newline="\r\n" and newline="\r" cause these funny translations is that __init__() internally passes the initial buffer

[issue24820] IDLE themes for light on dark

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I re-read #7949 and read the problem as mixing a hard-coded (by tk or Idle is not clear) background (white) with a system-default foreground, which is also white when the system background is black. Hence the screenshot in duplicate #16984. In any case,

[issue25228] Regression in cookie parsing with brackets and quotes

2015-09-24 Thread Tim Graham
New submission from Tim Graham: Regression in https://hg.python.org/cpython/rev/9e765e65e5cb (affects 2.7 and 3.2+), similar to issue22931 where inserting an invalid cookie value can cause the rest of the cookie to be ignored. A test is attached, and here's a quick demo: Old: >>> from

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: > File > "D:\buildarea\3.4.bolen-windows10\build\lib\test\test_json\test_recursion.py", > line 96 in test_endless_recursion That test (and reason for existence) is almost exactly the same as the PyMongo test that causes abort reported in this ticket. I'm not

[issue9566] Compilation warnings under x64 Windows

2015-09-24 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___

[issue25210] Special-case NoneType() in do_richcompare()

2015-09-24 Thread Ezio Melotti
Ezio Melotti added the comment: TypeError: '<' not supported between instances of 'int' and 'NoneType' -- ___ Python tracker ___

[issue25194] Register of Financial Interests for core contributors

2015-09-24 Thread Nick Coghlan
Nick Coghlan added the comment: I think the change in tone that MAL suggested will go a long way towards clarifying the opt-in nature of the idea - my initial draft took too much of its phrasing from contexts where disclosure is required rather than optional. --

[issue22413] Bizarre StringIO(newline="\r\n") translation

2015-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree with you, but I think that Antoine disagrees. My half-baked patch for issue20435 did a half of the work. It initialized the buffer directly in __init__. Here is the rebased version. There is a difference between C and Python implementations for

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: > Clone master from github: You'll also have to git checkout 4bbe2133a14df716b1dffe8ab7957ed67149b2cd to roll back the setrecursionlimit change I added to work around this issue. Using 100 seems to have permanently vanquished the abort, but there's no way

[issue18787] Misleading error from getspnam function of spwd module

2015-09-24 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch with a test. -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file40567/issue18787.diff ___ Python tracker

[issue25194] Register of Financial Interests for core contributors

2015-09-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please make it clear that any listings are optional. No core developer is required to write anything about themselves that they don't want to make public. -- ___ Python tracker

[issue4918] Windows installer created with Python X.Y does not work with Python X.Y+1

2015-09-24 Thread eryksun
eryksun added the comment: There haven't been any fundamental changes to bdist_wininst in years, and bdist_wheel has mostly replaced it nowadays. I'm fairly certain this issue was fixed by Mark Hammond's fix for issue 4566. Just to be certain, I updated the code to use print as a function

[issue25225] Idle doc: redo Syntax Colors section

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f6aa20c05b3 by Terry Jan Reedy in branch '2.7': Issue #25225: Condense and rewrite Idle doc section on text colors. https://hg.python.org/cpython/rev/2f6aa20c05b3 New changeset f5502ff7ae2d by Terry Jan Reedy in branch '3.4': Issue #25225:

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another minor glitch: in a browser, each press of up or down arrow, when there is no cursor (after clicking outside of an entry box like this one), moves text up or down. (3 lines for me in FF, even though wheel click moved more) In an editor, each press

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1eccae07977 by Terry Jan Reedy in branch '2.7': Issue #25198: Idle doc viewer now uses user width and height setting. https://hg.python.org/cpython/rev/c1eccae07977 New changeset 1c119da20663 by Terry Jan Reedy in branch '3.4': Issue #25198: Idle

[issue25198] Idle: improve idle.html help viewer.

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Had to adjust number of line by 3/4 because average 4/3 as high as in editor due to taller header lines and extra interline spacing. Net result for me, using 12 pitch in editor also, is box size within 5%. -- ___

[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

2015-09-24 Thread eryksun
eryksun added the comment: Creating a symbolic link can't be relied on for a per-user installation. Administrators have to elevate to create symbolic links, and most regular users also lack this privilege. -- ___ Python tracker

[issue7949] IDLE: problems with dark GTK or KDE color schemes

2015-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Problem as I understand it: various tk widgets and Idle popups and dialogs mix, for instance, a hard-coded background (white) with a sometimes incompatible (no or low contrast) system-default foreground, which is also white when the system background is

[issue18967] Find a less conflict prone approach to Misc/NEWS

2015-09-24 Thread Larry Hastings
Larry Hastings added the comment: > [...] commit messages are for other developers, which news entries are > ultimately for users. Some developers want (insist on) the freedom to > make the two different, with different details. That's easy enough to accommodate. I updated "MergeNEWS" with

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2015-09-24 Thread R. David Murray
R. David Murray added the comment: Ah, good point. I'd say something like "for the most part" then instead of "usually", since what you describe always happens. -- ___ Python tracker

[issue8304] time.strftime() and Unicode characters on Windows

2015-09-24 Thread Eric V. Smith
Eric V. Smith added the comment: The problem is definitely that: format = PyUnicode_EncodeLocale(format_arg, "surrogateescape"); fails on Windows. Windows is using strftime, not wcsftime. It's not using wcsftime because of issue 10653. If I force Windows to use wcsftime, this particular