[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Ok, I got the first interesting result thanks to my enhancements of test_eintr: [383/398/1] test_eintr test_read (__main__.OSEINTRTest) ... ok test_wait (__main__.OSEINTRTest) ... ok test_wait3 (__main__.OSEINTRTest) ... ok test_wait4 (__main__.OSEINTRTest) ...

[issue25138] test_socket: socket.EAI_NODATA doesn't exist on FreeBSD

2015-09-15 Thread STINNER Victor
New submission from STINNER Victor: test_socket.test_idna() uses socket.EAI_NODATA constant which doesn't exists on FreeBSD. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/3697/steps/test/logs/stdio ==

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

[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 ___ ___ Python-bugs-list mailing

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

2015-09-15 Thread Simon Charette
Changes by Simon Charette : -- nosy: +charettes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

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

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

2015-09-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +ncoghlan, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

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

2015-09-15 Thread Tim Graham
Changes by Tim Graham : -- nosy: +Tim.Graham ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

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

[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

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

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

[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

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

[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

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

[issue25134] SSL asyncio

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

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

[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

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

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

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

[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) -- nosy:

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

[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

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

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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 2015 -0400 files: G

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

[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]# whereis

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

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

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

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

[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

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

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

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

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

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

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

[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

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

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

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

[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: https://docs.p

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

[issue25083] Python can sometimes create incorrect .pyc files

2015-09-15 Thread tzickel
tzickel added the comment: As for the "example" .pyc just create an empty 0 byte .py file and compile it, that is the same .pyc that is created in my system (instead in my case the .py is not empty). Just so people don't have to trace the code like I did, here is the traceback of the primary

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

2015-09-15 Thread Jakub Wilk
New submission from Jakub Wilk: Typo in the example code in : in the last line, it should be "src4.txt", not "src3.txt". -- assignee: docs@python components: Documentation messages: 250774 no

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

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

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

[issue25119] Windows installer fails to install VCRUNTIME140.DLL

2015-09-15 Thread Marius Gedminas
Marius Gedminas added the comment: Thank you for the pointer! It's hard to tell which software component is at fault when multiple components fail to collaborate. I cannot choose to use venv because I'm actually using tox, which runs virtualenv for a bunch of Python versions, some of which do

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

2015-09-15 Thread Alexander Belchenko
Changes by Alexander Belchenko : -- title: python logger can't wrap log file and blows with traceback -> python logger RotatingFileHandler can't wrap log file and blows with traceback ___ Python tracker __

[issue13508] ctypes' find_library breaks with ARM ABIs

2015-09-15 Thread Yegor Yefremov
Yegor Yefremov added the comment: This issue is still up to date. Most impacted are distos like for example Buldroot (http://buildroot.org/). Usual production rootfs provide neither gcc nor /sbin/ldconfig nor objdump. So find_library() is doomed from the very beginning. Such packages like pyu

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

2015-09-15 Thread Alexander Belchenko
Alexander Belchenko added the comment: Yes. it's rotating file handler. I'll try to recreate this issue with simpler test application, so I can provide something as example. -- ___ Python tracker

[issue25123] Logging Documentation - dictConfig disable_existing_loggers

2015-09-15 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

2015-09-15 Thread R. David Murray
R. David Murray added the comment: Are you using a rotating file handler for the logger? You should take a look at some of the other issues in this tracker about RotatingFileHandler and Windows. I will be interested in Vinay's answer to your question about the exception being allowed to bubb

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

2015-09-15 Thread Donald Stufft
Donald Stufft added the comment: You probably need to either pass --ignore-installed to pip when invoking it inside of venv, or you need to disable system_site_packages (internally to venv) until after pip is installed. -- ___ Python tracker

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

2015-09-15 Thread Thijs van Dien
Thijs van Dien added the comment: On the other hand, if the launcher is somehow strictly necessary, then why is it optional? -- ___ Python tracker ___ __

[issue25126] Non-web installer fails without a connection when doing debug install

2015-09-15 Thread Thijs van Dien
Thijs van Dien added the comment: Although I think the issue is pretty clear, I'm attaching the log file for completion's sake. -- Added file: http://bugs.python.org/file40473/Python 3.5.0 (32-bit)_20150915141555.log ___ Python tracker

[issue25126] Non-web installer fails without a connection when doing debug install

2015-09-15 Thread Thijs van Dien
New submission from Thijs van Dien: Python 3.5.0 offers a web installer. This implies that the other installer works offline. This is the case for the default component selection. When debug symbols/binaries are selected, the setup fails with error code 0x80070642 saying the user aborted the i

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

2015-09-15 Thread STINNER Victor
STINNER Victor 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. No worry, it was just a comment. Anyway, the bug is now fixed and will be part of the next Python 3.5.1 release. -

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

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

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

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

2015-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > wouldn't changing walk_stack to add one more f_back be better? print_stack and format_stack need to add two more f_backs. -- ___ Python tracker ___

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

2015-09-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: There's no consistency issue here, Python 3 just shows better performance and resource usage. Python 2 has always had the busy polling implementation. -- ___ Python tracker __

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

[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: docs@pytho

[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

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

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

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

[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

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

[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 list Unsubscribe: https://

[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: 'C:\\Users\\And

[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: https://docs.python.org/3.5/whatsnew/3.5.html#unsupported-operating-system

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

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

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

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://

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

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

2015-09-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

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

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

  1   2   >