[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23725] update tempfile docs to say that TemporaryFile is secure
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 managers, which triggers the cleanup on exit.” The new paragraph about cleanup of TemporaryFile is good, but I think it now makes the last sentence of that entry redundant: “. . . can be used in a ‘with’ statement . . .” -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23725 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22468] Tarfile using fstat on GZip file object
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23740] http.client request and send method have some datatype issues
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 #23350. @Martin text files could also be handled more consistently by checking the read() return type I wouldn't be opposed to this at all. In fact, I was going to initially make that change in #12319, but wanted to keep the change surface minimal and realistically, peeking at the data type rather than checking for 'b' in mode doesn't /really/ make that much of a difference. -- nosy: +demian.brecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23740 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1654408] Installer should split tcl/tk and tkinter install options.
Mark Lawrence added the comment: @Steve what is your take on this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1654408 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net
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 bothering to change anything there. -- stage: patch review - commit review Added file: http://bugs.python.org/file38631/issue22289_3x.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22289 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22350] nntplib file write failure causes exception from QUIT command
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 problem with the NNTP library is that the NNTP class assumes that it can send a QUIT command when it shouldn’t be. The result can be a giant error message full of apparent garbage data, rather like in Issue 21468. The minimum behaviour that I expect is that when the context manager exits, it should not cause a double exception with a different error type. My patch closes the connection as soon as an unrecoverable error happens, so __exit__() will not send a QUIT command and receive an invalid response. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
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 they accept keyword arguments. For example, I changed eval(expression, globals=None, locals=None) to eval(expression, globals=None, locals=None, /) References: * Issue 22832: “fcntl” module changed to look like accepting keyword arguments * Ongoing discussion: https://mail.python.org/pipermail/python-dev/2015-March/138847.html There are many more instances where square brackets are used, or the arguments are mandatory. See the PEP for examples, but I do not think it is so important to “fix” them. I also fixed parameter name mismatches that I discovered for a quite a few functions that do take keyword arguments. One more thing I noticed, that I do not know how to fix, is the Argument Clinic signatures list invalid default values for zlib.compressobj(zdict=None) and os.utime(ns=None): zlib.compressobj(zdict=None) Traceback (most recent call last): File stdin, line 1, in module TypeError: 'NoneType' does not support the buffer interface os.utime(dummy, ns=None) Traceback (most recent call last): File stdin, line 1, in module TypeError: utime: 'ns' must be a tuple of two ints -- assignee: docs@python components: Documentation files: pos-defaults.patch keywords: patch messages: 238890 nosy: docs@python, serhiy.storchaka, vadmium priority: normal severity: normal status: open title: Clarify documentation of positional-only default values versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file38632/pos-defaults.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22832] Tweak parameter names for fcntl module
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11410] Use GCC visibility attrs in PyAPI_*
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11410 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21313] Py_GetVersion() is broken when using mqueue and a long patch name
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22079] Ensure in PyType_Ready() that base class of static type is static
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22079 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22933] Misleading sentence in doc for shutil.move
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 behavior of shutil.move when destination exists (closes #22933) https://hg.python.org/cpython/rev/4502e598fe26 New changeset a9f36ec5d944 by Benjamin Peterson in branch 'default': merge 3.4 (#22933) https://hg.python.org/cpython/rev/a9f36ec5d944 -- nosy: +python-dev resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22933 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23642] Interaction of ModuleSpec and C Extension Modules
Changes by Stefan Behnel sco...@users.sourceforge.net: -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10482] subprocess and deadlock avoidance
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10482 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22079] Ensure in PyType_Ready() that base class of static type is static
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: Deprecation warning now is issued in PyType_Ready() instead of https://hg.python.org/cpython/rev/57a457ea84e4 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22079 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net
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 mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22852] urllib.parse wrongly strips empty #fragment
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 changed” notices. I decided it is okay because the same information can be inferred. * Tweaked urlunsplit() and urlunparse() descriptions -- Added file: http://bugs.python.org/file38633/has_netloc.v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22852 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18407] Fix compiler warnings in pythoncore for Win64
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 mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net
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 from 3.4 https://hg.python.org/cpython/rev/1aad901e0307 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22289 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1191964] add non-blocking read and write methods to subprocess.Popen
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) should be indicated by returning b * Empty pipe (still open, future data possible) should be indicated by returning None Beware that BlockingIOError is normally not raised by Python’s standard library, despite the BufferedIOBase documentation, and I think it should say that way (the implementation, that is). See Issue 13322. Regarding handling a broken pipe condition, it would be nice to have a way of signalling that to the caller, whether via an exception or other means. For example if the subprocess is a video player which gets closed early by the end user, it would be good to know to stop wasting time and bandwidth generating and piping video the the player. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1191964 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22831] Use with to avoid possible fd leaks
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22831 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22350] nntplib file write failure causes exception from QUIT command
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 for detailed traceback: import _pyio with _pyio.open('/dev/full', 'wb') as f: ... f.write(b'x'*1) ... Traceback (most recent call last): File stdin, line 2, in module File /home/serhiy/py/cpython/Lib/_pyio.py, line 1184, in write self._flush_unlocked() File /home/serhiy/py/cpython/Lib/_pyio.py, line 1211, in _flush_unlocked n = self.raw.write(self._write_buf) OSError: [Errno 28] No space left on device During handling of the above exception, another exception occurred: Traceback (most recent call last): File stdin, line 2, in module File /home/serhiy/py/cpython/Lib/_pyio.py, line 451, in __exit__ self.close() File /home/serhiy/py/cpython/Lib/_pyio.py, line 767, in close self.flush() File /home/serhiy/py/cpython/Lib/_pyio.py, line 1204, in flush self._flush_unlocked() File /home/serhiy/py/cpython/Lib/_pyio.py, line 1211, in _flush_unlocked n = self.raw.write(self._write_buf) OSError: [Errno 28] No space left on device What behavior you expect? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22289] support.transient_internet() doesn't catch timeout on FTP tests of test_urllib2net
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 http://bugs.python.org/issue22289 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21110] Slowdown and high memory usage when adding a new module in embedded Python 3.4 on 64bit Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
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 tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18407] Fix compiler warnings in pythoncore for Win64
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 http://bugs.python.org/issue18407 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22516] Windows Installer won't - even when using just for meoption
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 there, so I'd suggest posting a summary of what you're intending to discuss in advance, to get some input. I'll try to email my thoughts to Steve, to give him my perspective on the Windows side of things. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22516 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22831] Use with to avoid possible fd leaks
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 http://bugs.python.org/issue22831 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23657] Don't do isinstance checks in zipapp
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 rep...@bugs.python.org http://bugs.python.org/issue23657 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23739] locale.setlocale checks locale name for string incorrectly
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23739] locale.setlocale checks locale name for string incorrectly
Changes by SilentGhost ghost@gmail.com: -- nosy: +lemburg, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23739 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23657] Don't do isinstance checks in zipapp
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 this for the same reason that we add a separate directory to the Start Menu for each version, and not just one Python directory. If you want me to take this request to pydev, I will, but it seems straightforward to me. For 3.x, '-m idlelib' is sufficient, '.idle' is not needed (at least from the Windows command line). I just verified that that 'py -3 -m idlelib path' opens path in a 3.5.0a2 Idle editor. The fact that installing the experimental -- and broken for Idle -- alpha as non-default changes the behavior of the above incantation illustrates why separate context menu entries are needed, and why the associated command should be 'py -x.y -m idlelib %1'. (Yes, the only option recognized by py.exe is a version option. Anything after, like -m, is an option either for the python that py runs or the program that python runs. '-m module' is equivalent to a .py file, so anything after that is am option for the module being run as a program.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2211] Cookie.Morsel interface needs update
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2211 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10482] subprocess and deadlock avoidance
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 Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23725] update tempfile docs to say that TemporaryFile is secure
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 file: http://bugs.python.org/file38634/0001-docs-update-description-of-TemporaryFile-and-tempfil.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23725 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22350] nntplib file write failure causes exception from QUIT command
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 looks more reliable. Set special flags after failing command (but only if error is related to the connection), and ignore QUIT errors if it is set. After successful command this flag should be reset. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
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 http://bugs.python.org/issue23738 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22350] nntplib file write failure causes exception from QUIT command
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 their nature? They should be dealt with separately from the errors writing to file issue, though, which is a special case. And that case should be dealt with by draining the response before returning. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2211] Cookie.Morsel interface needs update
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23731] Implement PEP 488
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23738] Clarify documentation of positional-only default values
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1654408] Installer should split tcl/tk and tkinter install options.
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 rep...@bugs.python.org http://bugs.python.org/issue1654408 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23723] Provide a way to disable bytecode staleness checks
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 one would want to go with this. Otherwise I would add a note in importlib in the appropriate loader(s) that if such-and-such a datetime is specified in the bytecode header then all stat-related staleness checks against the original source is disabled and the only validation is the magic number (since it's cheap and a nice safety check). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23723 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23739] locale.setlocale checks locale name for string incorrectly
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 and type(locale) is not type(): # convert to string locale = normalize(_build_localename(locale)) I think it should instead check if locale is basestring: locale and not isinstance(locale, basestring): # .. If above fix looks correct I'll submit it as a patch. -- components: Library (Lib) messages: 238914 nosy: Saulius Žemaitaitis priority: normal severity: normal status: open title: locale.setlocale checks locale name for string incorrectly type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23739 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
Serhiy Storchaka added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
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 https://hg.python.org/cpython/rev/64f4dbac9d07 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2211] Cookie.Morsel interface needs update
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 so don't need to be entered into the 'module improvements' section, but should be mentioned as possible porting issues (all this is IMO, of course). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2211 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23539] Content-length not set for HTTP methods expecting body when body is None
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 Content-Length to 0 for PUT, POST, and PATCH if body is None. https://hg.python.org/cpython/rev/f6f72422df96 New changeset 643471ed8415 by R David Murray in branch 'default': Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. https://hg.python.org/cpython/rev/643471ed8415 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23740] http.client request and send method have some datatype issues
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 length of a bytes-like object (to supply a default Content-Length header) if isinstance(x, bytes) is true (that is, it doesn't take the length of eg array or memoryview objects), and (2) if an iterable is passed in, it must be an iterable of bytes-like objects. Since it already automatically encodes string objects and text files, for consistency it should probably also encode strings if they are passed in via an iterator. -- keywords: easy messages: 238928 nosy: r.david.murray priority: normal severity: normal stage: needs patch status: open title: http.client request and send method have some datatype issues type: enhancement versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23740 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
STINNER Victor added the comment: Yeah, the new comment is better :-) Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23700 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23378] argparse.add_argument action parameter should allow value extend
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 attribute, e.g with a simple loop or a flattener like 'list(itertools.chain(*ll))' -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23378 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23647] imaplib.py MAXLINE value is too low for gmail
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 imaplib's MAXLINE to accommodate modern mailbox sizes. https://hg.python.org/cpython/rev/c1348ada8fc6 New changeset be6c4569f845 by R David Murray in branch 'default': Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. https://hg.python.org/cpython/rev/be6c4569f845 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23647 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23539] Content-length not set for HTTP methods expecting body when body is None
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: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23647] imaplib.py MAXLINE value is too low for gmail
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23350] Content-length is incorrect when request body is a list or tuple
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 http://bugs.python.org/issue23350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23298] Add ArgumentParser.add_mutually_dependence_group
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 patch, but the basic testing idea is the same - At the end of _parse_known_args check the group's actions against the ones that have been parsed. I use the existing 'seen_actions' or 'seen_nondefault_actions' rather than check the namespace directly. I also tried to construct this testing as a 'hook' that the user could customize. Your test, since it uses the Namespace and Action default, rather than the 'seen_actions' set, could just as well be run AFTER parse_args. That's the kind of testing that Stackoverflow answers often suggest for similar questions. In some cases it's also possible to write custom Action classes that handle this kind of interdependency. -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23298 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23539] Content-length not set for HTTP methods expecting body when body is None
James Rutherford added the comment: Updated docs look good to me, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23539 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23740] http.client request and send method have some datatype issues
Serhiy Storchaka added the comment: See also issue23350 and issue23360. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23740 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23741] Small pprint refactoring
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. -- assignee: serhiy.storchaka components: Library (Lib) files: pprint_refactoring.diff keywords: patch messages: 238943 nosy: fdrake, pitrou, rhettinger, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Small pprint refactoring type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file38636/pprint_refactoring.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23741 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
Ryan Gonzalez added the comment: Cyd: if you could do that, it would be great! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23350] Content-length is incorrect when request body is a list or tuple
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 unless we know the list or tuple is all bytes, I propose that we don't do it at all (since I'd like to see iterables of text strings supported). -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 reliable way of doing this is indeed to install one context menu item per Python install, and I may even be able to handle cascading, at least for 3.5 and later. The one caveat is that if you don't install the launcher you won't see the association at all, and this limitation is necessary to avoid corruption due to parallel installs (granted Python 3.4 and earlier will corrupt the association, but there's nothing we can do about that now). When I get home tonight I'll update the patch I've been working on and make sure it works as I'm expecting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23487] argparse: add_subparsers 'action' broken
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 user might want to use a customized '_SubParsersAction', but it shouldn't be as easy as just specifying 'action' in the 'add_subparsers' command. And specifying something other than the default 'store' action class for the arguments of the parsers doesn't make sense. But I'm puzzled by the error message you got. I'll have to run some tests to figure out what is going on. -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23487 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23647] imaplib.py MAXLINE value is too low for gmail
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. It seems as though we really should be handling more or less arbitrary length lines in the server response. I'll bump up the limit in the meantime. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23647 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23378] argparse.add_argument action parameter should allow value extend
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 times, while accepting multiple arguments each time. It *is* very simple to implement (and that's why I never asked for it as a feature), but only once you've understood custom action classes, which are not exactly for beginners. All in all, I'm +1 on the request. -- nosy: +wolma ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23378 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18684] Pointers point out of array bound in _sre.c
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23350] Content-length is incorrect when request body is a list or tuple
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 are already way too many special cases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23350 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23740] http.client request and send method have some datatype issues
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 rep...@bugs.python.org http://bugs.python.org/issue23740 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22468] Tarfile using fstat on GZip file object
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, and the programmer can just overwrite the file size attribute if necessary. -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22468 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23737] web course
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 website, SEO, Desain Grafis Favorit 2015 di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat kursus website/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat kursus SEO/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat kursus Desain Grafis/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;kursus SEO di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;kursus website di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Kursus Desain Grafis di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat kursus SEO di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat kursus website di jakarta/a a href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat Kursus Desain Grafis di jakarta/a -- hgrepos: 302 messages: 238875 nosy: bintangrksgn priority: normal severity: normal status: open title: web course ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23737] spam
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23737] web course
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23737] web course
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -302 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20181] Derby #12: Convert 50 sites to Argument Clinic across 4 files
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 http://bugs.python.org/issue20181 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23633] Improve py launcher help, index, and doc
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 PyPA banner :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23633 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23642] Interaction of ModuleSpec and C Extension Modules
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 rep...@bugs.python.org http://bugs.python.org/issue23642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6422] timeit called from within Python should allow autoranging
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 its own, and change the existing main function to call that new API and print the results. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6422 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23571] Raise SystemError if a function returns a result with an exception set
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: invalid literal for int() with base 10: 'spam' During handling of the above exception, another exception occurred: Traceback (most recent call last): File stdin, line 4, in module SystemError: class 'ValueError' returned a result with an error set -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23571 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18684] Pointers point out of array bound in _sre.c
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18684] Pointers point out of array bound in _sre.c
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23546] Windows, 'Edit withIDLE', and multiple installed versions
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 http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23252] Add support of writing to unseekable file in zipfile
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23252 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21319] WindowsRegistryFinder never added to sys.meta_path
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23729] Import ElementTree documentation for namespaces and XPath
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23729 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23729] Import ElementTree documentation for namespaces and XPath
Roundup Robot added the comment: New changeset 000814bbc899 by Raymond Hettinger in branch '2.7': Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. https://hg.python.org/cpython/rev/000814bbc899 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23729 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23740] http.client request and send method have some datatype issues
Martin Panter added the comment: Summary of the main supported types as I see them, whether documented, undocumented, or only working by accident: * None * Bytes-like sequences, e.g. bytes(), bytearray. I believe Content-Length is actually automatically set for all these types. * Arbitrary bytes-like objects, including array.array(I) and ctypes structures, if custom Content-Length provided (HTTP over TCP only) * str() objects, to be automatically encoded with Latin-1 * File reader objects not supporting stat(), e.g. BytesIO * File with valid stat().st_size, i.e. not named pipes * Binary file reader * Text file reader with mode attribute without a b, automatically encoded with Latin-1 * Any iterable of bytes-like sequences * Any iterable of arbitrary bytes-like objects (HTTP over TCP only) Arbitrary bytes-like objects are not properly supported by SSLSocket.sendall(). After all, the non-SSL socket.sendall() documentation does not explicitly mention supporting arbitrary bytes-like objects either, though it does seem to support them in practice. Suggested documentation fixes and additions: * Clarify Content-Length is added for all sequence objects, not just “string or bytes objects” * Warn that a custom Content-Length should be provided with non-bytes sequences, and with special files like named pipes, since the len() or stat() call will give the wrong value * end_headers() should mention byte string rather than just “string”, since it does not (yet) accept Latin-1 text strings * end_headers() should not mention sending in the same packet either, since separate sendall() calls are made for all cases; see Issue 23302 * send() should clarify what it accepts * Either omit mentioning arbitrary bytes-like objects, or add support to SSLSocket.sendall() and document support by non-SSL socket.sendall() I would support encoding iterables of str() objects for consistency. The patch for Issue 23350 already does this, although I am starting to question the wisdom of special-casing lists and tuples in that patch. -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23740 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21062] Evalute all import-related modules for best practices
Mark Lawrence added the comment: Just a gentle reminder as it refers to zipimport and a patch was committed just a few days ago. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21062 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21315] email._header_value_parser does not recognise in-line encoding changes
Mark Lawrence added the comment: Could someone formally review the patch please, it's only three additional lines of code and a new test. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21315 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com