[issue26499] http.client.IncompleteRead from HTTPResponse read after part reading file

2016-03-14 Thread Martin Panter
Martin Panter added the comment: Here is a modified version of the tests that I propose to commit soon. I trimmed the size of the tests down and simplified some of them. I also mentioned that BufferedIOBase is supported in the documentation. -- stage: patch review -> commit review Adde

[issue19450] Bug in sqlite in Windows binaries

2016-03-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: Let's make Windows use the same version as the Mac installer. -- assignee: benjamin.peterson -> steve.dower ___ Python tracker ___ __

[issue22359] Remove incorrect uses of recursive make

2016-03-14 Thread Martin Panter
Martin Panter added the comment: Here is a patch implementing my idea to make file reneration a separate step, not automatically run during the normal build process. But it is sounding like other people don’t like this idea, so Xavier’s approach might be less controversial even if it is more c

[issue26533] logging.config does not allow disable_existing_loggers=True

2016-03-14 Thread Patrick Egan
Patrick Egan added the comment: Used proposed method to solve this bug and implemented the extra kwarg disable_existing_loggers to the listen() parameters. -- keywords: +patch nosy: +chillydev Added file: http://bugs.python.org/file42168/Issue#26533.patch __

[issue22438] eventlet broke by python 2.7.x

2016-03-14 Thread Nick Coghlan
Nick Coghlan added the comment: Just noting that if we decided to reconsider addressing this upstream for the benefit of folks backporting PEP 493, Robert Kuska wrote a patch to restore sslwrap for the RHEL/CentOS PEP 466 backport: * https://git.centos.org/blob/rpms!python.git/f63228654ecef84

[issue23857] Make default HTTPS certificate verification setting configurable

2016-03-14 Thread Nick Coghlan
Nick Coghlan added the comment: Explicitly noting for anyone considering backporting this change (together with PEP 466 & 476) to a long term support release: watch out for https://bugs.python.org/issue22438 The RHEL/CentOS backport includes a reimplementation of sslwrap: * https://git.cento

[issue26559] logging.handlers.MemoryHandler flushes on shutdown but not removal

2016-03-14 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue26562] Large Involuntary context switches during oom-killer

2016-03-14 Thread Damian Myerscough
Damian Myerscough added the comment: @rbcollins there is nothing else running in the Docker container other than the python interpreter. I did an `strace` of the process mmap(NULL, 3149824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7effc2d0c000 munmap(0x7effc300d000, 790528)

[issue26565] [ctypes] Add value attribute to non basic pointers.

2016-03-14 Thread Memeplex
New submission from Memeplex: I know one can do addressof(p.contents), but it's a bit inconsistent that c_void_p and c_char_p contain the same information in the value attribute. -- components: ctypes messages: 261794 nosy: memeplex priority: normal severity: normal status: open title:

[issue26564] Malloc debug hooks: display memory block traceback on error

2016-03-14 Thread STINNER Victor
New submission from STINNER Victor: Python implements debug hooks on Python memory allocators: https://docs.python.org/dev/c-api/memory.html#c.PyMem_SetupDebugHooks Problem: buffer understand and buffer overflow are only detected when a memory block is released, which may occur far from the cod

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch; the test may be redundant but not enough to matter for now - and the bug really doth need fixing, so I've applied it as-is. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d72402c1c91 by Robert Collins in branch 'default': #25320: Handle sockets in directories unittest discovery is scanning. https://hg.python.org/cpython/rev/1d72402c1c91 -- ___ Python tracker

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset efc9836e0c83 by Robert Collins in branch '3.5': #25320: Handle sockets in directories unittest discovery is scanning. https://hg.python.org/cpython/rev/efc9836e0c83 -- nosy: +python-dev ___ Python tracker

[issue26040] Improve coverage and rigour of test.test_math

2016-03-14 Thread Jeff Allen
Jeff Allen added the comment: Here is a patch that improves coverage and addresses the uneven accuracy. Required accuracy is now specified in ulps. Mostly, I have choses 1 ulp, since this passed for me on an x86 architecture (and also ARM), but this may be too ambitious. I have also responded

[issue26249] Change PyMem_Malloc to use pymalloc allocator

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: I created the issue #26563 "PyMem_Malloc(): check that the GIL is hold in debug hooks". -- ___ Python tracker ___ _

[issue26563] PyMem_Malloc(): check that the GIL is hold in debug hooks

2016-03-14 Thread STINNER Victor
Changes by STINNER Victor : -- title: PyMem_Malloc(): check that the GIL is held in debug hooks -> PyMem_Malloc(): check that the GIL is hold in debug hooks ___ Python tracker _

[issue26563] PyMem_Malloc(): check that the GIL is held in debug hooks

2016-03-14 Thread STINNER Victor
New submission from STINNER Victor: With the issue #26558, debug hooks of PyObject_Malloc() now checks that the GIL is hold. I left PyMem_Malloc() unchanged, because I am not 100% sure that it's ok yet to implement the same check in PyMem_Malloc(). So I opened this issue. Python 3 doc explici

[issue22359] Remove incorrect uses of recursive make

2016-03-14 Thread Martin Panter
Martin Panter added the comment: Thanks for you work Xavier. Making it conditional on cross compilation is another approach I hadn’t thought of. But I am a bit worried at the new makefile syntax [ifeq directive and $(findstring) function]. I suspect it is Gnu specific, and that Python tries to

[issue17088] ElementTree incorrectly refuses to write attributes without namespaces when default_namespace is used

2016-03-14 Thread Garrett Birkel
Garrett Birkel added the comment: Just hit up against this namespace bug. Has this patch been abandoned?? -- nosy: +Garrett Birkel ___ Python tracker ___

[issue26562] Large Involuntary context switches during oom-killer

2016-03-14 Thread Robert Collins
Robert Collins added the comment: So this test script is making a 65K entry dict, and each item is a new, separate 65K string. The strings are allocated in single chunks, so we should expect couple hundred reference count writes total. AIUI involuntary context switches occur when there is CPU

[issue25783] test_traceback.test_walk_stack() fails when run directly (without regrtest)

2016-03-14 Thread Robert Collins
Robert Collins added the comment: @serhiy, how is that different to what I said? -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue26562] Large Involuntary context switches during oom-killer

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: I don't understand this issue... I don't see how Python can avoid context switches when writing data to memory... -- nosy: +haypo ___ Python tracker __

[issue26562] Large Involuntary context switches during oom-killer

2016-03-14 Thread Damian Myerscough
New submission from Damian Myerscough: I have been running a simple script inside a Docker container to cause the container to trigger oom-killer. >>> mem = {} >>> for i in range(65535): ... mem[i] = "A" * 65535 When oom-killer is trigger I see a large number of involuntary context switche

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2016-03-14 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue26558] Disable PyGILState_Check() when Py_NewInterpreter() is called and add more checks on the GIL

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e590c632c9fa by Victor Stinner in branch 'default': Add more checks on the GIL https://hg.python.org/cpython/rev/e590c632c9fa New changeset cde3d986da00 by Victor Stinner in branch 'default': Check the GIL in PyObject_Malloc() https://hg.python.org/

[issue15751] Support subinterpreters in the GIL state API

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e590c632c9fa by Victor Stinner in branch 'default': Add more checks on the GIL https://hg.python.org/cpython/rev/e590c632c9fa -- ___ Python tracker ___

[issue10915] Make the PyGILState API compatible with multiple interpreters

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e590c632c9fa by Victor Stinner in branch 'default': Add more checks on the GIL https://hg.python.org/cpython/rev/e590c632c9fa -- ___ Python tracker ___

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7534eb7bd57e by Victor Stinner in branch 'default': Issue #26516: Fix test_capi on AIX https://hg.python.org/cpython/rev/7534eb7bd57e -- ___ Python tracker ___

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The SO example works for me with Python 3.5.1: Python 3.5.1 (default, Mar 8 2016, 12:33:47) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> global_function = """

[issue22359] Remove incorrect uses of recursive make

2016-03-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch improves changeset c2a53aa27cad by allowing cross-compilation: The following checks have been made: * successfull cross-compilation of python3.4 after retrofiting changeset c2a53aa27cad to python3.4 since I don't have a working cross-compilation

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
New submission from Brian Tom: http://stackoverflow.com/questions/35993869/passing-a-dictionary-like-object-to-exec-instead-of-dict-object-changes-scope-of -- ___ Python tracker

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
Changes by Brian Tom : -- nosy: btomtom5 priority: normal severity: normal status: open title: exec function fails to properly assign scope to dict like object type: behavior versions: Python 3.5 ___ Python tracker

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-14 Thread Peter Inglesby
New submission from Peter Inglesby: The line: assert int(status[:3]),"Status message must begin w/3-digit code" should be something like: assert status[:3].isnumeric(), "Status message must begin w/3-digit code" -- components: Library (Lib) messages: 261773 nosy: inglesp priority:

[issue26559] logging.handlers.MemoryHandler flushes on shutdown but not removal

2016-03-14 Thread David Escott
New submission from David Escott: The documentation suggests using a MemoryHandler object to buffer log messages and conditionally output them. https://docs.python.org/3/howto/logging-cookbook.html#buffering-logging-messages-and-outputting-them-conditionally However the documentation does not

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

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: "Unfixed for 2 years. How about skipping the test if os.makedirs(site.USER_SITE) fails?" Let's do that ;-) @Christian: Feel free to open a new issue if you have a solution to not write outside temporary directories in test_site ;-) @doko: Thanks for the bug

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

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a40ee2bad6a by Victor Stinner in branch '2.7': Skip test_site if USER_SITE cannot be created https://hg.python.org/cpython/rev/1a40ee2bad6a -- ___ Python tracker

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

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a583e60c406 by Victor Stinner in branch '3.5': Skip test_site if USER_SITE cannot be created https://hg.python.org/cpython/rev/0a583e60c406 -- nosy: +python-dev ___ Python tracker

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8d6ec1333e6 by Victor Stinner in branch 'default': Issue #26516: Fix test_capi on 32-bit system https://hg.python.org/cpython/rev/d8d6ec1333e6 -- ___ Python tracker _

[issue26558] Disable PyGILState_Check() when Py_NewInterpreter() is called and add more checks on the GIL

2016-03-14 Thread STINNER Victor
Changes by STINNER Victor : -- title: Fix PyGILState_Check() with _testcapi.run_in_subinterp() -> Disable PyGILState_Check() when Py_NewInterpreter() is called and add more checks on the GIL ___ Python tracker __

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: See also issues: * #10915: Make the PyGILState API compatible with multiple interpreters * #15751: Support subinterpreters in the GIL state API This issue contains is a compromise: it's a workaround until the root issue is solve. Since #10915 is open since 20

[issue26249] Change PyMem_Malloc to use pymalloc allocator

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: > Using the issue #26516 (PYTHONMALLOC=debug), we can check PyGILState_Check() > at runtime, but there is currently an issue related to sub-interpreters. The > assertion fails in support.run_in_subinterp(), function used by > test_threading and test_capi for e

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c3df33f2655 by Victor Stinner in branch 'default': Issue #26516: Fix test_capi on Windows https://hg.python.org/cpython/rev/3c3df33f2655 -- ___ Python tracker ___

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset c24630367767 by Victor Stinner in branch 'default': Fix Py_FatalError() if called without the GIL https://hg.python.org/cpython/rev/c24630367767 -- nosy: +python-dev ___ Python tracker

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file42163/pymem_gil_check.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: Hum, in fact I prefer to implement GIL check in debug hooks of Python memory allocators. So it becomes to get these checks on Python compiled in debug mode. Patch 2: Don't touch Python memory allocators. Instead of I wrote a second patch, pymem_gil_check.patch

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a5a0e223559 by Victor Stinner in branch 'default': Issue #26558: Remove useless check in tracemalloc https://hg.python.org/cpython/rev/8a5a0e223559 -- ___ Python tracker

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: gil_check.patch: add more checks on the GIL * PyGILState_Check() now returns 1 (success) before the creation of the GIL and after the destruction of the GIL * Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when Py_NewInterpreter() is ca

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: test_capi fails on Windows: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/7348/steps/test/logs/stdio Probably a issue with newline characters. -- ___ Python tracker

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: I created this issue while working on the issue #26249 "Change PyMem_Malloc to use pymalloc allocator". I would like to check that application call PyObject_Malloc() and PyMem_Malloc() with the GIL held. -- ___ Pyth

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are occurrences of "http" in lower case in docstrings and comments. The same for https and ftp (and may be other abbreviations). -- ___ Python tracker

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Anish Shah
Anish Shah added the comment: Patch for urllib and httplib in Python 2 -- keywords: +patch nosy: +anish.shah Added file: http://bugs.python.org/file42159/issue26553.patch ___ Python tracker

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Anish Shah
Anish Shah added the comment: Patch for http.client in Python3 -- Added file: http://bugs.python.org/file42160/issue26553-python3.patch ___ Python tracker ___ ___

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: > Well, it's not what format() is doing now, using str()? :) Hum, are you sure that you tried Python 3, and not Python 2? str(bytes) on Python 3 is well defined: >>> print(str(b'hello')) b'hello' >>> print(str('h\xe9llo'.encode('utf8'))) b'h\xc3\xa9llo' I'm n

[issue26509] spurious ConnectionAbortedError logged on Windows

2016-03-14 Thread Sebastien Bourdeauducq
Sebastien Bourdeauducq added the comment: Tested it, that works, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread Marco Sulla
Marco Sulla added the comment: > Using utf8 means guessing the encoding Well, it's not what format() is doing now, using str()? :) -- ___ Python tracker ___

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: >> Python 3 doesn't guess the encoding of byte strings anymore > And I agree, but I think format minilanguage could convert it by default to > utf8, .. Using utf8 means guessing the encoding of a byte string. Python 3 doesn't do that anymore, there is no more

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread Marco Sulla
Marco Sulla added the comment: > Python 3 doesn't guess the encoding of byte strings anymore And I agree, but I think format minilanguage could convert it by default to utf8, and if something goes wrong raise an error (or try str()). More simple to use and robust at the same time. My 2 cents.

[issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()

2016-03-14 Thread STINNER Victor
New submission from STINNER Victor: assert(PyGILState_Check()) cannot be used in functions called by Py_NewInterpreter(): the assertion fails. I propose to add a flag to disable PyGILState_Check() while Py_NewInterpreter() is run to be able to add assertions in these functions. The assertion

[issue26249] Change PyMem_Malloc to use pymalloc allocator

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: pymalloc.patch: Updated patch. -- Added file: http://bugs.python.org/file42158/pymalloc.patch ___ Python tracker ___ ___

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: Note: I just checked PYTHONMALLOCSTATS=1 with -X tracemalloc. It looks like it works as expected. Tracemalloc hooks are unregistered before stats are displayed at exit, _Pymem_PymallocEnabled() returns 1 as expected. -- ___

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: I reworked my patch before pushing it: * it now respects -E and -I command line options * I documented changes in Doc/, Misc/NEWS, What's New in Python 3.6, Misc/README.valgrind, etc. * Debug hooks are now also installed when Python is compiled in debug mode w

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa280432e9c7 by Victor Stinner in branch 'default': Add PYTHONMALLOC env var https://hg.python.org/cpython/rev/aa280432e9c7 -- ___ Python tracker _

[issue26557] dictviews methods not present on shelve objects

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The shelve object inherits its dict-like methods from UserDict.DictMixin. The documentation for UserDict.DictMixin should be updated too. -- assignee: -> docs@python components: +Documentation -Library (Lib) keywords: +easy nosy: +docs@python, serhiy

[issue26557] dictviews methods not present on shelve objects

2016-03-14 Thread Michael Crouch
New submission from Michael Crouch: Shelve types in Python 2.7 don't implement the 'viewkeys', 'viewvalues', and 'viewitems' methods. Section 11.4 of the Python Standard Library documentation says that "Shelf objects support all methods supported by dictionaries." If those methods can't be ad

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: More about Unicode: * https://docs.python.org/dev/howto/unicode.html * http://unicodebook.readthedocs.org/ * etc. -- ___ Python tracker ___ ___

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread STINNER Victor
STINNER Victor added the comment: > I would that the format minilanguage will convert bytes to string properly. Sorry, nope, Python 3 doesn't guess the encoding of byte strings anymore. You have to decode manually. Example: "Hello {}".format(b"World".decode('ascii')) Or format to bytes: b"He

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread Marco Sulla
Marco Sulla added the comment: I want to clarify more: I do not want to suppress the warning, I would that the format minilanguage will convert bytes to string properly. -- ___ Python tracker _

[issue26556] Update expat to 2.2.1

2016-03-14 Thread Christian Heimes
New submission from Christian Heimes: A new version of expat has been released. 2.2.1 addressed CVE-2015-1283. -- components: Extension Modules, XML messages: 261741 nosy: benjamin.peterson, christian.heimes, georg.brandl, larry priority: release blocker severity: normal stage: needs pat

[issue26555] string.format(bytes) raise warning

2016-03-14 Thread Marco Sulla
New submission from Marco Sulla: Steps to reproduce 1. create a format_bytes.py with: "Hello {}".format(b"World") 2. launch it with python3 -bb format_bytes.py Result: Traceback (most recent call last): File "format_bytes.py", line 1, in "Hello {}".format(b"World") BytesWarning: str()

[issue23220] Documents input/output effects of how IDLE runs user code

2016-03-14 Thread Akira Li
Akira Li added the comment: IDLE can implement functionality similar to what colorama [1] module does on Windows: translate ANSI escape character sequences into corresponding GUI method calls. For example, \b might be implemented using a .delete() call, \r using .mark_set(), etc. [1] https:/

[issue26554] Missing fclose

2016-03-14 Thread maddin200
New submission from maddin200: cpython\PC\bdist_wininst\install.c line 2542 missing fclose(logfile); -- components: Windows messages: 261737 nosy: maddin200, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Missing fclose _

[issue22625] When cross-compiling, don’t try to execute binaries

2016-03-14 Thread Alex Willmer
Alex Willmer added the comment: On 14 March 2016 at 01:05, Robert Collins wrote: > There are three platforms in play: target, host, build. > > Host is the platform where what you build should run on. > build is the platform we are building on. > target is the platform where the *output* of the b

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Deprecation warnings are suppressed, but my attempt to fix test failures failed. http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/1832/steps/test/logs/stdio == FAIL: test_

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2016-03-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue26494] Double deallocation on iterator exhausting

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please look at the patch? I'm not sure about organizing tests. -- ___ Python tracker ___

[issue26523] multiprocessing ThreadPool is untested

2016-03-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> pitrou stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list

[issue20556] Use specific asserts in threading tests

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you all for your reviews. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue20556] Use specific asserts in threading tests

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 791d7ef006d3 by Serhiy Storchaka in branch '3.5': Issue #20556: Used specific assert methods in threading tests. https://hg.python.org/cpython/rev/791d7ef006d3 New changeset 9f8db4d1e149 by Serhiy Storchaka in branch '2.7': Issue #20556: Used specif

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2016-03-14 Thread Vinay Sajip
Vinay Sajip added the comment: > find_library() is documented as emulating a build-time linker, not run-time It may be documented as that, but is emulating a build-time linker the most useful thing? In the context of Python binding to external libraries, why is build-time linking behaviour bet

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you provide a patch Sudheer? -- keywords: +easy nosy: +serhiy.storchaka stage: -> needs patch versions: +Python 2.7, Python 3.5, Python 3.6 ___ Python tracker

[issue26512] Vocabulary: Using "integral" in library/stdtypes.html

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Georg, is it possible to make a link from formatted text ``math.trunc(x)`` to the math.trunc() function? -- nosy: +serhiy.storchaka ___ Python tracker __

[issue22854] Documentation/implementation out of sync for IO

2016-03-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nice patch. But it isn't applied cleanly on current tip (perhaps due to Argument Clinic). Added comments and questions on Rietveld. -- nosy: +benjamin.peterson, pitrou, serhiy.storchaka, stutzbach versions: +Python 3.5, Python 3.6 -Python 3.2, Python