[issue17126] test_gdb fails

2014-06-29 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a follow up on this please as most of the data in msg181358 is Double Dutch to me. -- nosy: +BreamoreBoy type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17126

[issue7229] Manual entry for time.daylight can be misleading

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7229 ___

[issue13128] httplib debuglevel on CONNECT doesn't print response headers

2014-06-29 Thread Mark Lawrence
Mark Lawrence added the comment: The httplib module has been renamed to http.client in Python 3, besides which the attached patch isn't in the standard format that is used here. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue12771] 2to3 -d adds extra whitespace

2014-06-29 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a response to this please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12771

[issue10552] Tools/unicode/gencodec.py error

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue10552] Tools/unicode/gencodec.py error

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +hynek, ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9267 ___

[issue15711] PEP 3121, 384 Refactoring applied to time module

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15711 ___

[issue15884] PEP 3121, 384 Refactoring applied to ctypes module

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - nosy: +amaury.forgeotdarc, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15884 ___

[issue15884] PEP 3121, 384 Refactoring applied to ctypes module

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15884 ___

[issue8810] TZ offset description is unclear in docs

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Isn't this a duplicate of #9305? -- assignee: belopolsky - versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8810 ___

[issue9305] Don't use east/west of UTC in date/time documentation

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- dependencies: +Don't use east/west of UTC in date/time documentation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9305 ___

[issue9305] Don't use east/west of UTC in date/time documentation

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This seems to be touching the same areas as #9305. -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9305 ___

[issue21740] doctest doesn't allow duck-typing callables

2014-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure, because it would also select classes. Is there any reason to preclude classes? They could reasonably have docstrings that contain doctests. I don't know. I just didn't want to change doctest behaviour too much, but if people more

[issue21715] Chaining exceptions at C level

2014-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hm, looks like you forgot to upload a patch! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21715 ___ ___

[issue9034] datetime module should use int32_t for date/time components

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9034 ___

[issue18236] str.isspace should use the Unicode White_Space property

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - keywords: -needs review, patch stage: commit review - needs patch versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue18236] str.isspace should use the Unicode White_Space property

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: For future reference, the code discussed above is in the following portion of the patch: -#define Py_UNICODE_ISSPACE(ch) \ -((ch) 128U ? _Py_ascii_whitespace[(ch)] : _PyUnicode_IsWhitespace(ch)) +#define Py_UNICODE_ISSPACE(ch)

[issue15870] PyType_FromSpec should take metaclass as an argument

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15870 ___

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Your latest patch doesn't have a review link. Would you like to regenerate it against the latest default? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-29 Thread Ned Deily
New submission from Ned Deily: Although the turtledemo modules are not run directly during by make test or by python -m test -uall, they are currently being inadvertently imported by test___all__. This can lead to test failures and side effects because some of the turtledemo modules execute

[issue9769] PyUnicode_FromFormatV() doesn't handle non-ascii text correctly

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9769 ___

[issue9256] plistlib should create non-naïve datetime objects

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - nosy: +hynek, ned.deily, ronaldoussoren versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9256

[issue9256] plistlib should create non-naïve datetime objects

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: - ronaldoussoren components: +Macintosh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9256 ___

[issue21878] wsgi.simple_server's wsgi.input read/readline waits forever in certain circumstances

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +pje ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21878 ___ ___ Python-bugs-list

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5288 ___

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: 1. test___all__ should be changed to exclude turtledemo modules. Agreed. In general, the test suite shouldn't open any GUI windows except if the gui resource is enabled (which isn't the default). The turtledemo behaviour is quite new in that regard.

[issue21679] Prevent extraneous fstat during open()

2014-06-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b5279b5bfd1 by Antoine Pitrou in branch 'default': Issue #21679: Prevent extraneous fstat() calls during open(). Patch by Bohuslav Kabrda. http://hg.python.org/cpython/rev/3b5279b5bfd1 -- nosy: +python-dev

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Eli, Given your last comment, are you still proposing your patch for inclusion or should we take the #8915 approach? -- assignee: belopolsky - nosy: -Alexander.Belopolsky versions: +Python 3.5 -Python 3.3

[issue21679] Prevent extraneous fstat during open()

2014-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you very much. I've committed the patch to the default branch (I've just moved the _blksize test to a separate method). -- resolution: - fixed stage: - resolved status: open - closed versions: -Python 3.4

[issue21740] doctest doesn't allow duck-typing callables

2014-06-29 Thread Guido van Rossum
Guido van Rossum added the comment: Class doctests are already supported separately, see https://docs.python.org/3/library/doctest.html#which-docstrings-are-examined -- nosy: +Guido.van.Rossum ___ Python tracker rep...@bugs.python.org

[issue12006] strptime should implement %V or %u directive from libc

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Ashley, I would like to include your patch in 3.5. Can you combine your doc and code changes in one diff and make sure it is up to date with the tip. Thanks. -- stage: patch review - commit review versions: +Python 3.5 -Python 3.3

[issue10342] trace module cannot produce coverage reports for zipped modules

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I updated the patch for 3.5. [Brett] I don't quite see the point of the get_source call as it isn't returned or used. It *is* used: it is passed to _find_strings_stream: +source = loader.get_source(modulename) +strs =

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- status: open - closed versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5207 ___

[issue14235] test_cmd.py does not correctly call reload()

2014-06-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d943089af1c6 by Berker Peksag in branch '3.4': Issue #14235: Use importlib.reload() in test_cmd.test_coverage. http://hg.python.org/cpython/rev/d943089af1c6 New changeset 10a1e7780ee7 by Berker Peksag in branch 'default': Issue #14235: Merge from

[issue1170] shlex have problems with parsing unicode

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1170 ___

[issue9398] Unify sys.settrace and sys.setprofile tests

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9398

[issue14235] test_cmd.py does not correctly call reload()

2014-06-29 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the report. -- assignee: eric.araujo - berker.peksag nosy: +berker.peksag, r.david.murray resolution: - fixed stage: - resolved status: open - closed versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since you are busy, I am planning to commit this tomorrow so I can review the extension config patch with this in place. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20577

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2014-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dependencies 19711 and 21099 are still open. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18864 ___ ___

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I updated the patch. Please note that it only includes python code, so you need to suppress _datetime acceleration to test: import sys sys.modules['_datetime'] = None from pickle import * from datetime import * dumps(timezone.utc)

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: Removed file: http://bugs.python.org/file17769/issue9051-utc-pickle-proto.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051 ___

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051 ___

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Hmm. Still no review link. Is there something special that I need to do to get it? Use different name, maybe? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Ned Deily
Ned Deily added the comment: FWIW, I see review links for both of your files: all the way over to the right in the Files section. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051

[issue9051] Improve pickle format for aware datetime instances

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I see review links for both of your files Now I do too. I guess they just take time to appear. Note that I unlinked the file that Antoine complained about. -- ___ Python tracker rep...@bugs.python.org

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21811 ___

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: 6. Add 'good citizenship' note to demohelp.txt. Also point out that all turtle initialiazation should be in main anyway (see 2. and 3. below). Demo should run independently of what other demos do. re 2: If the mode call is needed, it is a bug that it is not

[issue21883] relpath: Provide better errors when mixing bytes and strings

2014-06-29 Thread Matt Bachmann
New submission from Matt Bachmann: Howdy! I encountered this error when accidently passing in mixed types to reldir import os os.path.relpath('/Users/bachmann', b'.') Traceback (most recent call last): File stdin, line 1, in module File

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Read everything, looks plausible ;-). .run_checker assumes api: program name pat_to_something.py additional args I will download pyflakes tomorrow and see if everything works on Windows. If so, some immediate issues: 1. Only use tempfile if editor is 'dirty'.

[issue21883] relpath: Provide better errors when mixing bytes and strings

2014-06-29 Thread Matt Bachmann
Changes by Matt Bachmann bachmann.m...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file35805/error_message.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21883 ___

[issue21883] relpath: Provide better errors when mixing bytes and strings

2014-06-29 Thread Matt Bachmann
Changes by Matt Bachmann bachmann.m...@gmail.com: Removed file: http://bugs.python.org/file35805/error_message.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21883 ___

[issue21883] relpath: Provide better errors when mixing bytes and strings

2014-06-29 Thread Matt Bachmann
Matt Bachmann added the comment: Includes change and tests. The test is similar so I just broke out the logic -- Added file: http://bugs.python.org/file35806/error_message.patch ___ Python tracker rep...@bugs.python.org

[issue9554] test_argparse.py: use new unittest features

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9554 ___

[issue7229] Manual entry for time.daylight can be misleading

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7229 ___ ___

[issue10541] regrtest.py -T broken

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: commit review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10541 ___ ___

[issue15870] PyType_FromSpec should take metaclass as an argument

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: test needed - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15870 ___ ___

[issue5714] http.server._url_collapse_path should live elsewhere

2014-06-29 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: test needed - needs patch title: CGIHTTPServer._url_collapse_path_split should live elsewhere - http.server._url_collapse_path should live elsewhere ___ Python tracker

<    1   2