[issue25136] Python doesn't find Xcode 7 stub libraries

2015-09-15 Thread Tim Smith
Changes by Tim Smith : Added file: http://bugs.python.org/file40479/xcode-stubs-2.7.patch ___ Python tracker ___

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your comments Martin. I need a time to think over them and provide alternative solutions that less depend on garbage collecting. May be Maciej can answer questions about causes of some PyPy changes. --

[issue25135] Deques to adopt the standard clearing procedure for mutable objects

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file40477/deque_nonreentrant_clear.diff ___ Python tracker

[issue25135] Deques to adopt the standard clearing procedure for mutable objects

2015-09-15 Thread Raymond Hettinger
New submission from Raymond Hettinger: The clear method for deques is possibly reentrant. Use the safer technique used in listobject.c, setobject.c, and dictobject.c. -- assignee: rhettinger components: Extension Modules messages: 250811 nosy: rhettinger priority: normal severity:

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

2015-09-15 Thread Tim Graham
Changes by Tim Graham : -- nosy: +Tim.Graham ___ Python tracker ___ ___

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

2015-09-15 Thread Markus Holtermann
New submission from Markus Holtermann: Since #7830 nested partials are flattened. This is a behavioral change that causes a test failure in Django because we use nested partials to resolve relationships between models: https://github.com/django/django/pull/4423#issuecomment-138996095 In my

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Tim Peters
Tim Peters added the comment: BTW, I find this very hard to understand: "it’s possible for x//y to be one larger than" ... This footnote was written long before "//" was defined for floats. IIRC, the original version must have said something like: "it's possible for floor(x/y) to be one

[issue25080] The example-code for making XML-RPC requests through proxy, fail!

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: The example-code for making XLM-RPC requests through proxy, fail! -> The example-code for making XML-RPC requests through proxy, fail! ___ Python tracker

[issue25136] Python doesn't find Xcode 7 stub libraries

2015-09-15 Thread Tim Smith
New submission from Tim Smith: In Xcode 7, Apple is replacing many of the .dylibs in SDKROOT with textual stubs. [1] These files exist on disk with filenames like: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.tbd They are

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

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +ncoghlan, pitrou ___ Python tracker ___

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Martin Panter
Martin Panter added the comment: Left some comments. There are a few test cases that I suspect are relying on side effects of garbage collection to perform some other test, and it would be better to rework the test. In the other cases, I agree that actual garbage collection behaviour is being

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

2015-09-15 Thread Simon Charette
Changes by Simon Charette : -- nosy: +charettes ___ Python tracker ___ ___

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5388fa98f7a3 by Victor Stinner in branch 'default': Issue #25122: optimize test_eintr https://hg.python.org/cpython/rev/5388fa98f7a3 -- ___ Python tracker

[issue25119] Windows installer fails to install VCRUNTIME140.DLL

2015-09-15 Thread Marius Gedminas
New submission from Marius Gedminas: 1. Install Python 3.5 using the official Windows installer 2. Get a shell 3. python -m ensurepip (because the installer didn't install pip for me -- is that another bug? I thought the installer was supposed to run ensurepip for me? Is it fallout from bug

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-09-15 Thread Vinay Sajip
Vinay Sajip added the comment: I don't believe this is a pyvenv bug: pyvenv invokes bin/python -Im ensurepip --upgrade --default-pip -v which then terminates with Requirement already up-to-date: pip in /usr/lib/python3.4/site-packages as you can see from the console output. So the problem

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

2015-09-15 Thread Flavio Grossi
Flavio Grossi added the comment: First of all, thank you for your support. I fully understand what you are saying, however, being stuck to python 2.7 because of libraries still not ported to 3, this is a serious problem to us, and, while i agree this would introduce a new "feature", it also

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... same on repeat -- ___ Python tracker ___

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

2015-09-15 Thread matteo
Changes by matteo : -- nosy: +matteo ___ Python tracker ___ ___ Python-bugs-list

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: NM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg250731 ___ Python tracker ___

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: This is what PEP 101 has to say: ___ If this is a final release (even a maintenance release), also unpack the HTML docs to /srv/docs.python.org/release/X.Y.Z on docs.iad1.psf.io. Make sure the files are in group "docs". If it is a

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Testing this on a host with a fixed frequency and mostx background tasks disabled I cannot reproduce the speedups you list. I see no significant change on most of them and a 6% slowdown on json_load and a 1-4% slowdown on regex_v8 (not sure if those are in

[issue25118] OSError in os.waitpid

2015-09-15 Thread eryksun
eryksun added the comment: This bug is due to issue 23285, which improved support for EINTR handling. os_waitpid_impl was changed to use the following do-while loop: do { Py_BEGIN_ALLOW_THREADS res = _cwait(, pid, options); Py_END_ALLOW_THREADS } while (res < 0

[issue25113] documentation version switcher is broken

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: When I built the documentation, I used % release.py --export 3.5.0 (release.py coming from hg.python.org/release, a collection of release manager tools.) I then installed this build as the 3.5.0 documentation, specifically the build from

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

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: 2015-09-15 9:17 GMT+02:00 Flavio Grossi : > however, being stuck to python 2.7 because of libraries still not ported to > 3, this is a serious problem to us, Are there private libraries or public libraries? If there are public, what are

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

2015-09-15 Thread Claudiu Popa
New submission from Claudiu Popa: Hi, In Python 3.5, the lineno for dict and set display ASTs is the line number of the first value, not the line number of the display character, as it was until 3.5. Here's an example: from ast import parse module = parse('''{ '1':'2', }

[issue25132] unable to install mongo-python-driver-3.0.3 driver

2015-09-15 Thread siva
New submission from siva: Hi There, I am using Python 2.7.10. When I am trying to install mongo-python-driver-3.0.3 driver it's showing an error. Here, I am attaching the screenshot taken from my machine. Thanks in advance for you quick help. [root@localhost mongo-python-driver-3.0.3]#

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

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Using hg bisect, I found the revision a65f685ba8c0: changeset: 95886:a65f685ba8c0 user:Benjamin Peterson date:Tue May 05 20:16:41

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

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +neil.g ___ Python tracker ___ ___

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: Looks happy now: http://buildbot.python.org/all/builders/Docs%203.x/builds/104 Thanks for the report, Victor. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed ___ Python

[issue25127] typo in concurrent.futures.Executor.shutdown() example

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks, Jakub. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

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

2015-09-15 Thread Brett Cannon
New submission from Brett Cannon: If you read the docs for the selectors module it isn't obvious that the constants EVENT_WRITE and EVENT_READ are module-level and not on the various classes since they are in the Classes section of the doc. Shouldn't require any more than adding the word

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread R. David Murray
R. David Murray added the comment: Vinay has closed other issues reporting this two-open-files problem in the past (which was why i recommended you read through some of them :). Windows causes problems when there are two open file handles and a rename is attempted, so no, that is not a

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread Grant Bremer
Grant Bremer added the comment: I had thought that I had found documentation that the max depth is 100 and anything higher is ignored -- and as I read that back to me, I believe I read an example passage and interpreted it incorrectly. I'll remove that. We primarily use Python 2.7, so I

[issue25127] typo in concurrent.futures.Executor.shutdown() example

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f94e695f56b by Berker Peksag in branch '3.4': Issue #25127: Fix typo in concurrent.futures.rst https://hg.python.org/cpython/rev/8f94e695f56b New changeset afe82e6f00df by Berker Peksag in branch '3.5': Issue #25127: Fix typo in

[issue25113] documentation version switcher is broken

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: > tl;dr: Hopefully it'll silently fix itself sometime today. Yes, it's working now. Thanks for the explanation. -- resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior ___

[issue25130] Make tests more PyPy compatible

2015-09-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: PyPy includes modified Python 2.7 tests for testing compatibility. Some of changes skips tests for features that are not implemented in PyPy or are CPython specific, some reflects differences between error types or messages in CPython and PyPy, some are

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-09-15 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, Here's the results after the edit to the ctypes test. I also re-compiled gdb with python support, which is why this took so long (gdb) file ./python Load new symbol table from "./python"? (y or n) y Reading symbols from ./python...done. Traceback (most

[issue25132] unable to install mongo-python-driver-3.0.3 driver

2015-09-15 Thread R. David Murray
R. David Murray added the comment: This tracker is for bugs in python itself. You should report this to the mongo-python-driver project. (If they find there really is a problem in python, which doesn't look likely from your traceback, a new issue with specifics can be opened.) --

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- title: Python install on windows XP -> No option displayed in the Python install on windows XP ___ Python tracker

[issue25119] Windows installer fails to install VCRUNTIME140.DLL

2015-09-15 Thread eryksun
eryksun added the comment: virtualenv fails to copy vcruntime140.dll. Use the standard library's venv module instead. -- nosy: +eryksun resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

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

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: Is this a change (I hesitate to use the word "regression") as of Python 3.5.0? -- nosy: +larry ___ Python tracker ___

[issue25121] python logger can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
New submission from Alexander Belchenko: We're using standard logging library for logs. On machine of my colleague there is constantly traceback like this: [11:21:29] PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:

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

2015-09-15 Thread Flavio Grossi
Flavio Grossi added the comment: >> however, being stuck to python 2.7 because of libraries > Are there private libraries or public libraries? It is a mix of public and internal libraries with the main public blockers being twisted and apache thrift (and other libs which have py3 alternatives

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue25116] It failed to install Py3.5 on win2008R2

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +steve.dower ___ Python tracker ___ ___

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Djoudi Benarfa added the comment: Thanks for your response, I didn't know it. +1 eryksun, this should be mentioned in python website. -- ___ Python tracker

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Where does it hang? For example, try to run the test using: python.exe -m test -v --timeout=10 test_httpservers Can it be a firewall or antivirus issue? Try to add some print() in TestServerThread.run() to check if the HTTP server is running or not.

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: > We don't check errno on any other platform. Oh ok. The code becomes more and more verbose because of Windows :-( -- ___ Python tracker

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

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: > It would be nice to install the standard library (and test suite) with CRLF > line endings, to allow for reading/editing with Notepad. Oh maybe Windows can realized in 2015 that other operating systems use different line ending and enhance notepad to be

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: That's an interesting thought, eryksun. I'll pass it along to the python.org web developers. Djoudi, it is mentioned on the Python web site, in the What's New In Python 3.5 document:

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... Timeout (0:00:10)! Thread 0x1654 (most recent call first): File "C:\Programs\Python35\lib\socket.py", line 571 in readinto File "C:\Programs\Python35\lib\http\server.py", line 383 in

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread STINNER Victor
New submission from STINNER Victor: I'm unable to reproduce the hang. It's probably a race condition since sometimes the test pass. It may depend on the system load, the number of CPU cores, and other factors. I tried to use faulthandler.dump_traceback_later() in the changeset ebccac60b9e7,

[issue25120] Python want

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- components: Installation files: py-install-xp.bmp nosy: djoudi, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python want type: behavior versions: Python 3.5 Added file:

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Djoudi Benarfa added the comment: I got it, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25121] python logger can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: PermissionError mentions file name "C:\\Users\\Andrew\\Desktop\\server\\logs\\2015-0 9-09_10-44-03\\2015-09-09_10-44-04-middleman-684.log.1" - but this file does not exist in log directory. There is only "C:\\Users\\Andrew\\Desktop\\server\\logs\\2015-0

[issue25120] Python want

2015-09-15 Thread Djoudi Benarfa
New submission from Djoudi Benarfa: The Python installation on Windows XP has a bizarre behavior. No option is displayed in the first window of the installer (See attached screen capture). but when I click blindly in the empty space, the installer continue to the next window. --

[issue25120] Python install on windows XP

2015-09-15 Thread Djoudi Benarfa
Changes by Djoudi Benarfa : -- title: Python want -> Python install on windows XP ___ Python tracker ___

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread eryksun
eryksun added the comment: Maybe the download page should direct XP users to install 3.4.x. -- nosy: +eryksun ___ Python tracker ___

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: +if (depth < 0 || depth > 100) { Why 100 and not 10 or 1000? SSL_CTX_set_verify_depth() is unable to check the depth? The patch lacks unit tests and documentation. The patch is for Python 2.7, it would be better to write a patch for the default branch

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

2015-09-15 Thread Nick Coghlan
Nick Coghlan added the comment: For the sake of folks writing single-source code, and needing to support Python 2.7 for at least as long as we're supporting it upstream, I believe it would be beneficial to have consistency here. For those that didn't follow the Fedora/RHEL issue chain, the

[issue25118] OSError in os.waitpid

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a80c687c28d by Victor Stinner in branch '3.5': Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows. https://hg.python.org/cpython/rev/9a80c687c28d -- nosy: +python-dev ___ Python

[issue25120] No option displayed in the Python install on windows XP

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: Python 3.5 is not supported on Windows XP. The Python core dev team's policy is, a major Python version (e.g. 3.4, 3.5) only supports the Windows versions that are currently supported by Microsoft at the time of the initial release (e.g. 3.4.0 final, 3.5.0

[issue25118] OSError in os.waitpid() on Windows [3.5.0 regression]

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed title: OSError in os.waitpid -> OSError in os.waitpid() on Windows [3.5.0 regression] versions: +Python 3.6 ___ Python tracker

[issue25118] OSError in os.waitpid

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Oops :-/ Yet another Python 3.5.0 regression, it's now fixed. os.waitpid() was not tested at all on Windows. os.waitpid() is not the best option to wait for a subprocess completion. By the way, you should use the subprocess module which is more portable, is

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: Based on my last assumption I'm able to reproduce this issue with simple test attached. If I comment out the line setup_logger(loggerB) The everything works OK. Once this line in - it's traceback. I guess it's fair to say the bug in my code and one

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-15 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: +Python 3.6 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 953a14984aec by Berker Peksag in branch '3.5': Issue #25105: Update susp-ignored.csv to avoid false positives https://hg.python.org/cpython/rev/953a14984aec New changeset efdbe17a9208 by Berker Peksag in branch 'default': Issue #25105: Update

[issue25128] https://docs.python.org/3/download.html incorrect links to files (cannot download)

2015-09-15 Thread yavvsy
New submission from yavvsy: When clicking on a download link in: https://docs.python.org/3/download.html The links point to files that don't exist (older document version) For example: https://docs.python.org/ftp/python/doc/3.5.0/python-3.5.0-docs-pdf-letter.zip should be instead:

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

2015-09-15 Thread Zachary Ware
Zachary Ware added the comment: Victor: that would be ideal, but hoping for that seems an exercise in futility :) Larry: It seems to be; the test case that brought it my attention (Lib\test\test_tcl.py) has CRLF in my 3.4.3 install and LF in 3.5.0. --

[issue25117] Windows installer: precompiling stdlib fails with missing DLL errors

2015-09-15 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue25074] Bind logger and waninigs modules for asyncio __del__ methods

2015-09-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: > You should try to implement something in aiohttp or even in the application > to cleanup objects at exit. For example, it's probably wrong if you still > have tasks when the event loop is closed. Especially if tasks are still > pending. The problem is for

[issue25118] OSError in os.waitpid() on Windows [3.5.0 regression]

2015-09-15 Thread Rocco Matano
Rocco Matano added the comment: I know that using os.spawn and and os.waitpid this way is not the best option, but a 3rd party tool i am using (scons) is doing it that way. So no scons with Python 3.5.0. (I am also aware that scons does not yet support Python 3.x officially.) --

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

2015-09-15 Thread Thijs van Dien
Thijs van Dien added the comment: Thanks for the update. I'm not sure why the proper assignment of icons now depends on the installation of the Python launcher (py.exe). The icons are installed in the DLLs directory just like before. Perhaps I'm not familiar enough with the purpose of the

[issue25123] Logging Documentation - dictConfig disable_existing_loggers

2015-09-15 Thread Robin
New submission from Robin: logging.config.dictConfig appears to share the same parameter as logging.config.fileConfig - disable_existing_loggers. This parameter is documented for fileConfig but not dictConfig. Suggest update to dictConfig documentation section. -- assignee:

[issue25124] No single .msi available for 3.5 release

2015-09-15 Thread Christian Ullrich
New submission from Christian Ullrich: The item "A new installer for Windows has replaced the old MSI" appears on the "What's new" page as an "improvement". It is not. I disagree strongly with the decision to abandon MSI packages for Windows distribution in 3.5. This decision should be

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-15 Thread Thijs van Dien
New submission from Thijs van Dien: Right clicking a Python file shows "Edit with IDLE" in the context menu, then offering a next menu where one can choose which particular version of IDLE should be used. This works fine. Whenever a shortcut is created to a Python file, the same context menu

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

2015-09-15 Thread Larry Hastings
Larry Hastings added the comment: Well, even if the Windows build was on fire and children were dying, we couldn't do anything about it until next week--Steve's on vacation. I expect he'll weigh in on this when he gets back. -- ___ Python tracker

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Antoine Pitrou
New submission from Antoine Pitrou: >>> (78*6e-8) / 6e-8 78.0 >>> (78*6e-8) // 6e-8 77.0 Note this doesn't make divmod() wrong: >>> q, r = divmod(78*6e-8, 6e-8) >>> q, r (77.0, 5.965e-08) >>> r < 6e-8 True >>> q * 6e-8 + r == 78*6e-8 True But, still, it is somewhat of an oddity to

[issue25128] https://docs.python.org/3/download.html incorrect links to files (cannot download)

2015-09-15 Thread Berker Peksag
Berker Peksag added the comment: The correct link for python-3.5.0-docs-pdf-letter.zip should be https://docs.python.org/3/archives/python-3.5.0-docs-pdf-letter.zip It was a cache issue and should be resolved now. I can confirm that all links at https://docs.python.org/3/download.html are

[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

2015-09-15 Thread Nikita Klimov
Nikita Klimov added the comment: Patch in attach. Could anybody do review? -- keywords: +patch Added file: http://bugs.python.org/file40476/pathlib-os-correlation-doc.patch ___ Python tracker

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2015-09-15 Thread Nikita Klimov
Nikita Klimov added the comment: I'm interesting to research this. I can show results by 23 September, I think. -- nosy: +klimov versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: IEEE 754 uses the ROUND_HALF_EVEN rounding mode by default: https://en.wikipedia.org/wiki/Rounding#Round_half_to_even That's why round() uses the same rounding mode. I discovered recently while working on the datetime module :-) (issue #23517) --

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hum, I see. What is the rounding mode used by true division, by the way? -- ___ Python tracker ___

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Tim Peters
Tim Peters added the comment: Stare at footnote 2 for the Reference Manual's "Binary arithmetic operations" section: """ [2] If x is very close to an exact integer multiple of y, it’s possible for x//y to be one larger than (x-x%y)//y due to rounding. In such cases, Python returns the latter

[issue25129] suboptimal floating-point floor division

2015-09-15 Thread Tim Peters
Tim Peters added the comment: > What is the rounding mode used by true division, For binary floats? It inherits whatever the platform C's x/y double division uses. Should be nearest/even on "almost all" platforms now, unless the user fiddles with their FPU's rounding flags. --

[issue25080] The example-code for making XLM-RPC requests through proxy, fail!

2015-09-15 Thread Berker Peksag
Changes by Berker Peksag : -- components: -Demos and Tools stage: -> needs patch type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
Markus Unterwaditzer added the comment: It should be properly noted that the API isn't going to be actually removed anytime soon. Also I think issuing a warning about this was a mistake. For software that wants to stay compatible with both Python 2 and 3 it's basically useless. --

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24dbca4e746c by Victor Stinner in branch 'default': Issue #25122: test_eintr: don't redirect stdout to stderr https://hg.python.org/cpython/rev/24dbca4e746c -- ___ Python tracker

[issue25134] SSL asyncio

2015-09-15 Thread Bar Harel
New submission from Bar Harel: Seems like at https://docs.python.org/3.5/library/asyncio-eventloop.html#creating-connections (Creating connections) in asyncio, it states that "On Windows with ProactorEventLoop, SSL/TLS is not supported." But on the ProactorEventLoop it states that SSL support

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset edbc35d8babb by Victor Stinner in branch 'default': Issue #25122: Fix test_eintr, kill child process on error https://hg.python.org/cpython/rev/edbc35d8babb -- ___ Python tracker

[issue25134] SSL asyncio

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset d371ce905395 by Victor Stinner in branch '3.5': Issue #25134: Update asyncio doc for SSL on Windows https://hg.python.org/cpython/rev/d371ce905395 -- nosy: +python-dev ___ Python tracker

[issue25134] SSL asyncio

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

[issue25134] SSL asyncio

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: > But on the ProactorEventLoop it states that SSL support was added in 3.5 Right, I forgot to update the doc. Thanks for the bug report. > p.s. Is there a way I can fix these errors myself instead of hassling other > people? Sure, you can write patches and

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
Markus Unterwaditzer added the comment: My last comment was in reference to getfullargspec, which is, as far as I understand, not going to be deprecated until after 3.7. -- ___ Python tracker

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: I have suspicion about this issue. In my application tornado framework is used. I setup logger for my own code, but use the same logger for tornado, so all messages from tornado itself go into the same log file. As I said earlier it's strange but one

[issue25124] No single .msi available for 3.5 release

2015-09-15 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: -> steve.dower components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: Update to previous comment. I use the same settings for tornado logger (e.g. filename). logger = logging.getLogger('tornado') setup_logger(logger, log_config) So I have 2 loggers in one application which are trying to write to the same file. I

[issue25121] python logger RotatingFileHandler can't wrap log file and blows with traceback

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: According to documentation on RotateFileHandler "When this file is filled, it is closed and renamed to app.log.1, and if files app.log.1, app.log.2, etc. exist, then they are renamed to app.log.2, app.log.3 etc. respectively." But we have 2 loggers

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d9164aecc6f by Victor Stinner in branch 'default': Issue #25122: try to debug test_eintr hang on FreeBSD https://hg.python.org/cpython/rev/3d9164aecc6f -- nosy: +python-dev ___ Python tracker

  1   2   >