[issue23531] SSL operations cause entire process to hang
johnkw added the comment: New testcase submitted without requests. Don't have access to the non-cygwin build so don't know there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23531 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23476] SSL cert verify fail for www.verisign.com
Cory Benfield added the comment: My reading of the OpenSSL issue is that there are no negative side effects from turning this on. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23476 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Alexander Belopolsky added the comment: As far as I can tell, the original report was about a test failing due to a system-dependent behavior of time.asctime(). However, since changeset 1e62a0cee092 (see issue #8013), we no longer call system asctime. I believe the test disabled in 1a0bfc26af57 can now be restored. -- components: +Tests -Library (Lib) versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20271] urllib.parse.urlparse() accepts wrong URLs
Serhiy Storchaka added the comment: splitport() shouldn't handle auth, it should be called after auth is dropped with splituser(). The patch makes URL parsing slower, especially URLs with IPv6 addresses. $ ./python -m timeit -s from urllib.parse import urlparse, clear_cache -- urlparse('http://python.org:80'); clear_cache() Unpatched: 1 loops, best of 3: 70.3 usec per loop Patched: 1 loops, best of 3: 105 usec per loop $ ./python -m timeit -s from urllib.parse import urlparse, clear_cache -- urlparse('http://[2001:4802:7901:0:e60a:1375:0:5]:80'); clear_cache() Unpatched: 1 loops, best of 3: 71.1 usec per loop Patched: 1000 loops, best of 3: 239 usec per loop -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20271 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23484] SemLock acquire() keyword arg 'blocking' is invalid
Davin Potts added the comment: To be fair, the docs in 2.7 do actually mention the use of 'block' instead of 'blocking' in acquire though it does so inside a Note block a bit later in the docs after first claiming that multiprocessing.Lock is a clone. In 3.4, that important detail has been inexplicably stripped from this distended Note block. Ultimately, this use of the Note block seems to misplace important information that should appear in the description of the multiprocessing.Lock class and its siblings in the synchronization section. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23484 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20210] Provide configure options to enable/disable Python modules and extensions
koobs added the comment: For what it's worth, we've been running with patch 0001 on FreeBSD's Python 3.4 port for 8 months with no issues [1]. It allows downstreams like us to easily customise what modules gets built, and offers substantial flexibility and benefits for various packaging scenarios. This patch is the simplest approach that offers benefits without complicating the existing built infrastructure, or precluding a more 'elegant' solution if one is forthcoming in the future. [1] https://svnweb.freebsd.org/ports/head/lang/python34/files/patch-issue20210 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20210 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?
Martin Panter added the comment: See also Issue 20271, which has a proposed patch with more strict urlsplit() etc behaviour before even returning a SplitResult object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20059 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23476] SSL cert verify fail for www.verisign.com
Alex Gaynor added the comment: It looks like the existing `verify_flags` param is actually the same thing, so we can just use it. That said, I think this should be on by default, I can't think of a scenario you don't want it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23476 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Alexander Belopolsky added the comment: Attached patch eliminates undefined behavior, but I am not sure fixing this is worth the trouble. -- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file38290/issue13312.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1724366] cPickle module doesn't work with universal line endings
Mark Lawrence added the comment: msg185431 from #616013 states Three years later, I don't think anyone is interested in documenting the outdated cPickle. so I believe this should suffer the same fate. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1724366 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23476] SSL cert verify fail for www.verisign.com
Christian Heimes added the comment: With the patch the flag is always set. Are there any possible side effects? IMHO it's better to add a store_flags property and make the feature optional. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23476 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23484] SemLock acquire() keyword arg 'blocking' is invalid
Davin Potts added the comment: In the docs for 2.7, multiprocessing.Lock refers to threading.Lock in which the signature for acquire looks like: threading.Lock.acquire([blocking]) However, in the current code in 2.7, Modules/_multiprocessing/semaphore.c implements multiprocessing.Lock.acquire to support two arguments: 'block' and 'timeout'. In the docs for 3.4, threading.Lock.acquire now has both 'blocking' and 'timeout' arguments. Notably, it specifies: It is forbidden to specify a timeout when blocking is false. This is indeed enforced by threading.Lock but not at all by multiprocessing.Lock. In a 3.4.3 shell: import multiprocessing import threading ml = multiprocessing.Lock() ml.acquire(False, 20.0) True ml.release() tl = threading.Lock() tl.acquire(False, 20.0) Traceback (most recent call last): File stdin, line 1, in module ValueError: can't specify a timeout for a non-blocking call In 2.7, acquire similarly permits a supplied value for timeout even when set to be non-blocking. A further difference: the code in Modules/_multiprocessing/semaphore.c appears to translate a timeout=None into an infinite wait whereas the threading implementation rejects any attempt to supply a None for timeout, demanding a float instead. (In 3.4, threading uses timeout=-1 to request an infinite wait.) Given these discrepancies between threading's and multiprocessing's implementations for Lock and given the difficulties in renaming an argument that can be supplied as a non-keyword parameter, the right thing to do at this point is to properly document multiprocessing.Lock's acquire as using 'block' and 'timeout'. -- assignee: - docs@python components: +Documentation -Extension Modules nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23484 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Alexander Belopolsky added the comment: We still have the following in Lib/test/test_time.py: # Issue #13312: it may return wrong value for year TIME_MINYEAR + 1900 # Skip the value test, but check that no error is raised self.yearstr(TIME_MINYEAR) I reviewed the current time.asctime() code and it does look like it invokes undefined behavior for extremely large negative years. The problem is that in C struct tm, year is stored as year - 1900 and for year -2147481748 (= -2**31 + 1900) we trigger an overflow of a signed integer. Can someone confirm that on AMD64 FreeBSD subtracting 1900 from -2147483648 and then adding it back does not give -2147483648? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9784] _msi.c warnings under 64-bit Windows
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: +Windows nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9784 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12137] Error EBADF in test_urllibnet
Mark Lawrence added the comment: Can this be closed as it's stated to be a transient failure and it's nearly four years old? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12137 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21483] Skip os.utime() test on NFS?
Isaac Schwabacher added the comment: Patch to do precisely this. Wish I'd spent more time searching for this thread and less time debugging; it would have saved me a lot of trouble. -- keywords: +patch nosy: +ischwabacher Added file: http://bugs.python.org/file38291/test_import.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21483 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18082] Inconsistent behavior of IOBase methods on closed files
Mark Lawrence added the comment: Anybody? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18082 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23556] Scope for raise without argument is different in Python 2 and 3
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Mark Lawrence added the comment: Sorry should have been #17690. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15286] normpath does not work with local literal paths
Mark Lawrence added the comment: As ntpath was cleaned up on #15275 do we need this patch or not, especially given that pathlib made it into 3.4? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15286 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6911] Document changes in asynchat
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6911 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19873] There is a duplicate function in Lib/test/test_pathlib.py
Mark Lawrence added the comment: Pang :( -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19873 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20271] urllib.parse.urlparse() accepts wrong URLs
Martin Panter added the comment: I suspect the proposed patch here would make some of the special error handling for the “port” property redundant, and would compete with my patch for Issue 20059, which raises ValueError in more cases when “port” is accessed, rather than returning None. There should also be test cases (and maybe documentation or fixes?) to illustrate the behaviour of parsing: * http://[fe80::a%25en1] (RFC 6874-style scoped IPv6 address with zone identifier) * http://[v1.fe80::a+en1] (RFC 3986 IPvFuture format, using https://tools.ietf.org/html/draft-sweet-uri-zoneid-01 style address) -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20271 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23552] Have timeit warn about runs that are not independent of each other
Serhiy Storchaka added the comment: How it looks? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23290] Faster set copying
Serhiy Storchaka added the comment: Ping. The last patch doesn't add more lookkey variants, it uses existing function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Serhiy Storchaka added the comment: The test still sporadically fails on Windows: http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/9323/steps/test/logs/stdio == FAIL: test_broken_pipe_cleanup (test.test_subprocess.ContextManagerTests) Broken pipe error should not prevent wait() (Issue 21619) -- Traceback (most recent call last): File D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_subprocess.py, line 2515, in test_broken_pipe_cleanup self.assertRaises(OSError, proc.__exit__, None, None, None) AssertionError: OSError not raised by __exit__ -- -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20128] Re-enable test_modules_search_builtin() in test_pydoc
Serhiy Storchaka added the comment: I don't know what errors was on FreeBSD (logs are no longer available), but these tests modify sys.path and the list of weakrefs to logging handlers. They also require relative long time to run. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22364] Improve some re error messages using regex for hints
Serhiy Storchaka added the comment: Could anyone please make a review? This patch is a prerequisite of other patches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22364 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20204] pydocs fails for some C implemented classes
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20204 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20128] Re-enable test_modules_search_builtin() in test_pydoc
Serhiy Storchaka added the comment: As said koobs, the full log was attached to issue20123. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23555] behavioural change in argparse set_defaults in python 2.7.9
New submission from Matthias Klose: seen with ceph, https://launchpad.net/bugs/1413321 This appears to be a regression in the argparse package in python; under trusty ceph-disk works just fine, however in vivid, the cluster attribute remains unset (despite having a default of 'ceph'). Attached python demonstrates the problem. -- components: Library (Lib) files: test.py messages: 236956 nosy: doko priority: normal severity: normal status: open title: behavioural change in argparse set_defaults in python 2.7.9 versions: Python 2.7 Added file: http://bugs.python.org/file38284/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23555 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20204] pydocs fails for some C implemented classes
Roundup Robot added the comment: New changeset a192cc5a63be by Serhiy Storchaka in branch '3.4': Issue #20204: Added the __module__ attribute to _tkinter classes. https://hg.python.org/cpython/rev/a192cc5a63be New changeset 3244142eeafb by Serhiy Storchaka in branch 'default': Issue #20204: Added the __module__ attribute to _tkinter classes. https://hg.python.org/cpython/rev/3244142eeafb New changeset d6dff5a5290a by Serhiy Storchaka in branch 'default': Issue #20204: Deprecation warning is now raised for builtin type without the https://hg.python.org/cpython/rev/d6dff5a5290a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20204 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparison for range checking.
Serhiy Storchaka added the comment: Parenthesis around Py_SIZE() are redundant. Are there any benchmarking results that show a speed up? Such microoptimization makes sense in tight loops, but optimized source code looks more cumbersome and errorprone. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparison for range checking.
Roundup Robot added the comment: New changeset 1e89094998b2 by Raymond Hettinger in branch 'default': Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic. https://hg.python.org/cpython/rev/1e89094998b2 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparison for range checking.
Raymond Hettinger added the comment: I think the source in listobject.c would be benefit from a well-named macro for this. That would provide the most clarity. For deques, I'll just put in the simple patch because it only applies to a place that is already doing unsigned arithmetic/comparisons. FWIW, I don't usually use benchmarking on these kinds of changes. The generated assembler is sufficiently informative. Benchmarking each tiny change risks getting trapped in a local minimum. Also, little timeit tests tend to branch the same way every time (which won't show the cost of prediction misses) and it tends to have all code and data in cache (so you don't see the effects of cache misses) and it risks tuning to a single processor (in my case a haswell). Instead, I look at the code generated by GCC and CLang to see that it does less work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparison for range checking.
Serhiy Storchaka added the comment: My point is that if the benefit is too small (say 5% in microbenchmarks), it is not worth code churning. Actually my bar for microbenchmarks is higher, about 20%. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23290] Faster set copying
Raymond Hettinger added the comment: I still intend to apply some variant of your patch. Am still looking at the options. -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Serhiy Storchaka added the comment: Why not ignoring BrokenPipeError like communicate()? Why communicate() ignores BrokenPipeError? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Serhiy Storchaka added the comment: It was added in issue10963. I don't know if this way is applicable to this issue. -- nosy: +dmalcolm, pitrou, rosslagerwall resolution: fixed - stage: resolved - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10963] subprocess can raise OSError (EPIPE) when communicating with short-lived processes
Serhiy Storchaka added the comment: self.stdout.close() also can fail with EPIPE or EINVAL if the stream is buffered (text streams are buffered). I.e. communicate() in text mode can loss the data. See also issue21619. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10963 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23555] behavioural change in argparse set_defaults in python 2.7.9
Changes by SilentGhost ghost@gmail.com: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23555 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23556] Scope for raise without argument is different in Python 2 and 3
New submission from Antoine Amarilli: Hello, Python 2.7.8 and Python 3.4.2 (from Debian testing) have a different behavior on the attached file. Python 2 raises bar, Python 3 raises foo. I can't find an adequate explanation in the documentation for this behavior difference. It probably relates to https://docs.python.org/3/reference/compound_stmts.html#try (search for When an exception has been assigned) but this is unsatisfying because it only talks about the as target construction, which is not used in the example. I think that at least the documentation should be clarified to point out what raise without arguments will do. Currently the documentation of this in Python 2 and 3 is the same even though the behavior is different https://docs.python.org/2/reference/simple_stmts.html#raise https://docs.python.org/3/reference/simple_stmts.html#raise. Note: this question was originally asked on SO: http://stackoverflow.com/q/28698622/414272. I reported this as a bug at Terry Jan Reedy's request https://stackoverflow.com/q/28698622/414272#comment45707744_28698622. -- files: raise.py messages: 236957 nosy: a3nm priority: normal severity: normal status: open title: Scope for raise without argument is different in Python 2 and 3 type: behavior versions: Python 2.7, Python 3.4 Added file: http://bugs.python.org/file38285/raise.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23556] Scope for raise without argument is different in Python 2 and 3
SilentGhost added the comment: There is this bit in https://docs.python.org/3/library/exceptions.html : When raising a new exception (rather than using a bare raise to re-raise the exception currently being handled),... I presume this can be also suitable for tutorial if it's not already there. -- components: +Interpreter Core nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23548] TypeError in event loop finalizer, new in Python 3.4.3
STINNER Victor added the comment: I'm aware of the issue but I would prefer to not fix it. The first problem is that you didn't close the event loop. I modified recently the doc to explain at the begining that you should develop in the debug mode. In this mode, you will see a warning if you don't close explicitly the event loop. The signal issue is that the event loop is closed very late during Python finalization, and attributes of the signal module are already cleared. Are you ok to not workaround this specific issue? Closing an event loop implicitly late can lead to other various bugs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23548 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
STINNER Victor added the comment: Le dimanche 1 mars 2015, Serhiy Storchaka rep...@bugs.python.org a écrit : Why communicate() ignores BrokenPipeError? It's more convinient. There is nothing useful you can do on pipe error in communicate(). For __exit__, what do you want to on broken pipe error? I did't check yet: the process always exit after __exit__? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
Ismail Donmez added the comment: Any update on this? Would be nice to have this for 3.5 release. -- nosy: +cartman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Serhiy Storchaka added the comment: When you write to the file you don't want the error was silently ignored. with open(filename, 'w') as f: f.write(content) And also I don't want the error was silently ignored when write to the subprocess. with subprocess.Popen(cmd, universal_newlines=True, stdin=subprocess.PIPE) as p: p.stdin.write(content) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23557] Misc/SpecialBuilds.txt contains outdated information about PYMALLOC_DEBUG
New submission from Jakub Klama: Section describing block layout under PYMALLOC_DEBUG is wrong - it doesn't contain information about API type byte instead of one of forbidden bytes. That may lead to wrong assumption that one of forbidden bytes is being overwritten until you dig into obmalloc.c code. -- assignee: docs@python components: Documentation, Interpreter Core messages: 236958 nosy: Jakub Klama, docs@python priority: normal severity: normal status: open title: Misc/SpecialBuilds.txt contains outdated information about PYMALLOC_DEBUG versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23557 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparison for range checking.
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23556] Scope for raise without argument is different in Python 2 and 3
Changes by SilentGhost ghost@gmail.com: -- nosy: +collinwinter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23556 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20128] Re-enable test_modules_search_builtin() in test_pydoc
Serhiy Storchaka added the comment: With test_synopsis_sourceless and test_non_ascii there were different issues, related to -OO. Fixed in changesets 663a83c1d42d, d7b3e722152d, 94edd0ef4c2a. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23555] behavioural change in argparse set_defaults in python 2.7.9
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23555 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23531] SSL operations cause entire process to hang
Changes by johnkw joh...@gmail.com: Added file: http://bugs.python.org/file38288/sslbug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23531 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Mark Lawrence added the comment: I believe that this can be closed as the test code was changed completely in #17960. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Alexander Belopolsky added the comment: Mark, Issue #17960 (Clarify the required behaviour of locals()) does not seem to be relevant here. I think you meant to refer to a changeset, not issue number. If so please use hash number such as d877d7f3b679. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13312 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20876] python -m test test_pathlib fails
Isaac Schwabacher added the comment: This behavior is caused by the way NFS clients implement unlinking open files: instead of unlinking an open file, the filesystem renames it to .nfs and unlinks it on close. (The search term you want is silly rename.) The reason this problem appears is that `test.support.fs_is_case_insensitive()` unlinks but fails to close the temporary file that it creates. Of course, any attempt to unlink the .nfs file (for instance, by `shutil.rmtree`) just succeeds in renaming it to .nfs, so there is no way to delete the parent directory until the file is closed. The attached patch modifies the offending function to use the `tempfile.NamedTemporaryFile` context manager, which closes the file on leaving the block. -- keywords: +patch nosy: +ischwabacher Added file: http://bugs.python.org/file38289/test_support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20876 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12989] Consistently handle path separator in Py_GetPath on Windows
Mark Lawrence added the comment: The patch is three parts that adds one line, moves one line and deletes one line. I've checked 2.6, 2.7, 3.2, 3.3, 3.4 and default. In all cases the second part has already been implemented, the first and third have not. Assuming that these changes must still be done, do we also need additional unit tests? -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12989 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
Ryan Gonzalez added the comment: Cyd: Just run: $ git commit -m Put some message here # commit the changes $ git push # push the changes I'm working on it, but I haven't even gotten it to build (CURSE YOU, AUTOCONF!) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23485] PEP 475: handle EINTR in the select and selectors module
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23485 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23387] test_urllib2 fails with HTTP Error 502: Bad Gateway
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23387 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23387] test_urllib2 fails with HTTP Error 502: Bad Gateway
Roundup Robot added the comment: New changeset 7e783289bc12 by Berker Peksag in branch '3.4': Issue #23387: Skip test_issue16464 if it raises an 5xx error. https://hg.python.org/cpython/rev/7e783289bc12 New changeset 4cadc2c65609 by Berker Peksag in branch 'default': Issue #23387: Skip test_issue16464 if it raises an 5xx error. https://hg.python.org/cpython/rev/4cadc2c65609 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23387 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23552] Have timeit warn about runs that are not independent of each other
Raymond Hettinger added the comment: See attached -- keywords: +patch Added file: http://bugs.python.org/file38294/timeit_warning.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23552] Have timeit warn about runs that are not independent of each other
Alex Gaynor added the comment: This seems like it probably will report something useless (and ultimately be disabled) on PyPy, where runs before and after the JIT will display significant variance. -- nosy: +alex, arigo, fijall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21619] Cleaning up a subprocess with a broken pipe
Martin Panter added the comment: It seems two different issues have popped up: ## 1. Windows behaviour ## Windows apparently doesn’t handle broken pipes consistently, sometimes raising an EINVAL error, and sometimes not raising any error. I don’t know if this is a problem with Python, or a quirk with Windows. (Just tried with Wine, and it always raises ENOSPC instead, but I guess that’s a Wine-specific quirk.) Perhaps we can change the offending test case to the following, at least until someone can investigate and explain what is going on: ... if mswindows: try: proc.__exit__(None, None, None) except OSError: # Sometimes raises EINVAL, sometimes no error pass else: self.assertRaises(BrokenPipeError, proc.__exit__, None, None, None) ... ## 2. Suppressing BrokenPipeError ## I don’t have any strong opinions. I think in the past when writing to a process’s input raises BrokenPipeError, I have tended to skip the writing and go on to analyse the process’s output and/or exit status (the same as if writing succeeded). Some arguments for raising BrokenPipeError (current behaviour): * No change in behaviour * Slightly simpler implementation * Consistent with the way stdin.close() works * Potentially more flexible if the user cares about handling a broken pipe specially. * Exiting the context manager does not return any data, so no return value is lost by raising an exception. In contrast, one of the reasons communicate() was changed to sometimes suppress the exception is so that the captured output is returned and not lost. Arguments for suppressing BrokenPipeError: * Consistent with the way communicate() is meant to work, according to Issue 10963. * Probably more useful in normal use cases * User can always explicitly call stdin.close() if they really want to handle the BrokenPipeError * Avoid possible confusion and hiding a more important exception, if one was already raised inside the context manager, for example if a subprocess crash was detected, or if stdin.write() already raised its own BrokenPipeError. Replying to Victor: “the process always exit after __exit__?”: __exit__ is meant to call wait(), so it only returns when the subprocess exits. It could potentially still be running despite closing its input pipe. This issue was originally about making sure __exit__ called wait() in all cases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3931] codecs.charmap_build is untested and undocumented
Mark Lawrence added the comment: I do not see much purpose in documenting and testing this one function alone. I think that all functions in _codecsmodule.c should be looked at to see if they are private or public, but I'm certainly not volunteering to do it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3931 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4071] ntpath.abspath fails for long str paths
eryksun added the comment: Can we close this as I'm not aware of any possible way to fix this? Windows system and C runtime calls that take paths could be restricted to wide-character APIs, such as calling GetFullPathnameW in this case, or _wexecve instead of execve (issue 23462). Then for bytes paths an extension can call PyUnicode_FSDecoder (PyUnicode_DecodeMBCS). In posxmodule.c this can be handled in the path_converter function. path_converter https://hg.python.org/cpython/file/5d4b6a57d5fd/Modules/posixmodule.c#l698 path_converter could be moved to Python/fileutils.c to make it available for use by other modules such as io. -- nosy: +eryksun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4071 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23553] Reduce the number of comparisons for range checking.
Raymond Hettinger added the comment: FWIW, here is a small patch to show how this could can be done consistently and with code clarity. -- title: Reduce the number of comparison for range checking. - Reduce the number of comparisons for range checking. Added file: http://bugs.python.org/file38293/valid_index.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23553 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23513] Add support for classes/object model in multiprocessing/pickle
Davin Potts added the comment: The runnable example in the attached file, issue_23513_play.py, suggests a way to preserve the inheritance of the Result class in any subclasses of Thing yet leaves the definition of Thing.worker as the OP first had it (in the most straightforward way). In creating other processes, the authors of multiprocessing needed a way to communicate objects from one process to another and the choice of pickle for serialization does require us to adjust our thinking a little but it does not mean we have to lose being pythonic. Independent of whether multiprocessing is involved or not, returning a Result object from an instancemethod of another class might work without the definition of the Result class being in the current namespace, but it feels like a much more comprehensive solution to have the Result class available in the current namespace. The attached proposes defining the Result class outside of the Thing class yet then adding it as a class attribute of Thing -- this gives both inheritability (which was missing in the simple example) and visibility for pickling. The convenience of a function like wrap_worker is just one tool that helps pickle figure out how to do its job -- this is part of a larger discussion around pickle and how to gracefully deal with non-trivial situations. The attached is not being proposed as a final solution but does it help with your situation in particular? Do parts of it look useful? -- Added file: http://bugs.python.org/file38292/issue_23513_play.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23513 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
Cyd Haselton added the comment: Ryan, Thanks. First commit in; all fixes for Android's broken mbstowcs, new plat-android and plat-android/DLFCN.py. What are you trying to build? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20521] [PATCH] Cleanup for dis module documentation
Roundup Robot added the comment: New changeset 617feb5d8af2 by Berker Peksag in branch '3.4': Issue #20521: Change ``TOS`` to TOS in dis documentation. https://hg.python.org/cpython/rev/617feb5d8af2 New changeset a331d71bdc0a by Berker Peksag in branch 'default': Issue #20521: Change ``TOS`` to TOS in dis documentation. https://hg.python.org/cpython/rev/a331d71bdc0a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20521 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20521] Cleanup for dis module documentation
Berker Peksag added the comment: Thanks for the patch, Sven. Most of the changes in your patch have already been fixed in issue 22845. Just committed the ``TOS`` - TOS part of the patch. -- nosy: +berker.peksag resolution: - fixed stage: patch review - resolved status: open - closed title: [PATCH] Cleanup for dis module documentation - Cleanup for dis module documentation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20521 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23477] Increase coverage for wsgiref module
Roundup Robot added the comment: New changeset 9f2ef8654bf8 by Berker Peksag in branch '3.4': Issue #23477: Improve test coverage of wsgiref.simple_server. https://hg.python.org/cpython/rev/9f2ef8654bf8 New changeset 0c786d1fb372 by Berker Peksag in branch 'default': Issue #23477: Improve test coverage of wsgiref.simple_server. https://hg.python.org/cpython/rev/0c786d1fb372 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23477 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23477] Increase coverage for wsgiref module
Berker Peksag added the comment: Thanks for the patch, Alex. -- resolution: - fixed stage: patch review - resolved status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23477 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23527] test_smtpnet uses incorrect port for STARTTLS
Roundup Robot added the comment: New changeset 06d69688ea06 by Berker Peksag in branch '3.4': Issue #23527: Update Gmail port number for STARTTLS to 587. https://hg.python.org/cpython/rev/06d69688ea06 New changeset 9ff477cd79da by Berker Peksag in branch 'default': Issue #23527: Update Gmail port number for STARTTLS to 587. https://hg.python.org/cpython/rev/9ff477cd79da -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23527 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23527] test_smtpnet uses incorrect port for STARTTLS
Berker Peksag added the comment: Good catch. The test is skipped as Resource 'smtp.gmail.com' is not available on my machine. See https://support.google.com/mail/answer/13287 for reference. Thanks for the patch. -- nosy: +berker.peksag resolution: - fixed stage: - resolved status: open - closed versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23527 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23004] mock_open() should allow reading binary data
Berker Peksag added the comment: LGTM. -- components: +Library (Lib) stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23004 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html
Éric Araujo added the comment: IIRC the table was added in a 3.x branch and backported to 2.7; the developer doing the backport added the functions missing in 3.x to the end of the table, thinking that re-ordering was not worth the trouble. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23512 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23552] Have timeit warn about runs that are not independent of each other
Serhiy Storchaka added the comment: May be add an option to control a warning (e.g. turn it off when Python run with -Wignore)? May be write warning to stderr? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23552 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html
Ezio Melotti added the comment: That was me in #10299 (the issue contains a discussion about the ordering in the last few messages). Since there are only 4 functions, I think it would be ok removing them from the table and instead add a sentence like In addition, there are other 4 built-in functions that are no longer considered essential: apply, buffer, coerce, and intern. They are documented in the Non-essential Built-in Functions section.. See also #16927 for a proposed grouping that might help solve this issue. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23512 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22832] Tweak parameter names for fcntl module
Alex Shkop added the comment: This patch fixes pointed out bugs in documentation and docstring for ioctl() function. -- Added file: http://bugs.python.org/file38295/issue22832_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22832 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23504] Add __all__ into types
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23504 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23455] file iterator deemed broken; can resume after StopIteration
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23455 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23460] Decimals do not obey ':g' exponential notation formatting rules
Ezio Melotti added the comment: Should we add a note to the format docs, or just close this? -- nosy: +ezio.melotti, mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23460 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23469] Delete Misc/*.wpr files
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23469 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue433028] SRE: (?flag:...) is not supported
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue433028 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23493] optimize sort_keys in json module by using operator.itemgetter()
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23493 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20408] memoryview() constructor documentation error
Stefan Krah added the comment: I agree that obj would be nicer. On the other hand we explicitly test for object in the tests, help(memoryview) says object and pypy accepts object. Also, I think there may be other instances in the tree where reserved names are used for parameters. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20408 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22791] datetime.utcfromtimestamp() shoud have option for create tz aware datetime
Roundup Robot added the comment: New changeset 4a590c66070d by Alexander Belopolsky in branch 'default': Closes issue #22791: Improved datetime from timestamp methods documentation. https://hg.python.org/cpython/rev/4a590c66070d -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22791 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22791] datetime.utcfromtimestamp() shoud have option for create tz aware datetime
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22791 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22752] incorrect time.timezone value
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22752 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22840] strpdate('20141110', '%Y%m%d%H%S') returns wrong date
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22840 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20210] Provide configure options to enable/disable Python modules and extensions
Mark Lawrence added the comment: @Thomas do you intend following this up as people certainly seem interested? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20210 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6701] Make custom xmlrpc extension easier
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +loewis versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6701 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23539] Content-length not set for HTTP methods expecting body when body is None
Demian Brecht added the comment: but I wonder if that goes beyond the scope of this issue? I think it’s worthwhile to fix it while you’re already working on the logic there. I’d consider Content-Type being set for methods not expecting it as a (very) minor bug and it’s better to clear up the inconsistent behaviour. That said, it /is/ breaking backwards compatibility (however slightly) and would likely need to get sign-off from a couple core devs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23558] Unable to install Python 3.4.3 amd64 on Windows 8.1
New submission from Ryan Neve: Much like issue 22648. Windows 8.1, I had version 3.4.1 and installed 3.4.3 without first uninstalling earlier version. Tried uninstalling older versions and it failed with: A program required for this install to complete could not be run. Windows uninstall window showing 3.4.3 installed when it isn't really. Tried re-installing 3.4.1 to then uninstall it, but install failed as well. Also tried repair, but that failed as well. Nothing will install or uninstall now. stuck. -- components: Installation, Windows files: log.txt messages: 236965 nosy: Ryan Neve, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Unable to install Python 3.4.3 amd64 on Windows 8.1 type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file38286/log.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23558 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8576] test_support.find_unused_port can cause socket conflicts on Windows
Mark Lawrence added the comment: find_unused_port is only defined in test.support. It is tested in test.test_support. This solution might not be ideal but if it ain't broke, don't fix it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8576 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23539] Content-length not set for HTTP methods expecting body when body is None
James Rutherford added the comment: My feeling is that '' implies present but empty (so should have a content-length set to zero), whereas None implies missing (so should only have a content-length header set to zero if the method is expecting a body. ... In light of that, I think that HTTPConnection(‘example.com’).request(‘GET’, ‘/‘, ‘’) and HTTPConnection(‘example.com’).request(‘GET’, ‘/‘) should result in identical headers with no Content-Length set. I get your reasoning here, but I wonder if that goes beyond the scope of this issue? My initial thinking was the same, but then realised that was inconsistent with the current behaviour. For example, a GET with '' in the body already sets content-length: 0, but a GET with None for the body doesn't set a content length at all. I haven't changed this behaviour in my patch, except for PUT, POST, and PATCH where None and '' are now equivalent for those methods. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23558] Unable to install Python 3.4.3 amd64 on Windows 8.1
Ryan Neve added the comment: Turns out I had accidentally installed 3.4.3 32 bit over 3.4.1 64 bit. I re-installed 3.4.1 32 bit, then un-installed it, then I was able to install 3.4.1 x64. I also tried installing and un-installing 3.5 which worked fine but didn't fix anything. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23558 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4071] ntpath.abspath fails for long str paths
Mark Lawrence added the comment: Can we close this as I'm not aware of any possible way to fix this? See also issue1776160. -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4071 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com