[issue25139] socketserver.ThreadingMixIn exception handler: Just a little refactoring

2015-09-18 Thread Martin Panter
Martin Panter added the comment: I suggest changing the “except” clause to “except BaseException”, which would make the intention clearer. As an alternative, see also my Issue 23430, were I proposed not catching exceptions like KeyboardInterrupt and SystemExit, by changing this to: try: s

[issue25159] Regression in time to import a module

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did not find any significant different between 3.4 and 3.5 on Windows running the following: import os, time from importlib import import_module files = os.listdir("C:/Programs/Python34/Lib") excludes = {'antigravity.py', 'compileall.py', 'crypt.py', 'pty.py

[issue25161] Missing periods at the end of sentences

2015-09-18 Thread Martin Panter
Changes by Martin Panter : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue25161] Missing periods at the end of sentences

2015-09-18 Thread Martin Panter
Martin Panter added the comment: All the changes in the non-2.7 patch look reasonable to me. I left two review comments suggesting a few extra minor edits. -- nosy: +martin.panter ___ Python tracker __

[issue21259] replace "except: pass" by "except Exception: pass"

2015-09-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I presume you do not mind if I reclose this. Thanks, please do reclose this. -- ___ Python tracker ___ ___

[issue17319] http.server.BaseHTTPRequestHandler send_response_only doesn't check the type and value of the code.

2015-09-18 Thread Martin Panter
Martin Panter added the comment: The proposed patch changes the code to 500 if the code is invalid (rather than raising an exception as I initially assumed). I would be inclined to leave send_response() without any extra error checking or handling, unless this is a common problem and there is

[issue17319] http.server.BaseHTTPRequestHandler send_response_only doesn't check the type and value of the code.

2015-09-18 Thread Martin Panter
Changes by Martin Panter : -- Removed message: http://bugs.python.org/msg227647 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17319] http.server.BaseHTTPRequestHandler send_response_only doesn't check the type and value of the code.

2015-09-18 Thread Martin Panter
Changes by Martin Panter : -- Removed message: http://bugs.python.org/msg227645 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue25112] Windows installer assigns non-existent icons to Python file types

2015-09-18 Thread Mark Mikofski
Mark Mikofski added the comment: +1 I just wasted at least an hour on this. :( should have checked bugs first. Google says nothing, so I thought I was going crazy. I saw that py.exe had only one icon and that Python.File had c:\windows\py.exe, 1 while Python.CompiledFile had C:\windows\py.exe,

[issue21259] replace "except: pass" by "except Exception: pass"

2015-09-18 Thread Martin Panter
Changes by Martin Panter : -- superseder: -> Fix bare excepts in various places in std lib ___ Python tracker ___ ___ Python-bugs-lis

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: General comments on 'master' versus 'parent': This seems to be a matter of confusion in tkinterland. When I have asked before about the difference, all I have gotten is that they are more or less the same. http://effbot.org/tkinterbook/entry.htm, for instance,

[issue25174] Backspace Escape Character at End of String

2015-09-18 Thread Martin Panter
Martin Panter added the comment: Python itself doesn’t treat backspace specially. What you are probably seeing is the terminal interpreting the backspace specially by moving the cursor left (without erasing anything). >>> s = "12345" + '\b' + '6' >>> s '12345\x086' >>> s[5] # ASCII code for b

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-18 Thread Nick Coghlan
Nick Coghlan added the comment: The consistency issue I was referring to related to the "timeout" argument - we currently have a patch applied to Fedora (and derivatives) that instead adds a "balanced=True" flag argument so you can pass "polling=False" to turn off the busy loop (at the risk of

[issue25174] Backspace Escape Character at End of String

2015-09-18 Thread Jared Bevis
New submission from Jared Bevis: I'm a new python learner but I noticed inconsistent behavior of the backspace character when used in strings. I'm running 2.7.10. Whenever the backspace character '\b' is at the very end of a string, nothing happens, but if it is in the middle of string it be

[issue25173] IDLE - several common dialogs don't have correct parent set

2015-09-18 Thread Mark Roseman
New submission from Mark Roseman: The confirmation, file, etc. common dialogs in tkinter accept both a 'master' and a 'parent' argument. Master is not required (it will use parent if not provided). Parent is used to associate the dialog with a given window. On Mac OS X, using parent further tu

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I get it now: the last line should be 'import idlelib.idlever' instead of the redundant line from idlever itself. Will change, and thanks for correcting this before I so the same in multiple other modules. -- ___ P

[issue25169] multiprocess documentation

2015-09-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue25161] Missing periods at the end of sentences

2015-09-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2015-09-18 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +John.Mark.Vandenberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25172] Unix-only crypt should not be present on Windows.

2015-09-18 Thread Terry J. Reedy
New submission from Terry J. Reedy: Except for crypt, all the modules labeled 'Unix' or 'Linux' on the module index https://docs.python.org/3/py-modindex.html are absent from /Lib on Windows. 'import xyz' fails with "ImportError: no module named 'zyz'". (I presume the same is true on unix fo

[issue25159] Regression in time to import a module

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Clarify title; regression is not in 'import time'. I am working on timing the import of Lib/*.py on windows. I already discovered that unix-only crypt is present on windows (but should not be). -- nosy: +terry.reedy title: Import time regression -> Re

[issue25158] Python 3.2.2 and 3.5.0 Do not seem compatible with OpenSSL 1.0.2d on Solaris 10

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you are concerned about security and compiling 3.2.2, I would expect you should use the latest release, 3.2.6, with several fixes including security fixes. There should be one more security release in early 2016. I believe 3.5.0 has 1.0.2c. I don't know ou

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Uploads are not limited to patches. Please attach such long text files instead of pasting. -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue25139] Just a little refactoring

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe this is equivalent. In general, bare excepts should be either made more specific or commented as intentional. Since derived classes can override finish_request, and fail any which way, the latter is probably appropriate here: # derived classes m

[issue25131] The AST for dict and set displays has the lineno of the first value

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: A fix should include a new ast test, such as self.assertEqual(parse("{\n1:2}").body[0].value.lineno, 1) I verified that the equivalent assert passes on 3.4.3, fails on 3.5.0. -- nosy: +terry.reedy stage: -> test needed ___

[issue25171] does not build on OpenBSD with no value defined for PY_GETENTROPY

2015-09-18 Thread Remi Pointel
New submission from Remi Pointel: Hi, I'm trying to build Python on OpenBSD-current, but it does not build because it seems that PY_GETENTROPY does not have a value. $ make ... gcc -pthread -c -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-protot

[issue21264] test_compileall fails to build in the installed location

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, I am nosying you because this issue proposes to modify two test functions you added to test_compileall. See my prior message. -- For me, the test failed at every first occurrence of 'PYTHONPATH=' in the 3 functions. With one occurrence removed, the next

[issue25133] Clarify that the constants in selectors are module-level

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f03c074b6242 by Brett Cannon in branch 'default': Merge for issue #25133 https://hg.python.org/cpython/rev/f03c074b6242 -- nosy: +python-dev ___ Python tracker ___

[issue25133] Clarify that the constants in selectors are module-level

2015-09-18 Thread Brett Cannon
Brett Cannon added the comment: Changeset 8054a9f788e7 has the 3.5 change. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-09-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Brett for committing this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-09-18 Thread Brett Cannon
Brett Cannon added the comment: Thanks to Alecsandru and Intel for the patches! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker __

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7fcff838d09e by Brett Cannon in branch '3.5': Issue #24915: Add Clang support to PGO builds and use the test suite https://hg.python.org/cpython/rev/7fcff838d09e New changeset 7749fc0a5ea6 by Brett Cannon in branch 'default': Merge for issue #24915

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f4e6c303531 by Brett Cannon in branch '2.7': Issue #24915: Make PGO builds support Clang and use the test suite for https://hg.python.org/cpython/rev/0f4e6c303531 New changeset f211c8f554f9 by Brett Cannon in branch '2.7': Give proper credit for is

[issue25159] Import time regression

2015-09-18 Thread Brett Cannon
Brett Cannon added the comment: It should also be mentioned that startup time from 3.4 to default has not been affected according to Intel's daily benchmark run which is usually the most obvious place you see import performance issues: normal_startup0.63661% 0.39540% 0.45

[issue21264] test_compileall fails to build in the installed location

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified failure on installed 3.4.3, Win 7, with 3 rather than 1 error (all similar). test_no_args_compiles_path (test.test_compileall.CommandLineTests) ... FAIL test_no_args_respects_force_flag (test.test_compileall.CommandLineTests) ... FAIL test_no_args_resp

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Windows 10 has Wordpad, I've never liked 'nice', as far as I'm concerned it's completely meaningless, and right now we've more important things to think about on Windows. Hence all in all to me this is a nothing issue. -- nosy: +BreamoreBoy __

[issue17773] test_pydoc fails with the installed testsuite (2.7)

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests all pass on win7 with installed 2.7.10 (and 3.4.3 and 3.5.0). Is there a current failure on something else? -- nosy: +terry.reedy type: -> behavior ___ Python tracker

[issue25170] 3.5.0 documentation archives missing

2015-09-18 Thread Larry Hastings
Larry Hastings added the comment: The official way to download the documentation is from this page: https://docs.python.org/3.5/download.html which links to the "archives" directory. When python.org changed to the new site, some things moved around. I guess this was one of those things. Any

[issue17758] test_site fails when the user does not have a home directory

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unfixed for 2 years. How about skipping the test if os.makedirs(site.USER_SITE) fails? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue17756] test_syntax_error fails when run in the installed location

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of any further issue in over a year, can this be closed? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue25109] test_code_module tests fail when run from the installed location

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is 3.5+ only as 2.7 does not have the module and 3.4 does not have the 2 test_xyz_tb functions that failed. This works OK on Win7. C:\Users\Terry>python -m test -v test_code_module == CPython 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 6

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: AFAIK, Wordpad is also always available (has been at least up to Win 7), and it works with \n file and font resizing is obvious, but it is paper-oriented and for me, defaults to 8-1/2 x 11 with 1-1/4 side margins, leaving 6", too small for 80 char lines. The

[issue25085] Windows x86-64 embeddable zip file contains test directorys

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: tkinter\test and idlelib\idle_test are others. I presume all these directories are installed in a normal install even when "[] include tests" is left unchecked. There is one non-unittest file in idle_help, htest.py, that I would not want omitted, as I believe

[issue25170] 3.5.0 documentation archives missing

2015-09-18 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: https://www.python.org/ftp/python/doc/ contains documentation for all previous versions since Python 1.1, so https://www.python.org/ftp/python/doc/${Version} can be considered official. https://docs.python.org/${Version}/archives URL schem

[issue25154] Drop the pyvenv script

2015-09-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I have a patch which will at least improve the error message when `python3 -m venv` fails because python3-venv isn't installed on Debian/Ubuntu. I will work with Doko on this. -- ___ Python tracker

[issue25083] Python can sometimes create incorrect .pyc files

2015-09-18 Thread Brett Cannon
Brett Cannon added the comment: I have not looked at your patch, tzickel, but I just wanted to let you know a lack of reply just means lack of time on the part of the core developers. We are all volunteers and essentially don't get paid to spend our time to work on Python. Add in the fact that

[issue25170] 3.5.0 documentation archives missing

2015-09-18 Thread Larry Hastings
Larry Hastings added the comment: They don't go there, they go in https://docs.python.org/3.5/archives/ Where is the documentation that this "https://www.python.org/ftp/python/doc/3.5.0/"; directory is an officially supported directory? -- ___ Pyth

[issue25170] 3.5.0 documentation archives missing

2015-09-18 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Documentation archives for final 3.5.0 release are missing in https://www.python.org/ftp/python/doc/3.5.0/ (Compare it with e.g. https://www.python.org/ftp/python/doc/3.4.0/ and https://www.python.org/ftp/python/doc/3.4.3/) -- a

[issue25021] product_setstate() Out-of-bounds Read

2015-09-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue1103213] Adding a recvexactly() to socket.socket: receive exactly n bytes

2015-09-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue24324] Remove -Wunreachable-code flag

2015-09-18 Thread Skip Montanaro
Skip Montanaro added the comment: This seems to work for me. Diff against default. I have no idea how old the autoconf setup is here at work. I imagine you'll want to only apply the configure.ac patch and regenerate configure. -- keywords: +patch Added file: http://bugs.python.org/file

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

2015-09-18 Thread Brendan Barnwell
Brendan Barnwell added the comment: This needs to be fixed. The documentation for the behavior of += on lists needs to be with the documentation on lists. The existing, vague documentation that += works in-place "when possible" is insufficient. A central feature of Python is that the behavi

[issue25145] urllib how-to should be updated to remove PyGoogle

2015-09-18 Thread Bar Harel
Bar Harel added the comment: Added a similar patch to 2.7 -- Added file: http://bugs.python.org/file40509/urllib_howto27.patch ___ Python tracker ___

[issue25145] urllib how-to should be updated to remove PyGoogle

2015-09-18 Thread Bar Harel
Bar Harel added the comment: A quick patch updating the mime and removing the mentioning of PyGoogle. We can add a different example in the future if we wish. -- keywords: +patch nosy: +bar.harel Added file: http://bugs.python.org/file40508/urllib_howto.patch __

[issue16322] time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding

2015-09-18 Thread Petr Prikryl
Petr Prikryl added the comment: I have just observed behaviour for the Czech locale. I tried to avoid collisions with stdout encoding, writing the strings into a file using UTF-8 encoding: tzname_bug.py -- #!python3 import time import sys with op

[issue25169] multiprocess documentation

2015-09-18 Thread Bar Harel
Bar Harel added the comment: Here's a quick minor patch to fix, works on a re-compiled doc. -- keywords: +patch nosy: +bar.harel Added file: http://bugs.python.org/file40506/multiprocessing_patch.patch ___ Python tracker

[issue25083] Python can sometimes create incorrect .pyc files

2015-09-18 Thread tzickel
tzickel added the comment: Not sure why nobody has responded yet, but I have gone up and made a patch for the problem for 2.7 HEAD. Would be great if someone with more understanding of python's source could say if this is the optimal place to do the ferror test. I am able to see that this patc

[issue22354] Idle: highlite tabs

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20580] IDLE should support platform-specific default config defaults

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue5594] IDLE startup configuration

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21973] Idle should not quit on corrupted user config files

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue24455] IDLE debugger causes crash if not quitted properly before next run

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14111] IDLE Debugger should handle interrupts

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue21588] Idle: make editor title bar user configurable

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25159] Import time regression

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not startup time, this is import time. All binaries were compiled in release mode. The regression is reproducible with other modules. $ for i in `seq 5`; do ./python -I -m timeit -n1 -r1 "import zipfile"; done Python 3.4: 1 loops, best of 1: 46 msec

[issue8231] Unable to run IDLE without write-access to home directory

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21647] Idle unittests: make gui, mock switching easier.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue21674] Idle: Add 'find all' in current file

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue20827] IDLE : Display function argument list in ClassBrowser

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20579] OS X IDLE keyboard accelerators fail or misbehave with Cocoa Tk

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue1080387] Making IDLE Themes and Keys Config more Robust

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue12913] Add a debugging howto

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue18318] Idle: stop depending on console output

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14440] Close background process if IDLE closes abnormally.

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue18064] IDLE: add current directory to open_module

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue11229] Make the Mac installer more like the Windows installer

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue15191] tkinter convenience dialogs don't use themed widgets

2015-09-18 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25159] Import time regression

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Even if Python 3.5 startup is slower than Python 3.4 startup, I'm more concerned by Python 3.6! What happens in Python 3.6? Are you sure that all binaries were compiled in release mode? Why do you import enum? The bare minimum is "pass" :-) -- __

[issue25159] Import time regression

2015-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue25159] Import time regression

2015-09-18 Thread Brett Cannon
Brett Cannon added the comment: I don't know how much of this is directly importlib's fault, at least in the 3.5 -> 3.6 case, as very little has changed in the bootstrap code since 3.6 started: https://hg.python.org/cpython/log/default/Lib/importlib/_bootstrap.py and https://hg.python.org/cpy

[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm fine with both variants: (LONG_MAX >> PyLong_SHIFT) >> PyLong_SHIFT and SIZEOF_LONG*CHAR_BIT-1 >= 2*PyLong_SHIFT (the latter can be simplified to 8*SIZEOF_LONG > 2*PyLong_SHIFT). A comment on the next line explains the condition, it can be extended if ne

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2015-09-18 Thread Ethan Furman
Ethan Furman added the comment: Thanks for checking that out, Erik. I was hoping it was a testing issue, but I ran out of time to verify. -- ___ Python tracker ___

[issue25168] test_datetime.test_strptime() random failures on "s390x SLES" buildbots

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps related issues: issue6641, issue13309, issue22377, issue22426. -- ___ Python tracker ___ _

[issue24324] Remove -Wunreachable-code flag

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Can you please propose a patch? -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25169] multiprocess documentation

2015-09-18 Thread John Taylor
John Taylor added the comment: To follow up on my previous message, I looked at the documentation for os.getppid(). It states: Changed in version 3.2: Added support for Windows. -- ___ Python tracker ___

[issue25169] multiprocess documentation

2015-09-18 Thread John Taylor
New submission from John Taylor: In the Windows Help File for Python 3.5: 17.2 multiprocessing 17.2.1.1 The Process class 2nd code example: "To show the individual process IDs involved, here is an expanded example" def info(title): print(title) print('module name:', __name__) if ha

[issue24324] Remove -Wunreachable-code flag

2015-09-18 Thread Erik Bray
Erik Bray added the comment: This would definitely be nice to fix. I panicked a bit because of this when I compiled my extension modules against Python 3.5 for the first time. -- nosy: +erik.bray ___ Python tracker

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue24836] Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9fb47dcd02fd by Victor Stinner in branch '3.4': Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow https://hg.python.org/cpython/rev/9fb47dcd02fd -- nosy: +python-dev ___ Python

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2015-09-18 Thread Erik Bray
Erik Bray added the comment: Attached an additional patch to test_property_decorator_doc_writable so that it can pass on repeated runs. -- Added file: http://bugs.python.org/file40504/property-doc-test2.patch ___ Python tracker

[issue24836] Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5

2015-09-18 Thread R. David Murray
R. David Murray added the comment: That would be fine with me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue25003] os.urandom() should call getrandom(2) not getentropy(2) on Solaris 11.3 and newer

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: "I have tested your patch with 3.5, and it works fine, although I did have to make a minor change to get test_os to pass. In test_os.py you had: (...)" Oh right, I fixed test_os too. -- ___ Python tracker

[issue25003] os.urandom() should call getrandom(2) not getentropy(2) on Solaris 11.3 and newer

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 221e09b89186 by Victor Stinner in branch 'default': Issue #25003: Skip test_os.URandomFDTests on Solaris 11.3 and newer https://hg.python.org/cpython/rev/221e09b89186 -- ___ Python tracker

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2015-09-18 Thread Erik Bray
Erik Bray added the comment: Actually, of course that test would fail when run repeatedly--it sets the property docstring from 'Eggs' to 'Spam' on the first run, but then doesn't set it back to its original value. Since the PropertyWritableDocs class used in that test is module-level it doesn

[issue25003] os.urandom() should call getrandom(2) not getentropy(2) on Solaris 11.3 and newer

2015-09-18 Thread John Beck
John Beck added the comment: I have tested your patch with 3.5, and it works fine, although I did have to make a minor change to get test_os to pass. In test_os.py you had: ... USE_GETENTROPY = ((sysconfig.get_config_var('HAVE_GETENTROPY') == 1) and not sys.platform.startswit

  1   2   >