[issue23051] multiprocessing.pool methods imap() and imap_unordered() cause deadlock

2014-12-15 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23051 ___ ___ Python-bugs-list mailing list

[issue23052] python2.7.9 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)

2014-12-15 Thread binbjz
binbjz added the comment: I have added code to disable global verification on phsphere. It works well. thanks. -- resolution: not a bug - type: behavior - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23052

[issue22706] Idle extension configuration and key bindings

2014-12-15 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Need some clarification on this issue. I tried changing the cfgBindings for FormatParagraph. It creates a new key-set and writes the changes to user config-keys.cfg in ~/.idlerc(the keybindings). Any changes made to FormatParagraph in extension dialog(the

[issue23015] Improve test_uuid

2014-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f972583c7c4f by Serhiy Storchaka in branch '2.7': Issue #23015: Improved testing of the uuid module. https://hg.python.org/cpython/rev/f972583c7c4f New changeset 3551dc8af54e by Serhiy Storchaka in branch '3.4': Issue #23015: Improved testing of

[issue22777] Test pickling with all protocols

2014-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9927781e457f by Serhiy Storchaka in branch '2.7': Issue #22777: Test pickling with all protocols. https://hg.python.org/cpython/rev/9927781e457f New changeset 04c9fffde184 by Serhiy Storchaka in branch '3.4': Issue #22777: Test pickling with all

[issue23015] Improve test_uuid

2014-12-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23015

[issue22777] Test pickling with all protocols

2014-12-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22777 ___

[issue22818] Deprecate splitting on possible zero-width re patterns

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I there are no objections I'm going to commit the patch soon. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22818 ___

[issue22826] Support context management protocol in bkfile

2014-12-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22826 ___ ___

[issue19858] Make pickletools.optimize aware of the MEMOIZE opcode.

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19858 ___ ___ Python-bugs-list

[issue18473] some objects pickled by Python 3.x are not unpicklable in Python 2.x because of incorrect REVERSE_IMPORT_MAPPING

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18473 ___ ___ Python-bugs-list

[issue22783] Pickle: use NEWOBJ instead of NEWOBJ_EX if possible

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22783 ___ ___ Python-bugs-list

[issue15513] Correct __sizeof__ support for pickle

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15513 ___ ___ Python-bugs-list

[issue21279] str.translate documentation incomplete

2014-12-15 Thread John Posner
John Posner added the comment: Kindly ignore message #2 on the Rietveld page (sorry for the channel noise). Here's my suggested revision: Return a copy of the string *str* in which each character has been mapped through the given translation *table*. The table must be a subscriptable object,

[issue23053] test_urllib2_localnet fails without ssl

2014-12-15 Thread jan matejek
New submission from jan matejek: The pep 476 commit to Python 2.7 [1] adds unconditional import ssl to test_urllib2_localnet.py. This causes the test to fail with an ImportError if ssl module is not built. Note that like 5 lines later, ssl is imported conditionally, and all the relevant

[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread Joe Cabrera
New submission from Joe Cabrera: ConnectionError: ('Connection aborted.', BadStatusLine()) This error can also occur on Linux and Windows, a more descriptive error messages would be useful for people trying to debug their code. -- assignee: docs@python components: Documentation

[issue23053] test_urllib2_localnet fails without ssl

2014-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebe8917189a3 by Benjamin Peterson in branch '2.7': remove extra ssl imports (closes #23053) https://hg.python.org/cpython/rev/ebe8917189a3 New changeset 1da9e9eaeae8 by Benjamin Peterson in branch '3.4': remove extra ssl imports (closes #23053)

[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread R. David Murray
R. David Murray added the comment: I think you made a mistake in your copy and paste or retyping of that line, since it is not valid python syntax. What is not explicit about it? It is telling you there was a bad status line, and what the bad status line contents was. (Used to be you

[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread R. David Murray
R. David Murray added the comment: Perhaps part of your problem is that you are not getting the string representation of the error message. Is that because of your code, or is this representation something the stdlib is generating? -- ___ Python

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread STINNER Victor
STINNER Victor added the comment: These character encodings are legacy, but are still used. Do you have an idea of how many users still have documents stored or exchanged using these encodings? The patch is not trivial, the legacy japanese codecs are complex and so error prone :-/ For

[issue22875] asyncio: call_soon() documentation unclear on timing

2014-12-15 Thread STINNER Victor
STINNER Victor added the comment: Thanks Martin for your change, I commited it. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22875 ___

[issue22875] asyncio: call_soon() documentation unclear on timing

2014-12-15 Thread STINNER Victor
STINNER Victor added the comment: Oops, I forgot to mention the issue number in my commit. changeset: 93893:a59fed8c710b branch: 3.4 parent: 93891:1da9e9eaeae8 user:Victor Stinner victor.stin...@gmail.com date:Mon Dec 15 17:50:55 2014 +0100 files:

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-15 Thread Demian Brecht
Demian Brecht added the comment: + loewis as he's listed as the xmlrpc expert If you're worried about the number of lines, turn the function into a lambda: proxy = ServerProxy('http://example.com/gateway/', transport=Transport( connection_factory=lambda h: HTTPConnection(h,

[issue22875] asyncio: call_soon() documentation unclear on timing

2014-12-15 Thread STINNER Victor
STINNER Victor added the comment: FYI I added a new test to the aiotest project (test suite for asyncio), for this issue: https://bitbucket.org/haypo/aiotest/commits/17dd11fc2f4bafad623f940b1a33a3b8b0d39ccd -- ___ Python tracker

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Guido van Rossum
New submission from Guido van Rossum: Fix as reported by Guido Vranken on secur...@python.org, with minimal test by me. Needs: - review - port to 3.2--3.5 Questions: - Does my test case cover all changed code? -- assignee: gvanrossum files: vranken.diff keywords: needs review,

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread Tetsuya Morimoto
Tetsuya Morimoto added the comment: These character encodings are legacy, but are still used. Do you have an idea of how many users still have documents stored or exchanged using these encodings? Hmm, I guess iso-2022-jp codec is still default charset of MUA (Mail User Agent) on Japanese

[issue23056] tarfile raises an exception when reading an empty tar in streaming mode

2014-12-15 Thread Gregory P. Smith
New submission from Gregory P. Smith: $ cat test.py EOF import tarfile import sys with tarfile.open(sys.argv[1], mode=r|*) as f: while True: info = f.next() if not info: break EOF $ tar cf test.tar -T /dev/null $ python2.7 test.py test.tar Traceback (most recent call last):

[issue23041] csv needs more quoting rules

2014-12-15 Thread Samwyse
Samwyse added the comment: Yes, it's based on a real-world need. I work for a Fortune 500 company and we have an internal tool that exports CSV files using what I've described as the QUOTE_NOTNULL rules. I need to create similar files for re-importation. Right now, I have to post-process

[issue23041] csv needs more quoting rules

2014-12-15 Thread Skip Montanaro
Skip Montanaro added the comment: If I understand correctly, your software needs to distinguish between # wrote [foo, , 42, None] with quote_all in effect foo,,42, and # wrote [foo, None, 42, ] with quote_nonnull in effect foo,,42, so you in effect want to transmit some type information

[issue23057] asyncio loop on Windows should stop on keyboard interrupt

2014-12-15 Thread Andrew Svetlov
New submission from Andrew Svetlov: See http://stackoverflow.com/questions/27480967/why-does-the-asyncios-event-loop-suppress-the-keyboardinterrupt-on-windows for details -- components: asyncio messages: 232678 nosy: asvetlov, gvanrossum, haypo, yselivanov priority: normal severity:

[issue23058] argparse silently ignores arguments

2014-12-15 Thread Rémi Rampin
New submission from Rémi Rampin: This works correctly on Python 3.4. On Python 2.7, argparse seems to completely and silently ignore arguments in some conditions, for instance this setup will cause --verbose to be ignored on the main parser: options =

[issue23059] sort misc help topics in cmd

2014-12-15 Thread Samwyse
New submission from Samwyse: I've discovered that do_help method of cmd.Cmd prints the documented and undocumented commands in sorted order, but does not sort the miscellaneous topics. This would be an easy fix, just change self.print_topics(self.misc_header, help.keys(),15,80) to use

[issue23041] csv needs more quoting rules

2014-12-15 Thread Samwyse
Samwyse added the comment: Skip, I don't have any visibility into how the Java program I'm feeding data into works, I'm just trying to replicate the csv files that it exports as accurately as possible. It has several other quirks, but I can replicate all of them using Dialects; this is the

[issue23058] argparse silently ignores arguments

2014-12-15 Thread Rémi Rampin
Rémi Rampin added the comment: Interestingly, this worked before my upgrade 2.7.8 - 2.7.9. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23058 ___

[issue22826] Support context management protocol in bkfile

2014-12-15 Thread Berker Peksag
Berker Peksag added the comment: The second patch raises RuntimeError: maximum recursion depth exceeded if the target file is exist. File /home/berker/projects/cpython/default/Tools/freeze/bkfile.py, line 18, in close f.close() RuntimeError: maximum recursion depth exceeded

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread STINNER Victor
STINNER Victor added the comment: I refactored some parts of CJK codecs for performances, after the PEP 393 was implemented. A blocker point was that these codecs have very few tests. Not for valid data but for invalid data. It may be a little bit better. I tried to write a test for each path in

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: Another traditional issue with Japanese codecs is that people have different opinions on what the encoding should do. It may be that when we release the codec, somebody comes up and says that the codec is incorrect, and it should do something different for

[issue22783] Pickle: use NEWOBJ instead of NEWOBJ_EX if possible

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Some examples (with issue19858 for protocol 4 optimization). Unpatched: len(pickle.dumps([P(12, 34) for i in range(1000)], 3)) 17258 len(pickletools.optimize(pickle.dumps([P(12, 34) for i in range(1000)], 3))) 8018 len(pickle.dumps([P(i, -i) for i in

[issue22826] Support context management protocol in bkfile

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch Berker. Updated patch fixes recursion issue. -- Added file: http://bugs.python.org/file37456/bkfile3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22826

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

2014-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12ef799a9a51 by Zachary Ware in branch 'default': Issue #21740: Fix module name in NEWS entry. https://hg.python.org/cpython/rev/12ef799a9a51 -- ___ Python tracker rep...@bugs.python.org

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added a couple of comments. Here is a patch which fixes found bugs. 3.4+ is not affected by this bug. 3.2 looks same as 2.7 and is affected, 3.3 uses different code but at first glance looks affected too. Is it worth to fix this bug in 3.2 and 3.3?

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Guido van Rossum
Guido van Rossum added the comment: Thank you for digging into this! I'd say go ahead and update 3.2 and 3.3 too -- these are in security-fix-only mode meaning that we only fix security issues and don't do actual releases. But we still do security bugfixes: for 3.2 until February 2016 (PEP

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Guido Vranken
Guido Vranken added the comment: Serhiy Storchaka: good call on changing my 'n += (width + precision) 20 ? 20 : (width + precision);' into 'if (width precision) width = precision;', I didn't realize that sprintf's space requirement entails using the largest of the two instead of adding the

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Guido Vranken
Guido Vranken added the comment: I'd also like to add that, although I agree with Guido van Rossum that the likelihood of even triggering this bug in a general programming context is low, there are two buffer overflows at play here (one stack-based and one heap-based), and given an

[issue23004] mock_open() should allow reading binary data

2014-12-15 Thread Aaron Hill
Aaron Hill added the comment: I've fixed the issues you pointed out. Is there a better way than uploading a new patch file to make changes? -- Added file: http://bugs.python.org/file37458/mock-open-allow-binary-without-coerce-fixup.patch ___ Python

[issue23055] PyUnicode_FromFormatV crasher

2014-12-15 Thread Guido van Rossum
Guido van Rossum added the comment: I'd be much worried about attack scenarios if this function was part of the standard library. But it's not -- the stdlib's % operator uses completely different code. The most common use case is probably to generate error messages from extension modules --

[issue21279] str.translate documentation incomplete

2014-12-15 Thread Martin Panter
Martin Panter added the comment: I’m largely happy with any of these revisions. If I end up doing another patch I would omit the *str* (it is a class name, not a parameter). Also I would omit the range(2^20) claim. Unless people think it is important; why is it different to sys.maxunicode + 1

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2014-12-15 Thread Martin Panter
Martin Panter added the comment: There could be potential for breaking compatibility if people are intentionally sending values with folded lines (obsoleted by the new HTTP RFC). Perhaps the same error should be raised for values that cannot be encoded in Latin-1? Also, maybe most control

[issue23060] Assert fails in multiprocessing.heap.Arena.__setstate__ on Windows

2014-12-15 Thread Steve Dower
New submission from Steve Dower: Currently, the implementation of __setstate__ at Lib/multiprocessing/heap.py:54 looks like this: def __setstate__(self, state): self.size, self.name = self._state = state self.buffer = mmap.mmap(-1, self.size, tagname=self.name) assert

[issue23060] Assert fails in multiprocessing.heap.Arena.__setstate__ on Windows

2014-12-15 Thread Steve Dower
Steve Dower added the comment: A buildbot failure due to this can be seen here: http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/183/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org

[issue23059] cmd module should sort misc help topics

2014-12-15 Thread Samwyse
Changes by Samwyse samw...@gmail.com: -- title: sort misc help topics in cmd - cmd module should sort misc help topics ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23059 ___

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2014-12-15 Thread Eric Snow
Eric Snow added the comment: Thanks for bringing this up, Brett. The goal and approach seem good to me. Did you bring this up during the PEP 451 discussions? If so, sorry I missed it. You've made a good point. And hopefully this will encourage people to subclass Loader more. :)

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2014-12-15 Thread Eric Snow
Eric Snow added the comment: At some point should we make create_module (and exec_module) always required? In other words, when should would drop the legacy loader support? I expect the answer is Python 4. :) -- ___ Python tracker

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2014-12-15 Thread Eric Snow
Eric Snow added the comment: Same here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19698 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread Tetsuya Morimoto
Tetsuya Morimoto added the comment: By error prone, it mean that it's easy to introduce a bug or a regression, since the code is complex and almost nobody maintains it. Indeed. Actually, I encountered some faults when I migrated original patch. The character encoding is a kind of specialty

[issue21720] TypeError: Item in ``from list'' not a string message

2014-12-15 Thread Ben Finney
Ben Finney added the comment: Is there room for a better resolution: fix the API so that Unicode objects are accepted in the ‘fromlist’ items? -- nosy: +bignose ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21720

[issue21720] TypeError: Item in ``from list'' not a string message

2014-12-15 Thread Ben Finney
Changes by Ben Finney ben+pyt...@benfinney.id.au: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21720 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23004] mock_open() should allow reading binary data

2014-12-15 Thread Demian Brecht
Demian Brecht added the comment: Thanks for the updated patch, looks good to me. If you haven't already read it, the patch workflow is here: https://docs.python.org/devguide/patch.html and is the only workflow currently available. -- ___ Python

[issue23004] mock_open() should allow reading binary data

2014-12-15 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23004 ___ ___

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-15 Thread Andrej A Antonov
Andrej A Antonov added the comment: @demian.brecht , socket.setdefaulttimeout([timeout]) -- it is bad practice, because setting this global varible we may spoil other cases. example TCP keepalive [ s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, true) ] and global variables is bad

[issue23050] Add Japanese legacy encodings

2014-12-15 Thread Tetsuya Morimoto
Tetsuya Morimoto added the comment: Another traditional issue with Japanese codecs is that people have different opinions on what the encoding should do. It may be that when we release the codec, somebody comes up and says that the codec is incorrect, and it should do something different

[issue22733] MSVC ffi_prep_args doesn't handle 64-bit arguments properly

2014-12-15 Thread Steve Dower
Steve Dower added the comment: This patch also resolves this test issue: [ 68/390/2] test_ttk_textonly test test_ttk_textonly crashed -- Traceback (most recent call last): File D:\...\lib\test\regrtest.py, line 1280, in runtest_inner test_runner() File

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2014-12-15 Thread Ian Lee
New submission from Ian Lee: Minor update pep8 to specify explicitly that Imports at top of file refers specifically to module level imports, per input from Nick Coghlan @ https://github.com/jcrocholl/pep8/pull/304#issuecomment-66939162 -- assignee: docs@python components:

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-15 Thread Andrej A Antonov
Andrej A Antonov added the comment: ok, let's go to other side of this problem: question: why default transport (xmlrpc.client.Transport()) is not setting value of timeout?`` answer: because *unknown* which value need to using by default. in various cases programmer need various timeout.

[issue22980] C extension naming doesn't take bitness into account

2014-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f70c16189876 by Steve Dower in branch 'default': #22980 Adds platform and version tags to .pyd files https://hg.python.org/cpython/rev/f70c16189876 -- nosy: +python-dev ___ Python tracker

[issue22980] C extension naming doesn't take bitness into account

2014-12-15 Thread Steve Dower
Steve Dower added the comment: Nobody seemed too bothered by it, so I committed a slightly simpler change that only includes the most specific tag (that is, .cp35-win32.pyd or .pyd). We can always add another tag easily enough if it seems useful, or roll this change back if it was a mistake.

[issue23062] test_argparse --version test cases

2014-12-15 Thread Martin Panter
New submission from Martin Panter: In Lib/test/test_argparse.py: class TestHelpVersionOptional(HelpTestCase): Test that the --version argument can be suppressed help messages Assuming that the docstring means something like “. . . can be suppressed _in_ help messages”, the test is wrong,

[issue22733] MSVC ffi_prep_args doesn't handle 64-bit arguments properly

2014-12-15 Thread Zachary Ware
Zachary Ware added the comment: I don't know near enough to comment on this one. If you feel confident in it, I'd say go ahead. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22733 ___

[issue23062] test_argparse --version test cases

2014-12-15 Thread Berker Peksag
Berker Peksag added the comment: I think that your analysis is correct. Also, looks like the original test is problematic: https://code.google.com/p/argparse/source/browse/test/test_argparse.py#3710 Here is a patch to fix the test. -- keywords: +patch nosy: +berker.peksag, bethard,

[issue9694] argparse required arguments displayed under optional arguments

2014-12-15 Thread Martin Panter
Martin Panter added the comment: Here is much larger patch in the spirit of Ryan’s, that fixes the documentation, adjusts the tests, and some of the internal comments and variable names in the source code as well. However if some changes are too controversial, I am happy to simplify it to

[issue22945] Ctypes inconsistent between Linux and OS X

2014-12-15 Thread Ned Deily
Ned Deily added the comment: Thanks, eryksun. Any objections to closing this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22945 ___

[issue22912] urlretreive locks up in 2.7.8

2014-12-15 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil -ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22912 ___ ___ Python-bugs-list

[issue22672] float arguments in scientific notation not supported by argparse

2014-12-15 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: -ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22672 ___ ___ Python-bugs-list mailing list

[issue22706] Idle extension configuration and key bindings

2014-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I alter an *extension* key binding (in the keys page of idle pref dialog), the change shows up in .idlerc/config-extensions.cfg, not config-keys.cfg. For instance, [ZoomHeight_cfgBindings] zoom-height = Control-Alt-Key-space If I also disable

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-15 Thread Demian Brecht
Demian Brecht added the comment: socket.setdefaulttimeout([timeout]) -- it is bad practice I'm not really arguing this. It solves the problem, but definitely not in the best of ways. My point in referencing setdefaulttimeout is that if /all/ you care about is the timeout and you're horribly

[issue23056] tarfile raises an exception when reading an empty tar in streaming mode

2014-12-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +larry, lars.gustaebel, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23056 ___

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-15 Thread Andrej A Antonov
Andrej A Antonov added the comment: if you NOT point timeout in RPC-client -- you program will freeze or will maked resource leak (with small probability). Assuming a lack of concurrency, your program will indeed freeze until the system timeout has been reached. I'm not sure about a leak.

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2014-12-15 Thread Marc Abramowitz
New submission from Marc Abramowitz: `python setup.py check --restructuredtext --strict --metadata` fails with: warning: check: Could not finish the parsing. if the RST document uses `code` or `code-block` directives. This is annoying because the document is valid, but it appears to be