[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Steve Dower
Steve Dower added the comment: I'll try, but if it's not feasible now I doubt it will become feasible until the next installer revamp. Completely separate items are certainly okay. -- ___ Python tracker rep...@bugs.python.org

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread Martin Panter
Martin Panter added the comment: [Padding] Please start sentences with capital letters, specifically “mkstemp() and mkdtemp() are lower-level functions . . .”. The new sentence at the top about context managers seems out-of-place. Perhaps something like “They can also be used as context

[issue22468] Tarfile using fstat on GZip file object

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: msg227328 states it's not a really common scenario but I believe we must still allow for it, what do others think? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22468

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread Demian Brecht
Demian Brecht added the comment: FWIW, I've done some additional work to request/send in issue #12319 where I've added support for chunked request encoding. @David if an iterable is passed in, it must be an iterable of bytes-like objects This specific issue is addressed in the patch in

Re: Automation of Windows app?

2015-03-22 Thread Mark Lawrence
On 22/03/2015 23:54, vern.m...@gmail.com wrote: Check out Sikuli at www.sikuli.org. It is an amazing program, and it is scripted in Python (Jython actually)! Good luck. Only 2.7 again, when are we going to ban Luddites from this list? :) -- My fellow Pythonistas, ask not what our language

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Comment in Lib/tempfile.py mentions issue #23000, but should mention issue #23700. -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700

[issue1654408] Installer should split tcl/tk and tkinter install options.

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: @Steve what is your take on this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1654408 ___ ___

[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net

2015-03-22 Thread Ned Deily
Ned Deily added the comment: Here's an updated patch for 3.4 and default. To test it, I had to inject a faulty test server with a timeout error, as the test with the dead URL skips properly on my system. For 2.7, the test doesn't fail for me even with the injected server so I propose not

[issue22350] nntplib file write failure causes exception from QUIT command

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Well with a regular BufferedWriter, the chained exception is the same type as the original exception, so it does not really matter. I was just using the out-of-space exception as an easy way to get the body() method to abort in the middle of a command. The

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Martin Panter
New submission from Martin Panter: This patch adds the PEP 457 positional-only slash “/” indicator to some function signatures in the documentation. I only looked at the the os, builtin, binascii, zlib and fcntl modules, and their functions where the documentation incorrectly suggests that

[issue22832] Tweak parameter names for fcntl module

2015-03-22 Thread Martin Panter
Martin Panter added the comment: I opened Issue 23738 about my problem with the new signature, so it does not get forgotten. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22832 ___

[issue11410] Use GCC visibility attrs in PyAPI_*

2015-03-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11410 ___

[issue21313] Py_GetVersion() is broken when using mqueue and a long patch name

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Any comments on the proposal to restrict the length of the returned string from Py_GetBuildInfo() to 80 characters? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21313

[issue22079] Ensure in PyType_Ready() that base class of static type is static

2015-03-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22079 ___

[issue22933] Misleading sentence in doc for shutil.move

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5de4ee6aa4a by Benjamin Peterson in branch '3.4': clarify behavior of shutil.move when destination exists (closes #22933) https://hg.python.org/cpython/rev/e5de4ee6aa4a New changeset 4502e598fe26 by Benjamin Peterson in branch '2.7': clarify

[issue23642] Interaction of ModuleSpec and C Extension Modules

2015-03-22 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23642 ___ ___

[issue10482] subprocess and deadlock avoidance

2015-03-22 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10482 ___ ___ Python-bugs-list

[issue22079] Ensure in PyType_Ready() that base class of static type is static

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa79a04e9bf5 by Serhiy Storchaka in branch '2.7': Issue #22079: Py3k warning now is issued in PyType_Ready() instead of https://hg.python.org/cpython/rev/aa79a04e9bf5 New changeset 57a457ea84e4 by Serhiy Storchaka in branch '3.4': Issue #22079:

[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net

2015-03-22 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22289 ___ ___ Python-bugs-list

[issue22852] urllib.parse wrongly strips empty #fragment

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Posting patch v2 with these changes: * Split out scheme documentation fixes to Issue 23684. * Renamed _NetlocResultMixinBase → _SplitParseBase * Explained the default values of the flags better, and what None means * Changed to Demian’s forward-looking “version

[issue18407] Fix compiler warnings in pythoncore for Win64

2015-03-22 Thread Steve Dower
Steve Dower added the comment: Does the patch still apply cleanly? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18407 ___ ___ Python-bugs-list

[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9eb1ce7d8039 by Ned Deily in branch '3.4': Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. https://hg.python.org/cpython/rev/9eb1ce7d8039 New changeset 1aad901e0307 by Ned Deily in branch 'default': Issue #22289: merge

[issue1191964] add non-blocking read and write methods to subprocess.Popen

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Regarding special cases on the reading side, I think there should be an easy way to distinguish them. The existing RawIOBase way is probably as good as any, unless you want to take the chance to invent a better API: * EOF (pipe closed, no more data ever)

[issue22831] Use with to avoid possible fd leaks

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I forgot to publish my comments. I dropped the changes for treesync.py because treesync.py is not work with Python 3. I have written separate patch for it and will open separate issue after writing tests. --

[issue22350] nntplib file write failure causes exception from QUIT command

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But the same issue exists with regular files. with open('/dev/full', 'wb') as f: ... f.write(b'x'*1) ... Traceback (most recent call last): File stdin, line 2, in module OSError: [Errno 28] No space left on device And using Python implementation

[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net

2015-03-22 Thread Ned Deily
Ned Deily added the comment: Thanks for the review. Fix committed for release in 3.4.4 and 3.5.0. -- resolution: - fixed stage: commit review - resolved status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-22 Thread Marko Rauhamaa
Thomas 'PointedEars' Lahn pointede...@web.de: | atom: ('(' [yield_expr|testlist_comp] ')' | |'[' [testlist_comp] ']' | |'{' [dictorsetmaker] '}' | |NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False') [Chris Angelico wrote:] Implicit concatenation is part of

[issue21110] Slowdown and high memory usage when adding a new module in embedded Python 3.4 on 64bit Windows

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Who is best placed to address this issue? -- components: +Build, Extension Modules -Windows nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21110

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Hmm it seems my change for os.utimes() in Modules/posixmodule.c does not automatically get reflected in the doc string. Is there some script I can run to regenerate it, or do I have to do it manually? -- ___ Python

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ./python Tools/clinic/clinic.py --make or just make clinic -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___

[issue18407] Fix compiler warnings in pythoncore for Win64

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Would someone like to review the patch please, being aware that there are other open issues relating to compiler warnings on Windows. -- nosy: +steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Steve Dower
Steve Dower added the comment: I believe so. py.exe doesn't provide the -m option, so it has already selected the version by the time that starts running. Shebangs are really just for launching the file directly. python -m module on Linux will also ignore the shebang. --

[issue22516] Windows Installer won't - even when using just for meoption

2015-03-22 Thread Paul Moore
Paul Moore added the comment: That sounds reasonable. I understand the need for face-to-face discussion on something like this, although I do think there's been something of a tendency in the past for things decided at PyCon to receive a certain amount of resistance from people who weren't

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Liam Marsh
Liam Marsh added the comment: er... is the fact that py -m module ignore module's shebang deliberate? (using the 3.4.2 version of py.exe) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___

[issue22831] Use with to avoid possible fd leaks

2015-03-22 Thread Martin Panter
Martin Panter added the comment: The new fd_leaks_tools1_2.patch seems to have dropped the changes for Tools/scripts/treesync.py, compared to the previous fd_leaks_tools1.patch. -- ___ Python tracker rep...@bugs.python.org

[issue23657] Don't do isinstance checks in zipapp

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b2993742650 by Paul Moore in branch 'default': #23657 Don't explicitly do an isinstance check for str in zipapp https://hg.python.org/cpython/rev/0b2993742650 -- nosy: +python-dev ___ Python tracker

ANN: unicode 1

2015-03-22 Thread garabik-news-2005-05
unicode is a simple python command line utility that displays properties for a given unicode character, or searches unicode database for a given name. It was written with Linux in mind, but should work almost everywhere (including MS Windows and MacOSX), UTF-8 console is recommended.

[issue23739] locale.setlocale checks locale name for string incorrectly

2015-03-22 Thread Saulius Žemaitaitis
Saulius Žemaitaitis added the comment: Python 2.7.9 (default, Jan 29 2015, 06:27:40) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23739

[issue23739] locale.setlocale checks locale name for string incorrectly

2015-03-22 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +lemburg, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23739 ___ ___ Python-bugs-list

[issue23657] Don't do isinstance checks in zipapp

2015-03-22 Thread Paul Moore
Changes by Paul Moore p.f.mo...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23657 ___

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some people use Windows Explorer as their default means for working with programs and files, including Python via Idle and their own .py files. What some need, as I said previously, is an explicit 'Edit with Idle x.y' for each installed Python. They need

[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray
R. David Murray added the comment: It looks like both of those changes were part of the python3 transition, and thus not subject to our backward compatibility rules. (Which, it should be noted, we applied rather more loosely in python 3.1, 3.2, and even to a smaller extent in 3.3).

[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Is the thinking and hence the patch correct here? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22163 ___

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed. And all the comment could be better. Does anyone want to write better comment in the light of recent estimations? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700

[issue10482] subprocess and deadlock avoidance

2015-03-22 Thread Akira Li
Changes by Akira Li 4kir4...@gmail.com: -- nosy: +akira ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10482 ___ ___ Python-bugs-list mailing list

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Steve Dower
Steve Dower added the comment: Also, that should be py -3 -m idlelib.idle %1 so we get the actual latest IDLE from the context menu. (This does not affect the start menu items at all.) -- ___ Python tracker rep...@bugs.python.org

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: v2: - remove reflows - update TemporaryDirectory description too - do not call things which are not functions functions - with O_TMPFILE the file is not unlinked, also update TemporaryFile description for that - link to Examples -- Added

[issue22350] nntplib file write failure causes exception from QUIT command

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I doubt that it is good idea to close connection on *any* error. For example in _getresp() resp.decode() can raise an exception, but this failure isn't related to the ability of sending QUIT and other commands. Sample error handling in your first message

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Personally I would rather stick to the [] syntax in the docs, with the default values mentioned in the text. -- nosy: +georg.brandl, r.david.murray ___ Python tracker rep...@bugs.python.org

Re: Automation of Windows app?

2015-03-22 Thread Emile van Sebille
On 3/20/2015 10:55 AM, Grant Edwards wrote: I need to automate operation of a Windows application. I've been productively using python to create macro scheduler [1] scripts to automate windows programs for years. A sample script: Press Alt Send Character/Textcu Release Alt

ANN: unicode 1

2015-03-22 Thread garabik-news-2005-05
unicode is a simple python command line utility that displays properties for a given unicode character, or searches unicode database for a given name. It was written with Linux in mind, but should work almost everywhere (including MS Windows and MacOSX), UTF-8 console is recommended.

[issue22350] nntplib file write failure causes exception from QUIT command

2015-03-22 Thread R. David Murray
R. David Murray added the comment: It looks to be clearly the case that there needs to be some error handling code wrapped around the file write in _getlongresp. Your patch doesn't do just that, however, so it seems like there may be other errors you are also worried about? Can you explain

[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Demien, your patch looks good to me except that it would be better to consolidate the three adjacent versionchanged entries into one. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2211

[issue23731] Implement PEP 488

2015-03-22 Thread Brett Cannon
Brett Cannon added the comment: Will probably want to see http://bugs.python.org/issue17232 resolved as part of this as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731 ___

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___ ___ Python-bugs-list

[issue1654408] Installer should split tcl/tk and tkinter install options.

2015-03-22 Thread Steve Dower
Steve Dower added the comment: tkinter and our tcl/tk builds are so closely linked there's no point separating them IMHO. It sounds like this report was prompted by a misconfiguration, so there's nothing really to fix here. -- ___ Python tracker

[issue23723] Provide a way to disable bytecode staleness checks

2015-03-22 Thread Brett Cannon
Brett Cannon added the comment: I haven't thought about how to implement it, let alone document it. As I said, I might simply refactor importlib so that others can at least implement a loader which can do this without having to directly muck with importlib itself. It really depends on how far

[issue23739] locale.setlocale checks locale name for string incorrectly

2015-03-22 Thread Saulius Žemaitaitis
New submission from Saulius Žemaitaitis: Steps to reproduce: python2.7 -c import locale; locale.setlocale(locale.LC_ALL, u'en_US') Raises: ValueError: too many values to unpack Problem lies in locale.py file from the standard library. It checks if locale is string incorrectly: if locale

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread R. David Murray
R. David Murray added the comment: How's this? -- Added file: http://bugs.python.org/file38635/csv_iter_commemt.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9f03315d66c by R David Murray in branch '3.4': #23700: fix/improve comment https://hg.python.org/cpython/rev/e9f03315d66c New changeset 64f4dbac9d07 by R David Murray in branch 'default': Merge: #23700: fix/improve comment

[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Oh, and the additional what's new text would in this case be pretty much the contents of that multi-line versionchanged entry, as a bullet item in the 'porting' section. That is, they are behavior changes that are closer to API fixes than new features, and

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c3dc817ffd7 by R David Murray in branch '2.7': #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. https://hg.python.org/cpython/rev/5c3dc817ffd7 New changeset f6f72422df96 by R David Murray in branch '3.4': #23539: Set

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread R. David Murray
New submission from R. David Murray: While committing the patch for issue 23539 I decided to rewrite the 'request' docs for clarity. I doing so I found that http.client isn't as consistent as it could be about how it handles bytes and strings. Two points specifically: it will only take the

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-22 Thread STINNER Victor
STINNER Victor added the comment: Yeah, the new comment is better :-) Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___ ___

[issue23378] argparse.add_argument action parameter should allow value extend

2015-03-22 Thread paul j3
paul j3 added the comment: My opinion is that this is an unnecessary addition. Reasons: - it is easy to add as a custom action class - I haven't seen other requests for it - the append retains information about the argument strings that extend looses - it is easy flatten the appended

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset a56aa567072c by R David Murray in branch '2.7': #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. https://hg.python.org/cpython/rev/a56aa567072c New changeset c1348ada8fc6 by R David Murray in branch '3.4': #23647: Increase

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Thanks James and Demien. I decided to rewrite the 'request' docs for Python3 to make them easier to follow (and more accurate). Hopefully I didn't make any mistakes, but you might want to review it just in case. -- resolution: - fixed stage:

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: -patch stage: commit review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23647 ___

[issue23350] Content-length is incorrect when request body is a list or tuple

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Well, the current reality not counting the bug reported in this issue. So, I documented it as if the fix here is to not set the length when body is an iterator. -- ___ Python tracker rep...@bugs.python.org

[issue23298] Add ArgumentParser.add_mutually_dependence_group

2015-03-22 Thread paul j3
paul j3 added the comment: http://bugs.python.org/issue11588 is an earlier request for 'necessarily inclusive' groups. The patches that I proposed there are more general, allowing for other logical combinations of arguments, as well as nesting groups. As such it is more complex than your

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-22 Thread James Rutherford
James Rutherford added the comment: Updated docs look good to me, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-22 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, Has anyone taken you up on the non-KBOX testing? Do you need me to test the patches within the KBOX environment? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue23350 and issue23360. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23740 ___

[issue23741] Small pprint refactoring

2015-03-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: This issue is not so ambitious as issue7434. Proposed match only slightly refactor current implementation, so it becomes easier extensible for standard types. No public interface provided, this task left for issue7434. No behavior changed. --

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-22 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Cyd: if you could do that, it would be great! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___

[issue23350] Content-length is incorrect when request body is a list or tuple

2015-03-22 Thread R. David Murray
R. David Murray added the comment: I just updated the docs to what I think is the current reality. See issue 23740 for what I think are problems with the current implementation, aside from any enhancement of computing a length for tuple or list. Since the latter cannot be done reliably

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Steve Dower
Steve Dower added the comment: If you want me to take this request to pydev, I will, but it seems straightforward to me. I'll go get Dad seems a fairly immature threat and it's really not necessary. However, (after writing and then deleting a long exposition of the options) the most

[issue23487] argparse: add_subparsers 'action' broken

2015-03-22 Thread paul j3
paul j3 added the comment: It certainly looks like a documentation issue. `action` doesn't make sense here. `add_subparsers` normally creates an Action of type `_SubParsersAction`. 'action' for normal 'add_argument' command defines the Action type created at that time. Conceivably a

[issue23647] imaplib.py MAXLINE value is too low for gmail

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Now that I've had time to look at this, I see that in fact RFC2683 says nothing about what value MAXLINE should have, unless one is reasoning by analogy. It is concerned with *command line* lengths from the client to the server, not about server responses.

[issue23378] argparse.add_argument action parameter should allow value extend

2015-03-22 Thread Wolfgang Maier
Wolfgang Maier added the comment: - I haven't seen other requests for it For the record, an Extend custom action class is one of very few such classes I have ever written for argparse for exactly the OP's usecase, i.e., it is useful for any parser that should accept the same option multiple

[issue18684] Pointers point out of array bound in _sre.c

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is recent patch. -- versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file38637/sre_ptr_out_of_bounds_4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18684

[issue23350] Content-length is incorrect when request body is a list or tuple

2015-03-22 Thread Martin Panter
Martin Panter added the comment: David: Calculating the length of a list or tuple of Latin-1 text strings should actually be straight-forward and reliable, because it is a single-byte encoding. However I am starting to think adding a new special case for lists and tuples is a bad idea. There

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread Martin Panter
Martin Panter added the comment: As well as encoding iterables of str(), text files could also be handled more consistently by checking the read() return type. That would eliminate the complication of checking for a b mode. -- ___ Python tracker

[issue22468] Tarfile using fstat on GZip file object

2015-03-22 Thread Martin Panter
Martin Panter added the comment: I think a warning in the documentation might be helpful. However a special check in the code doesn’t seem right. Would you check for LZMAFile and BZ2File as well? Some of the other attributes (modification time, owner, etc) may be useful even for a GzipFile,

[issue23737] web course

2015-03-22 Thread bintang raksaguna
New submission from bintang raksaguna: href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat Kursus website, SEO, Desain Grafis Favorit/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat Kursus

[issue23737] spam

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed title: web course - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737

[issue23737] web course

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- Removed message: http://bugs.python.org/msg238875 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737 ___

[issue23737] web course

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -302 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737 ___ ___ Python-bugs-list

[issue20181] Derby #12: Convert 50 sites to Argument Clinic across 4 files

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for unicodedata. -- keywords: +patch nosy: +serhiy.storchaka Added file: http://bugs.python.org/file38630/unicodedata_clinic.patch ___ Python tracker rep...@bugs.python.org

[issue23633] Improve py launcher help, index, and doc

2015-03-22 Thread Nick Coghlan
Nick Coghlan added the comment: Given its Windows specific nature, I'll always defer to Steve and the other Windows devs when it comes to the launcher. My main involvement (aside from general mailing list commentary) was asking Vinay to bring the independently distributed version under the

[issue23642] Interaction of ModuleSpec and C Extension Modules

2015-03-22 Thread Nick Coghlan
Nick Coghlan added the comment: Added Petr to the nosy list here as well. Petr - this is the kind of discrepancy I'm hoping that PEP 489 can help remedy, so it may make for a good test case :) -- nosy: +encukou ___ Python tracker

[issue6422] timeit called from within Python should allow autoranging

2015-03-22 Thread Nick Coghlan
Nick Coghlan added the comment: The current patch moves print operations inside timeit() and repeat(), instead of leaving the main() function as the only one with side effects. My counter-proposal was to instead extract the current main functionality out into a side-effect free public API of

[issue23571] Raise SystemError if a function returns a result with an exception set

2015-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Minimal reproducer: try: ... 1/0 ... except: ... int('spam') ... Traceback (most recent call last): File stdin, line 2, in module ZeroDivisionError: division by zero During handling of the above exception, another exception occurred: ValueError:

[issue18684] Pointers point out of array bound in _sre.c

2015-03-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file38637/sre_ptr_out_of_bounds_4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18684 ___

[issue18684] Pointers point out of array bound in _sre.c

2015-03-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file38638/sre_ptr_out_of_bounds_4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18684 ___

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Collapsing multiple 'Edit with Idle x.y' entries into one 'Edit with Idle ' + submenu (or 'Edit with Idle 3 ' + submenu) would be fine once practical to do so. -- ___ Python tracker rep...@bugs.python.org

[issue23252] Add support of writing to unseekable file in zipfile

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19f36a2a34ec by Serhiy Storchaka in branch 'default': Issue #23252: Added support for writing ZIP files to unseekable streams. https://hg.python.org/cpython/rev/19f36a2a34ec -- nosy: +python-dev ___

[issue21319] WindowsRegistryFinder never added to sys.meta_path

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Just making sure our Windows people are aware of this issue. -- components: +Windows nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21319

  1   2   >