[issue16074] Bad error message in os.rename, os.link, and os.symlink

2013-12-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Is there any possibility this ticket could be committed in Python 3.4? If yes, it would be good because we would have a good foundation for creating better error message in Python 3.5. Anyway, I check Python's competitors' behaviour. Ruby displays both files.

[issue20019] platform.py line _sys_version function

2013-12-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Closing, since there's nothing much we can do about the problem. -- resolution: - invalid status: open - closed versions: +3rd party -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue20022] modernize the Mac bundlebuilder.py script

2013-12-19 Thread Ned Deily
Ned Deily added the comment: bundlebuild.py is a deprecated legacy tool that has been superseded by the third-party py2app. AFAIK, its only use in Python 3 is to build PythonLauncher.app; it is not included in a Python installation. Rather than refactor it, its use should be eliminated in

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm working on an update for your patch that addresses these comments: * I don't like supporting 128 bit integers because Apple's public APIs don't support those values. That is, the value 'kCFNumberSInt128Type' is not in a public header for the OSX 10.9

[issue20023] _csv.Dialect() does not check type for delimiter, escapechar and quotechar fields

2013-12-19 Thread STINNER Victor
New submission from STINNER Victor: Example: $ ./python -c import _csv; _csv.Dialect(escapechar=b'x') python: Python/ceval.c:4262: call_function: Assertion `(x != ((void *)0) !PyErr_Occurred()) || (x == ((void *)0) PyErr_Occurred())' failed. Abandon (core dumped) Attached patch should fix

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch should fix the open issues: * Negative integers are supported (based on Serhiy's patch), but without support for 128-bit integer (as per my previous comment) * Test updates for this * Updated version tags in the documentation *

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: * I don't like supporting 128 bit integers because Apple's public APIs don't support those values. That is, the value 'kCFNumberSInt128Type' is not in a public header for the OSX 10.9 SDK. At least we should support integers from -2**63 to 2**64-1

[issue7464] circular reference in HTTPResponse by urllib2

2013-12-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here it is. Notice the incredible nesting depth in python 2.7. The socket itself is found at response.fp._sock.fp._sock There are two socket._fileobjects in use! -- Added file: http://bugs.python.org/file33205/httpleak.py

[issue20023] _csv.Dialect() does not check type for delimiter, escapechar and quotechar fields

2013-12-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Bear in the mind, the bug is only reproducible with debug flag (--with-pydebug). Victor, we have a more complete solution for this problem in #18829. -- nosy: +vajrasky ___ Python tracker rep...@bugs.python.org

[issue20023] _csv.Dialect() does not check type for delimiter, escapechar and quotechar fields

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue18829. -- resolution: - duplicate superseder: - csv produces confusing error message when passed a non-string delimiter ___ Python tracker rep...@bugs.python.org

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18829 ___ ___

[issue19713] Deprecate various things in importlib thanks to PEP 451

2013-12-19 Thread Nick Coghlan
Nick Coghlan added the comment: Please don't emit a deprecation warning for loaders that only implement load_module - there are still things load_module can do that create/exec can't, and it's still possible it will remain the long term API for those use cases. Plus builtins and extensions

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Attached a script (using PyObjC) that demonstrates the behavior of Apple's Foundation framework with large integers. The same behavior should occur when the script is rewritten in Objective-C. -- Added file:

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Updated patch. -- Added file: http://bugs.python.org/file33207/negative_int_support-2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14455 ___

[issue20024] Py_BuildValue() can call Python code with an exception set

2013-12-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file33209/parsermodule.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20024 ___

[issue20024] Py_BuildValue() can call Python code with an exception set

2013-12-19 Thread STINNER Victor
New submission from STINNER Victor: In Python 3.4, an assertion now checks that no exception is set when arbitrary Python code is called. Python code may suppress the exception. When Py_BuildValue() is used to build a tuple and an error when the creation of an item failed, the function may

[issue20024] Py_BuildValue() can call Python code with an exception set

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: parsermodule.patch: fix usage of Py_BuildValue() in the parser module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20024 ___

[issue20025] ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is negative

2013-12-19 Thread STINNER Victor
New submission from STINNER Victor: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() should raise a ValueError, not a SystemError, if num is negative. Attached patch fixes that. -- files: ssl_rand.patch keywords: patch messages: 206604 nosy: christian.heimes, haypo, serhiy.storchaka

[issue20025] ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is negative

2013-12-19 Thread Christian Heimes
Christian Heimes added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20025 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19902] logging docs don't document integer constants

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16bfddf5a091 by Vinay Sajip in branch '2.7': Issue #19902: Added list of logging levels. http://hg.python.org/cpython/rev/16bfddf5a091 New changeset e812094d42f9 by Vinay Sajip in branch '3.3': Issue #19902: Added list of logging levels.

[issue19946] Handle a non-importable __main__ in multiprocessing

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 460961e80e31 by Nick Coghlan in branch 'default': Issue #19946: appropriately skip new multiprocessing tests http://hg.python.org/cpython/rev/460961e80e31 -- ___ Python tracker rep...@bugs.python.org

[issue20020] modernize the modulefinder module

2013-12-19 Thread Thomas Heller
Thomas Heller added the comment: I have written a new modulefinder based on importlib. It is not a refactoring of the old one, so it is no plug-in replacement. Instead it has some new features: - Better logging output - collects dependencies (self._depgraph maps module names to callers) -

[issue20022] modernize the Mac bundlebuilder.py script

2013-12-19 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- keywords: +needs review, patch stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20022 ___

[issue20022] modernize the Mac bundlebuilder.py script

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Removing bundle builder should be easy enough if it is only used to create the PythonLauncher application bundle: that bundle does not contain python code at all and constructing it is just a matter of copying files to the right location. The attached patch

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread STINNER Victor
New submission from STINNER Victor: The C function pysqlite_connection_init() doesn't check if pysqlite_connection_set_isolation_level() failed or not. Attached patch fixes that. -- files: sqlite.patch keywords: patch messages: 206610 nosy: haypo priority: normal severity: normal

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: $ python Python 3.4.0b1 (default:298d98486794+, Dec 19 2013, 13:45:07) [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux Type help, copyright, credits or license for more information. import sqlite3 con=sqlite3.connect(:memory:, isolation_level=3) python:

[issue16136] Removal of VMS support

2013-12-19 Thread Christian Heimes
Christian Heimes added the comment: Unless somebody says otherwise I'm going to remove VMS-related code over the course of the next couple of days. PEP 11 says: Name: VMS (issue 16136) Unsupported in: Python 3.3 Code removed in: Python 3.4 -- ___

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ed75e36be8e by Serhiy Storchaka in branch '2.7': Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and http://hg.python.org/cpython/rev/5ed75e36be8e New changeset 52d03fbdf67a by Serhiy Storchaka in branch '3.3': Issue #18829:

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Vajrasky for your patch. I have simplified and fixed (escapechar can be empty) it. Reverted ValueError back to TypeError because ord() raises TypeError for non-1-character strings. -- ___ Python tracker

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18829

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't test on OSX, but I see that Apple's code can write any 128-bit integers and read signed and unsigned 64-bit integers. Can Apple's utilities read this file? What is a result? -- Added file:

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread gudge
gudge added the comment: 1) Can I get a list of failures. The summary of test results which I compare on my machine. 2) - import ssl ssl.cert_time_to_seconds(May 9 00:00:00 2007 GMT)

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread gudge
gudge added the comment: Sorry I think I did not read msg205774 (1st comment) correctly. It clearly says: cert_time_to_seconds() uses `time.mktime()` [1] to convert utc time tuple to seconds since epoch. `mktime()` works with local time. It should use `calendar.timegm()` analog instead. So

[issue20019] platform.py line _sys_version function

2013-12-19 Thread Wes
Wes added the comment: I'll submit this to Continuum Analytics so they know it's their issue. On Thu, Dec 19, 2013 at 3:06 AM, Marc-Andre Lemburg rep...@bugs.python.orgwrote: Marc-Andre Lemburg added the comment: Closing, since there's nothing much we can do about the problem. --

[issue14455] plistlib unable to read json and binary plist files

2013-12-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Conversion to XML results in: $ plutil -convert xml1 -o - 18446744073709551615.plist ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keya/key

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: So the function cert_time_to_seconds() has to be fixed? Yes! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19940 ___

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: - haypo components: +Library (Lib) nosy: +serhiy.storchaka stage: - commit review type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20026

[issue20025] ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is negative

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - haypo stage: - commit review type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20025 ___

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11a161cf0e5d by Victor Stinner in branch '3.3': Issue #20026: Fix the sqlite module to handle correctly invalid isolation level http://hg.python.org/cpython/rev/11a161cf0e5d New changeset f9b6c8ef55b6 by Victor Stinner in branch 'default': (Merge

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - pending versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20026 ___

[issue20026] sqlite: handle correctly invalid isolation_level

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 572e4b054899 by Victor Stinner in branch '2.7': Issue #20026: Fix the sqlite module to handle correctly invalid isolation level http://hg.python.org/cpython/rev/572e4b054899 -- ___ Python tracker

[issue20023] _csv.Dialect() does not check type for delimiter, escapechar and quotechar fields

2013-12-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20023 ___ ___

[issue20025] ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is negative

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68ec8949dbf1 by Victor Stinner in branch '3.3': Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a http://hg.python.org/cpython/rev/68ec8949dbf1 New changeset c1d2c90ece99 by Victor Stinner in branch 'default': (Merge 3.3) Issue

[issue20025] ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is negative

2013-12-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20025 ___

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: Updated patch to address Guido's comments. -- Added file: http://bugs.python.org/file33214/asyncio_log_traceback-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19967

[issue20024] Py_BuildValue() can call Python code with an exception set

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20024 ___ ___

[issue19983] Ctrl-C at startup can end in a Py_FatalError call

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: init_error.patch: modify Py_Initialize() to exit with exit(1) instead of abort(), to not call the sytem fault handler (ex: dump a coredump on Linux, or open a popup on Windows). The patch calls also initsigs() before initfsencoding(), because

[issue19997] imghdr.what doesn't accept bytes paths

2013-12-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- dependencies: +Add unittests for imghdr module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19997 ___

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: So the new patch is fine, but I still think it's confusing that the _tb_logger variable has a different type depending on the Python version. If you really don't want to fix this, just go ahead and check in, it's not a blocker. --

[issue19493] Report skipped ctypes tests as skipped

2013-12-19 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: Added file: http://bugs.python.org/file33216/skip_tests_ctypes.v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19493 ___

[issue19493] Report skipped ctypes tests as skipped

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: Here's a new patch addressing your review comment, Serhiy. It also addresses some failures on Windows in test_values: Win_ValuesTestCase depends on 'pydll' being defined in the module toplevel and shadowing ctypes.pydll; this definition was removed some years

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread gudge
gudge added the comment: Patch is uploaded. I will also copy paste it. I have created the patch with git. Let me know if it is okay with you. If it is unacceptable I will try and create one for mercury Patch: -- diff --combined

[issue18576] Rename and document test.script_helper as test.support.script_helper

2013-12-19 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18576 ___ ___ Python-bugs-list

[issue16492] Add a load_parents argument to importlib.find_loader()

2013-12-19 Thread Eric Snow
Eric Snow added the comment: find_loader() is now deprecated and we're going to support auto-importing parent modules in find_spec() (see #19944) -- nosy: +eric.snow resolution: - duplicate stage: test needed - committed/rejected status: open - closed superseder: - Make

[issue19944] Make importlib.find_spec load packages as needed

2013-12-19 Thread Eric Snow
Eric Snow added the comment: I've closed #16492 in favor of this ticket. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19944 ___ ___

[issue19648] Empty tests in pickletester need to be implemented or removed

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: The patch looks good to me, but I can't claim to know enough about pickle to say whether the tests are correct. Alexandre or Antoine? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19648

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d805bee06e2 by Serhiy Storchaka in branch '2.7': Issue #5815: Fixed support for locales with modifiers. Fixed support for http://hg.python.org/cpython/rev/3d805bee06e2 New changeset 28883e89f335 by Serhiy Storchaka in branch '3.3': Issue #5815:

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed without devanagari special case and tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5815 ___

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Answering to your questions: I have created the patch with git. Let me know if it is okay with you. Yes, it's ok. Also, please don't copy / paste it. Uploading is enough. Doc changes won't effect the code. The tests would not fail. How would I check if

[issue20027] Fixed support for Indian locales

2013-12-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The locales alias table contains invalid entries for devanagari modifiers (see issue5815): 'ks_in@devanagari': 'ks...@devanagari.utf-8', 'sd': 'sd...@devanagari.utf-8', Here is a patch which

[issue777588] asyncore is broken for windows if connection is refused

2013-12-19 Thread Marc Schlaich
Changes by Marc Schlaich marc.schla...@googlemail.com: -- nosy: -schlamar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue777588 ___ ___

[issue20027] Fixed support for Indian locales

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file33219/locale_devanagari.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20027 ___

[issue20027] Fixed support for Indian locales

2013-12-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file33218/locale_aliases.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20027 ___

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For devanagari modifier opened new issue20027. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5815

[issue19683] test_minidom has many empty tests

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2737c0e7ba71 by Zachary Ware in branch '2.7': Issue #19683: Removed empty tests from test_minidom. http://hg.python.org/cpython/rev/2737c0e7ba71 New changeset 5e510117b71a by Zachary Ware in branch '3.3': Issue #19683: Removed empty tests from

[issue19683] test_minidom has many empty tests

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the removal patch, Ajitesh! Julian, are you still working on implementing the tests on default? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19683

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: So the new patch is fine, but I still think it's confusing that the _tb_logger variable has a different type depending on the Python version. To be honest, I'm also concerned by this strange variable :-) Here is a new fix which reuses the name used in the

[issue19683] test_minidom has many empty tests

2013-12-19 Thread Julian Gindi
Julian Gindi added the comment: I have not started yet, wasn't completely sure of the status of this. I'll get going filling in those tests to the best of my ability. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19683

[issue19683] test_minidom has many empty tests

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: Alright, sounds good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19683 ___ ___ Python-bugs-list mailing list

[issue19683] test_minidom has many empty tests

2013-12-19 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- versions: +Python 3.4 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19683 ___ ___

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: asyncio_log_traceback-5.patch: new try :-) -- Added file: http://bugs.python.org/file33221/asyncio_log_traceback-5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19967

[issue19493] Report skipped ctypes tests as skipped

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't say anything about pydll, other changes LGTM. Except that I'm not sure that test_wintypes needs a fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19493

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread STINNER Victor
STINNER Victor added the comment: Buildbot failure: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.3/builds/1314/steps/test/logs/stdio == ERROR: test_locale_alias (test.test_locale.NormalizeTest)

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0675408f4af by Serhiy Storchaka in branch '2.7': Don't use sebTest() in tests for issue #5815. http://hg.python.org/cpython/rev/e0675408f4af New changeset ed16f6695638 by Serhiy Storchaka in branch '3.3': Don't use sebTest() in tests for issue

[issue5815] locale.getdefaultlocale() missing corner case

2013-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, thanks Victor. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5815 ___

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: Looks good. I can fix that long line myself. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19967 ___

[issue19493] Report skipped ctypes tests as skipped

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: I'd prefer to keep the change to test_wintypes, simply because I was rather surprised to find an extra test being run on Windows. As for the pydll/pythonapi issue, any thoughts from Amaury, Meador, or Alexander? The relevant change that removed the definition

[issue19946] Handle a non-importable __main__ in multiprocessing

2013-12-19 Thread Christian Heimes
Christian Heimes added the comment: The OpenIndiana tests are still failing. OpenIndiana doesn't support forkserver because it doesn't implement the send handle feature. The patch skips the forkserver tests if HAVE_SEND_HANDLE is false. -- Added file:

[issue17202] Add .bat line to .hgeol

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: Any objections to proceeding with this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17202 ___ ___

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e9728ebb1d3 by Victor Stinner in branch 'default': Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor in http://hg.python.org/cpython/rev/5e9728ebb1d3 -- nosy: +python-dev resolution: - fixed stage: -

[issue19946] Handle a non-importable __main__ in multiprocessing

2013-12-19 Thread Nick Coghlan
Nick Coghlan added the comment: I think that needs to be fixed on the multiprocessing side rather than just in the tests - we shouldn't create a concrete context for a start method that isn't going to work on that platform. Finding that kind of discrepancy was part of my rationale for basing the

[issue19713] Deprecate various things in importlib thanks to PEP 451

2013-12-19 Thread Eric Snow
Eric Snow added the comment: I'm glad you spoke up, Nick. Holding off on the DeprecationWarnings is fine with me. It's not like we are going to drop support for the APIs before Python 4! That said, DeprecationWarnings are disabled by default. So how big a deal do you think it is to leave

[issue19946] Handle a non-importable __main__ in multiprocessing

2013-12-19 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 19/12/2013 10:00 pm, Nick Coghlan wrote: I think that needs to be fixed on the multiprocessing side rather than just in the tests - we shouldn't create a concrete context for a start method that isn't going to work on that platform. Finding that kind of

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this patch is bad and should be reverted. It always calls traceback.format_exception() which is an expensive operation, while the _TracebackLogger takes care to call it only when necessary. -- assignee: - haypo status: closed - open

[issue19967] asyncio: remove _TracebackLogger

2013-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: Eew. You're right. Sorry I didn't see this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19967 ___ ___

[issue19713] Deprecate various things in importlib thanks to PEP 451

2013-12-19 Thread Nick Coghlan
Nick Coghlan added the comment: Test suites enable deprecation warnings by default, and many projects have a no warnings allowed rule. By adding programmatic deprecation warnings for the old APIs where there's no other way to it in a 3.3 compatible way, we make things more difficult for people

[issue19946] Handle a non-importable __main__ in multiprocessing

2013-12-19 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, I should have looked more closely at the docs to see if there was a public API for that before poking around in the package internals. In that case, I suggest we change this bit in the test: # We look inside the context module to find out which #

[issue19713] Deprecate various things in importlib thanks to PEP 451

2013-12-19 Thread Eric Snow
Eric Snow added the comment: Sounds good. Thanks for the explanation. It sounds like you're effectively concerned just with finder.find_module() and loader.load_module() (which is fine with me). Everything else (including some of the ABCs) is 3.3-only. For the sake of simplicity I could

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2013-12-19 Thread Alan Justino
Alan Justino added the comment: Seems to affect 2.7 too. -- nosy: +alanjds versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___

[issue19524] ResourceWarning when urlopen() forgets the HTTPConnection object

2013-12-19 Thread Martin Panter
Martin Panter added the comment: How is it safer to manually set “h.sock._closed”? Playing with the internals of HTTPConnection is one thing, but playing with the internals of the socket object as well does not seem necessary. Also the ResourceWarning is warning that the socket and connection

[issue20028] Confusing error message when giving invalid quotechar in initializing csv dialect

2013-12-19 Thread Vajrasky Kok
New submission from Vajrasky Kok: Python 3.4.0b1 (default:13a505260f17, Dec 20 2013, 12:02:44) [GCC 4.7.2] on linux import _csv import csv _csv.Dialect(quotechar=b'+') Traceback (most recent call last): File stdin, line 1, in module TypeError: quotechar must be string, not bytes Hey,

[issue19977] Use surrogateescape error handler for sys.stdin and sys.stdout on UNIX for the C locale

2013-12-19 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19977 ___ ___ Python-bugs-list

[issue16000] test_curses should use unittest

2013-12-19 Thread Zachary Ware
Zachary Ware added the comment: It's only taken me 6 months, but I'm looking at this issue again :) Ed, basically the only reason I used setUpModule was because it was a very direct translation from test_main to setUpModule--only the name and signature changed, the skip and initialization

[issue20009] Property should expose wrapped function.

2013-12-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, ncoghlan versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20009 ___

[issue20029] asyncio.SubprocessProtocol is missing

2013-12-19 Thread akira
New submission from akira: `SubprocessProtocol` is documented to be accessible as `asyncio.SubprocessProtocol` [1] but it is not included in `asyncio.protocols.__all__` [2] that leads to `AttributeError`: python3.4 -c import asyncio; asyncio.SubprocessProtocol Traceback (most recent

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-19 Thread akira
akira added the comment: gudge, have you seen http://bugs.python.org/msg205860 (the locale issue)? If you can't fix it; say so, I'll open another issue after this issue is fixed. -- ___ Python tracker rep...@bugs.python.org

[issue20028] Confusing error message when giving invalid quotechar in initializing csv dialect

2013-12-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the preliminary patch for Python 3.3 and 3.4. -- keywords: +patch Added file: http://bugs.python.org/file33224/fix_handling_invalid_quotechar.patch ___ Python tracker rep...@bugs.python.org

[issue20028] Confusing error message when giving invalid quotechar in initializing csv dialect

2013-12-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the preliminary patch for Python 2.7. -- Added file: http://bugs.python.org/file33225/fix_handling_invalid_quotechar_python27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20028

[issue20028] Confusing error message when giving invalid quotechar in initializing csv dialect

2013-12-19 Thread Vajrasky Kok
Changes by Vajrasky Kok sky@speaklikeaking.com: Removed file: http://bugs.python.org/file33225/fix_handling_invalid_quotechar_python27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20028

[issue20028] Confusing error message when giving invalid quotechar in initializing csv dialect

2013-12-19 Thread Vajrasky Kok
Changes by Vajrasky Kok sky@speaklikeaking.com: Added file: http://bugs.python.org/file33226/fix_handling_invalid_quotechar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20028 ___

  1   2   >