[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread Alexander Heger
Alexander Heger added the comment: So, apparently, more than just one spot needs to be fixed. I also tried just modifying the Python.h after install, but that does not do the trick either. -- ___ Python tracker

[issue25159] Import time regression

2015-09-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: There are regressions in import time in 3.5 and 3.6. $ for i in `seq 5`; do ./python -I -m timeit -n1 -r1 "import enum"; done Python 3.4: 1 loops, best of 1: 3.45 msec per loop 1 loops, best of 1: 3.43 msec per loop 1 loops, best of 1: 3.55 msec per loop 1

[issue25147] Enum: remove dependency on OrderedDict

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But the comment is false. That change doesn't reduce startup cost. -- ___ Python tracker ___

[issue25147] Enum: remove dependency on OrderedDict

2015-09-18 Thread Stefan Behnel
Stefan Behnel added the comment: Let's say the change minimises the dependencies. That is a reasonable goal, too. -- ___ Python tracker ___

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[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

[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

[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

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

[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

[issue25111] Broken compatibility in FrameSummary equality

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed patch and added tests. -- Added file: http://bugs.python.org/file40500/traceback_FrameSummary_equality_2.patch ___ Python tracker

[issue25161] Missing periods at the end of sentences

2015-09-18 Thread TAKASE Arihiro
TAKASE Arihiro added the comment: Added patch for 2.7. -- Added file: http://bugs.python.org/file40499/periods-2.7.patch ___ Python tracker ___

[issue25162] Windows installation does not appear in list of installed applications

2015-09-18 Thread Christian Ullrich
New submission from Christian Ullrich: The new Windows installer always places the uninstallation registry key into HKCU of the executing user. This is correct for a per-user installation, but when run with InstallAllUsers=1, the key should go into HKLM instead. The "Programs and Features"

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: /home/alex/Python-3.5.0/Modules/_ctypes/_ctypes.c:2062:15: error: ‘_PyThreadState_Current’ undeclared (first use in this function) if (Py_EnterRecursiveCall("while processing _as_parameter_")) { ^ Ah yes, if you check the fix for C++

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: I created a venv with a Python patched with pyatomic-2.patch: I successfully installed yt. yt depends on numpy & Cython: good news, numpy & Cython were compiled correctly. These two libraries are well known users of the Python C API. It's not enough to check

[issue25163] Windows installer in AllUsers mode presents wrong installation path

2015-09-18 Thread Christian Ullrich
New submission from Christian Ullrich: When run with InstallAllUsers=1, the Windows installer displays (%LOCALAPPDATA%)\Programs\Python\Python35 as the installation target directory, but actually installs into the path for a system-wide installation, "%PROGRAMFILES%\Python 3.5". Ceterum

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, using TemporaryFile for testing write access is not good on Windows, because there is an issue with TemporaryFile that it repeats attempts to create a file in read-only directory. Updated patch used constant file name. -- Added file:

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03cd8340e0ce by Victor Stinner in branch '3.5': Issue #25160: Fix import_init() comments and messages https://hg.python.org/cpython/rev/03cd8340e0ce -- nosy: +python-dev ___ Python tracker

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2015-09-18 Thread STINNER Victor
New submission from STINNER Victor: The imp module is deprecated since Python 3.4. In Python 3.4, imp uses a PendingDeprecationWarning, and Python 3.5... hum, still a PendingDeprecationWarning. It was not supposed to become a real DeprecationWarning? Anyway, the imp module is still used in

[issue25161] Missing periods at the end of sentences

2015-09-18 Thread TAKASE Arihiro
New submission from TAKASE Arihiro: The attached patch adds some periods in docs. This applies to 3.x. -- assignee: docs@python components: Documentation files: periods.patch keywords: patch messages: 250951 nosy: artakase, docs@python priority: normal severity: normal status: open

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2015-09-18 Thread Berker Peksag
Berker Peksag added the comment: > Python/makeopcodetargets.py:9:import imp See issue 20021. -- components: +Library (Lib) nosy: +berker.peksag stage: -> needs patch type: -> enhancement versions: -Python 3.5 ___ Python tracker

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9fb4362fb9f by Serhiy Storchaka in branch '3.5': Issue #25108: Omitted internal frames in traceback functions print_stack(), https://hg.python.org/cpython/rev/c9fb4362fb9f New changeset 4e617566bcb6 by Serhiy Storchaka in branch 'default': Issue

[issue25164] Windows default installation path is inconsistent between per-user and system-wide installation

2015-09-18 Thread Christian Ullrich
New submission from Christian Ullrich: On Windows, a per-user installation uses %LOCALAPPDATA%\Programs\Python\Python35 as the default target directory. A system-wide (InstallAllUsers=1) installation, however, goes into "%PROGRAMFILES%\Python 3.5" instead. The two directory names should be

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

[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

[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

[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

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

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

[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

[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

[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

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

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

[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

[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

[issue25169] multiprocess documentation

2015-09-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___

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

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

[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

[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 Antoine Pitrou
Antoine Pitrou added the comment: Thank you Brett for committing this. -- ___ Python tracker ___ ___

[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

[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

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

[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

[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

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

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

[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

[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

[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

[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

[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

[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

[issue25166] Windows AllUsers installation places uninstaller in user profile

2015-09-18 Thread Christian Ullrich
New submission from Christian Ullrich: A system-wide installation on Windows (using InstallAllUsers=1) still places the uninstall executable into the profile (%LOCALAPPDATA%) of the installing user. If that user profile is deleted, the (system-wide) installation cannot be removed anymore.

[issue25155] datetime.datetime.now() raises

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Oh wow, I didn't expect such much headaches when I worked on unifiying the code to handle timestamps in the C part of CPython... > The bug was introduced while trying to support #22117: "Rewrite pytime.h to > work on nanoseconds" in reve93eeadef0c3: >

[issue25155] datetime.datetime.now() raises

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ca99a0a18e4 by Victor Stinner in branch '3.5': Issue #25155: Add _PyTime_AsTimevalTime_t() function https://hg.python.org/cpython/rev/4ca99a0a18e4 -- ___ Python tracker

[issue25155] datetime.datetime.now() raises

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5bfcccf229c4 by Victor Stinner in branch '3.5': Issue #25155: document the bugfix in Misc/NEWS https://hg.python.org/cpython/rev/5bfcccf229c4 -- ___ Python tracker

[issue25167] THE SCORCH TRIALS OF MAZE RUNNER DISFACTION LOGGIC

2015-09-18 Thread james
New submission from james: http://www.thebigidea.co.nz/profile/james/65456 http://www.cyclefish.com/hebucoho/ https://soundation.com/user/MazeRunnerTheScorchTrials https://issuu.com/mazerunnerthescorchtrials http://poputka.ua/user-profile-39591.aspx http://www.pikore.com/mazerunnerthescorch

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread Stefan Behnel
Stefan Behnel added the comment: Would there be a way to expose these internals rather than hiding them? -- nosy: +scoder ___ Python tracker ___

[issue25167] THE SCORCH TRIALS OF MAZE RUNNER DISFACTION LOGGIC

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: obvious spam -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2015-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2015-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: datetime.datetime.now() raises -> Windows: datetime.datetime.now() raises an OverflowError for date after year 2038 ___ Python tracker

[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1cc1f379b00 by Victor Stinner in branch '3.5': Issue #25155: Fix _PyTime_Divide() rounding https://hg.python.org/cpython/rev/f1cc1f379b00 -- ___ Python tracker

[issue25019] xmlparse_setattro() Type Confusion

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

[issue25155] datetime.datetime.now() raises

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 203134592edf by Victor Stinner in branch 'default': Issue #25155: Add _PyTime_AsTimevalTime_t() function https://hg.python.org/cpython/rev/203134592edf -- nosy: +python-dev ___ Python tracker

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: > Would there be a way to expose these internals rather than hiding them? Here is the issue is that pyatomic.h cannot be compiled on OpenMP. We had the same issue with C++. In fact, it doesn't make sense to compile pyatomic.h differently to access an atomic

[issue24965] Implement PEP 498: Literal String Formatting

2015-09-18 Thread Eric V. Smith
Eric V. Smith added the comment: Cleaned up the error handling in fstring_expression_compile so it's easier to verify and more robust in the face of future changes. Added a test for an un-doubled '}', which is an error in a top-level literal (and ends a nested expression). Modified existing

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread Stefan Behnel
Stefan Behnel added the comment: Understood and agreed. Second patch looks good to me. Cython calls PyThreadState_GET() in pretty much every helper function that deals with exceptions, but I doubt that the potential speed difference is going to be relevant in the real world. And we target

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

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: "The buildbot needs to upgrade its timezone files, they are quite out of date." For me the fix is quite simple: skip this specific test on old versions of Mac OS X. -- nosy: +haypo ___ 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

[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

[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

[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

[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

[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

[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

[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

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Ok, I fixed Python 3.4 and 3.5 too: fromtimestamp() and utcfromtimestamp() now uses also ROUND_HALF_EVEN rounding mode, as timedelta constructor. I explained in Misc/NEWS that the change was made to respect the property: (datetime(1970,1,1) +

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

2015-09-18 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > Since I am not wrapping the warning, the default stacklevel seems to work on > all versions. The purpose of stacklevel=2 here would be to make warning message indicate which file contains import of deprecated module. See below example,

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue25077] Compiler warnings: initialization from incompatible pointer type

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: "For ceval, it comes from pyatomic.h: see my atomic_pointer.patch attached to the issue #25077." Oops, it's the issue #22038. -- ___ Python tracker

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Tim Graham wrote: "It's fine with me." Oh, I see that your pull request was merged. I'm now closing the issue. Anyway, thanks for the bug report. It's always good to have feedback on behaviour changes, even when they are legit :-) -- resolution: ->

[issue25114] asynico: add ssl_object extra info

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Guido? Yury? Can you please review attached patch? It looks like a Python 3.5 regression. -- ___ Python tracker ___

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

2015-09-18 Thread STINNER Victor
New submission from STINNER Victor: It looks like the failure is random. It probably depends on the test order. http://buildbot.python.org/all/builders/s390x%20SLES%203.4/builds/45/steps/test/logs/stdio == ERROR: test_strptime

[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

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4fcb362f7c6 by Victor Stinner in branch '3.5': Issue #25150: Hide the private _Py_atomic_xxx symbols from the public https://hg.python.org/cpython/rev/d4fcb362f7c6 -- nosy: +python-dev ___ Python

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: I pushed my fix pyatomic-2.patch to Python 3.5 and 3.6. Thanks for the bug report Alexander Heger! -- ___ Python tracker

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

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: Nick, Antoine: do you agree to close this issue as WONTFIX for the reasons explained in msg250712? -- ___ Python tracker

[issue21874] test_strptime fails on rhel/centos/fedora systems

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: No feedback: I close the issue. I consider that the issue is gone. (I have no issue on my Fedora 22.) -- nosy: +haypo resolution: -> out of date status: open -> closed ___ Python tracker

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

2015-09-18 Thread Laura Creighton
Laura Creighton added the comment: The person with the problem has reported to webmaster than the first method in this list http://wind8apps.com/error-0x80240017-windows/ did not fix his problem. -- ___ Python tracker

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee1cf1b188d2 by Victor Stinner in branch '3.4': Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods https://hg.python.org/cpython/rev/ee1cf1b188d2 -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: test_eintr should now be fixed in Python 3.5 and 3.6: I skipped the test_open() and test_os_open() tests of test_eintr on FreeBSD. -- resolution: -> fixed status: open -> closed ___ Python tracker

  1   2   >