[issue27835] SystemExit in setUpClass etc. terminates test run

2016-08-24 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ezio.melotti stage: -> patch review versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-l

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-24 Thread Martin Panter
Martin Panter added the comment: Rolf, just a note that I had to remove some trailing spaces on various continued lines in the Python code before it would let me push this. Other tweaks I made: * Eliminate _read_iterable() and lambda * Rename line → chunk The Windows buildbots fail the test se

[issue27821] IDLE custom keymaps don't work anymore (Windows, Python 3.6.0a3)

2016-08-24 Thread Vedran Čačić
Vedran Čačić added the comment: But there is something _I_ can do now. :-) I put a pdb.set_trace in that code you quoted, and went exploring. And here is what I found. It calls currentOption = idleConf.CurrentKeys() That one calls return self.current_colors_and_keys('Keys') and _that o

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset b004da19b869 by Martin Panter in branch 'default': Issue #12319: Move NEWS under beta 1 heading https://hg.python.org/cpython/rev/b004da19b869 -- ___ Python tracker __

[issue21085] compile error Python3.3 on Cygwin

2016-08-24 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: Oh, I made a mistake that is checking the si_band field without signal header. Here is a modified patch adding signal header at checking the si_band field. I passed tests compiling cpython 3.5.2+ on ubuntu 16.04.1 (x86) using this patch. -- Added fil

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-24 Thread Rolf Krahl
Rolf Krahl added the comment: First of all, thanks all for the great work, in particular to you Martin for your patience! Martin, on your changes: as mentioned earlier, I'm in holidays right now, so I didn't had a close look yet. But I tested my application and it works, so I guess I'm happy

[issue27842] Order CSV header fields

2016-08-24 Thread Steve Holden
Steve Holden added the comment: Testing could be interesting. I'm thinking of generating five random string keys with a couple of rows of data, creating csv StringIOs (using pure Python) for all 120 combinations and verifying that they read back in the order they were written. We should also

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2016-08-24 Thread Martin Panter
Martin Panter added the comment: For the record, if you wanted to actually load the library function on AIX, I understand the code might look a bit like: if sys.platform.startswith("aix"): if sys.maxsize > 2**32: lib = "libc.a(shr_64.o)" else: lib = "libc.a(shr.o)" R

[issue27843] Spaces in filenames in setuptools

2016-08-24 Thread Michael Felt
Michael Felt added the comment: On 23-Aug-16 19:02, R. David Murray wrote: > R. David Murray added the comment: > > setuptools is not part of CPython or the standard library, though it is > currently distributed with CPython via ensurepip. You should report this > issue to the setuptools and/o

[issue21085] compile error Python3.3 on Cygwin

2016-08-24 Thread Erik Bray
Changes by Erik Bray : -- assignee: -> erik.bray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21085] compile error Python3.3 on Cygwin

2016-08-24 Thread Erik Bray
Erik Bray added the comment: Thanks Masayuki for the updated patch. I agree, the new approach looks better. I will review the patch more carefully and test it soon. -- stage: -> patch review ___ Python tracker

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-24 Thread Jens Jørgen Mortensen
New submission from Jens Jørgen Mortensen: The documentation has a note saying: "Base64 has an expansion factor of 6 to 4". I believe it should be 4 to 3. https://docs.python.org/dev/library/base64.html -- assignee: docs@python components: Documentation messages: 273543 nosy: Jens.Jør

[issue27847] os.set_inheritable() looks to be broken on OpenIndiana

2016-08-24 Thread STINNER Victor
New submission from STINNER Victor: On Python 3.5, it seems ok: --- test_get_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok test_set_inheritable (test.test_socket.InheritanceTest) ... ok test_set_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok --- http://buildbot.pyth

[issue27847] os.set_inheritable() looks to be broken on OpenIndiana

2016-08-24 Thread STINNER Victor
STINNER Victor added the comment: Hum, the main difference between Python 3.5 and 3.6 is this optimization: changeset: 101039:d268f108ba80 user:Victor Stinner date:Sun Apr 17 16:51:52 2016 +0200 files: Python/fileutils.c description: Avoid fcntl() if possible in set_inhe

[issue27847] os.set_inheritable() looks to be broken on OpenIndiana, regression of Python 3.6

2016-08-24 Thread STINNER Victor
Changes by STINNER Victor : -- title: os.set_inheritable() looks to be broken on OpenIndiana -> os.set_inheritable() looks to be broken on OpenIndiana, regression of Python 3.6 ___ Python tracker _

[issue27847] os.set_inheritable() looks to be broken on OpenIndiana

2016-08-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailin

[issue27821] IDLE custom keymaps don't work anymore (Windows, Python 3.6.0a3)

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for tracing further. That is the new bug in .0a3. "'Theme'" should be "section", as in the next two GetOption calls. You should then not need a custom theme. My new tests did not cover all the possible cases, so I should add more along with the fix.

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-24 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-24 Thread Eryk Sun
Eryk Sun added the comment: > on Windows? Will tell() and seek() reliably fail on a pipe > or other unseekable file? No they will not reliably fail. The file position is stored in the FILE_OBJECT CurrentByteOffset. This value can be queried and set using the WinAPI function SetFilePointerEx,

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-24 Thread Martin Panter
Martin Panter added the comment: Thankyou Eryksun for the detailed explanation. Unfortunately, that means that uploading an unseekable file via urllib.request, or via http.client, isn’t going to work by default on Windows. I see a couple of workarounds with the current code: * Users can force

[issue27848] C function calls: use Py_ssize_t rather than C int for number of arguments

2016-08-24 Thread STINNER Victor
New submission from STINNER Victor: I recently added new functions to call functions in C, especially _PyObject_FastCallDict(). I started with the C int type for the number of positional arguments: "int nargs". But slowly, when I started to patch code to use _PyObject_FastCallDict(), I used m

[issue27848] C function calls: use Py_ssize_t rather than C int for number of arguments

2016-08-24 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Interpreter Core nosy: +pitrou type: -> enhancement ___ Python tracker ___ ___ Python-bug

[issue27849] that is so great!

2016-08-24 Thread David Kirkby
New submission from David Kirkby: Hey, Look what I've just found on the web! It's so amazing, check it out Yours, david.kirkby -- messages: 273550 nosy: drkirkby priority: normal severity: normal status: open title: that is so great! ___

[issue27849] Spam

2016-08-24 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -drkirkby resolution: -> not a bug stage: -> resolved status: open -> closed title: that is so great! -> Spam ___ Python tracker ___ __

[issue27849] Spam

2016-08-24 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg273550 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue27843] Spaces in filenames in setuptools

2016-08-24 Thread R. David Murray
R. David Murray added the comment: It looks like we made a 'backport' exception for ensurepip for 2.7 (it's really a build tool, not part of Python itself). I don't use 2.7 much myself any more, and when I do what I miss is the built in venv, not pip :) -- ___

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-24 Thread R. David Murray
R. David Murray added the comment: Maybe we should just drop that note. To achieve any sort of clarity we'd have to say that base85 is 15 for 12 and base64 is 16 for 12. And putting it that way it doesn't seem like all that much of an advantage :) -- nosy: +r.david.murray versions: +

[issue27837] Logging Cookbook Improvement

2016-08-24 Thread Vinay Sajip
Vinay Sajip added the comment: The thing about queues does not relate just to logging - it relates to all communication between different multiprocessing processes, of which logging is just an example. The logging cookbook is not the place to provide tutorial information on e.g. multi-threadin

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63799c310b69 by R David Murray in branch '2.7': #2466: fix test failure on windows. https://hg.python.org/cpython/rev/63799c310b69 -- ___ Python tracker ___

[issue18485] mingw: configure for shared build

2016-08-24 Thread Martin Panter
Martin Panter added the comment: Roumen’s patch amends code added by his patches at Issue 17597. Here is a version which is independent. -- nosy: +martin.panter stage: -> patch review versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file44210/mingw-shared.v2.patch

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-24 Thread R. David Murray
R. David Murray added the comment: Thanks, Xiang. Also thanks to SilentGhost, who noticed the buildbot failure I missed. -- stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue25564] Document that IDLE behaves differently than python on `del __builtins__`

2016-08-24 Thread ppperry
Changes by ppperry : -- title: IDLE behaves differently than python on `del __builtins__` -> Document that IDLE behaves differently than python on `del __builtins__` ___ Python tracker

[issue21997] Pdb.set_trace debugging does not end correctly

2016-08-24 Thread ppperry
ppperry added the comment: This issue seems to have languished for over two years. -- nosy: +ppperry ___ Python tracker ___ ___ Python

[issue21997] Pdb.set_trace debugging does not end correctly

2016-08-24 Thread R. David Murray
R. David Murray added the comment: Your point being? :) What needs to happen is for someone to review the issue and figure out if there is anything left to do. Has termination been fixed? Has the test case mentioned in the last message been incorporated? -- nosy: +r.david.murray

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Christian Heimes
New submission from Christian Heimes: Another attack with a catchy name and logo. This time 3DES is showing its age. 3DES should be removed from the list of server ciphers in ssl._RESTRICTED_SERVER_CIPHERS. For client ciphers we can leave it in for now. An attack requires dynamic code executio

[issue12029] Allow catching virtual subclasses in except clauses

2016-08-24 Thread ppperry
Changes by ppperry : -- title: Catching virtual subclasses in except clauses -> Allow catching virtual subclasses in except clauses ___ Python tracker ___ __

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Hynek Schlawack
Hynek Schlawack added the comment: JFTR the main compatibility impact on the browser side is the loss of IE8 on WinXP whose last stable release is qua Wikipedia from “February 22, 2011; 5 years ago”. -- nosy: +hynek ___ Python tracker

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Alex Gaynor
Alex Gaynor added the comment: +! from me, removing 3DES is a totally sane default, people who need IE8+XP compat can change the default. -- ___ Python tracker ___ _

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Donald Stufft
Donald Stufft added the comment: +1 from me, as another data point, the PSF infrastructure (which serves things like hg.python.org that aren't behind Fastly) has had 3DES disabled since 2014 without any complaints that I've seen. -- ___ Python track

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Cory Benfield
Cory Benfield added the comment: +1 from me, Requests, urllib3, and Twisted are all removing 3DES cipher suites from our default list. -- nosy: +Lukasa ___ Python tracker ___ __

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Christian Heimes
Christian Heimes added the comment: I'm +1 for removal from server-side suite and +0.5 for removal from client-side suite. Unless somebody makes a compelling reason for keeping 3DES at all, let's get rid of it for good. Users are free to override the settings. It might make sense to include C

[issue23428] Use the monotonic clock for thread conditions on POSIX platforms

2016-08-24 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Hello, Is there any progress on the issue? Should someone take over? -- nosy: +cstratak ___ Python tracker ___ _

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-24 Thread Eric V. Smith
Eric V. Smith added the comment: Here's a slightly simplified version. I can reproduce this on Windows with 3.4.3 cygwin 32-bit and on Linux with 3.3.2 64-bit. -- nosy: +eric.smith Added file: http://bugs.python.org/file44211/27833.py ___ Python trac

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Donald Stufft
Donald Stufft added the comment: Should we also remove HIGH from the cipher list? If I recall, at the time we added it under the assumption that we might get new, better ciphers automatically but 3DES is considered "HIGH", so we'll get it pulled in via that on older OpenSSLs. --

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-08-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This does not look right: +.. classmethod:: time.strptime(date_string, format) + + Return a :class:`time` corresponding to *date_string, parsed according to + *format*. :exc:`ValueError` is raised if the date string and format can't be + parsed by `

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Cory Benfield
Cory Benfield added the comment: As another data point, I just pushed a PR to remove HIGH from urllib3/requests for exactly this reason, and Twisted already doesn't use it. -- ___ Python tracker __

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Christian Heimes
Christian Heimes added the comment: Donald: 3DES will be removed from HIGH with the next release: https://www.openssl.org/blog/blog/2016/08/24/sweet32/ > For 1.0.2 and 1.0.1, we removed the triple-DES ciphers from the “HIGH” > keyword and put them into “MEDIUM.” Note that we did not remove them

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-24 Thread Donald Stufft
Donald Stufft added the comment: Christian: But that doesn't help all of the existing releases of OpenSSL. -- ___ Python tracker ___

[issue27414] http.server.BaseHTTPRequestHandler inconsistence with Content-Length value

2016-08-24 Thread Xiang Zhang
Xiang Zhang added the comment: Ping. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-24 Thread Tim Peters
Tim Peters added the comment: Looks to me like this is what the docs are talking about when they say: """ As mentioned above, if a child process has put items on a queue (and it has not used JoinableQueue.cancel_join_thread), then that process will not terminate until all buffered items have b

[issue23239] SSL match_hostname does not accept IP Address

2016-08-24 Thread R. David Murray
Changes by R. David Murray : -- stage: commit review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue19489] move quick search box above TOC

2016-08-24 Thread R. David Murray
R. David Murray added the comment: Moving back to patch review for someone to sign off on the changes. -- nosy: +r.david.murray stage: commit review -> patch review ___ Python tracker _

[issue27851] re.sub() bug with IGNORECASE

2016-08-24 Thread Dan Wilt
New submission from Dan Wilt: Working with re.sub() noted strange behavior with re.I set, seems like a bug. Noted in both Python 2.7.12 and Python 3.5.2, Anaconda custom build (32-bit) on Windows 7. >>> import re >>> re.sub('\.', '', '.') '' >>> re.sub('\.', '', '.', re.I) '...' >>> re

[issue27851] re.sub() bug with IGNORECASE

2016-08-24 Thread R. David Murray
R. David Murray added the comment: I really wish we could "fix" this somehow, since we get an issue opened for it probably every two or three months. The fourth argument to re.sub is the count, not the flags. -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status

[issue27843] Spaces in filenames in setuptools

2016-08-24 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> third party status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12660] test_gdb fails when installed

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef13efb89afe by Zachary Ware in branch '2.7': Issue #12660: Backport 84bbb8d2d237 https://hg.python.org/cpython/rev/ef13efb89afe -- ___ Python tracker ___

[issue20124] The documentation for the atTime parameter of TimedRotatimeFileHandler is confusing

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d13c1f33d21 by Vinay Sajip in branch 'default': Closes #20124: clarified usage of the atTime parameter in TimedRotatingFileHandler documentation. https://hg.python.org/cpython/rev/8d13c1f33d21 -- nosy: +python-dev resolution: -> fixed sta

[issue19504] Change "customise" to "customize".

2016-08-24 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: -vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-24 Thread Eric V. Smith
Eric V. Smith added the comment: Tim: I believe that's correct. I'm going to close this issue. Guni: If you have more information or you feel this is an actual bug, please post it here. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue27414] http.server.BaseHTTPRequestHandler inconsistence with Content-Length value

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: It would be better to use support.swap_attr(). -- nosy: +berker.peksag priority: normal -> low stage: needs patch -> patch review versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue27852] itertools -> flatten_all()

2016-08-24 Thread YoSTEALTH
New submission from YoSTEALTH: # Maybe a Recipe for itertools from collections.abc import Iterable def flatten_all(iterable): # -> 'one' # <- ['one'] # -> ['one', [b'two', b'three'], ['four', ('five', (1, {'e', 'ee'}, (2, (3, ))), ['six'])], generator()] # <- ['one', b'two', b'

[issue27414] http.server.BaseHTTPRequestHandler inconsistence with Content-Length value

2016-08-24 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for the reply berker. It's nice to know this helper. :) But I'd like to keep it as now since I don't see any real advantage to use it and swap_attr will set the attribute even when it's absent, this is not wanted. -- __

[issue27853] Add title to examples in importlib docs

2016-08-24 Thread Brett Cannon
New submission from Brett Cannon: By not having section titles for the various examples in the importlib examples there is no way to directly link to a specific example. -- assignee: brett.cannon components: Documentation messages: 273583 nosy: brett.cannon priority: normal severity: no

[issue27851] re.sub() bug with IGNORECASE

2016-08-24 Thread Dan Wilt
Dan Wilt added the comment: Thanks! That helps. I apologize for raising a non-existent issue. Dan On Wed, Aug 24, 2016 at 11:59 AM, R. David Murray wrote: > > R. David Murray added the comment: > > I really wish we could "fix" this somehow, since we get an issue opened > for it probably every

[issue25847] CPython not using Visual Studio code analysis!

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Like Mark, I have noticed that there are enough ignored VS warnings now to not think we need more. Every time socketmodule is recompiled, for instance, I see all the scary deprecation warnings. These are Windows-specific. Should the code be changed or shoul

[issue27821] IDLE custom keymaps don't work anymore (Windows, Python 3.6.0a3)

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vedran, I have used IDLE's imperfect visual debugger and was thinking about how I might use it to solve this problem. But I have never used pdb. Perhaps I should learn it. Please explain how you used set_trace to track down this bug. For #24265, I have simi

[issue19884] Importing readline produces erroneous output

2016-08-24 Thread Orion Poplawski
Orion Poplawski added the comment: I'm still seeing this test failure on EL6.8 with python 3.4.5: [268/391] test_readline testHistoryUpdates (test.test_readline.TestHistoryManipulation) ... ok test_init (test.test_readline.TestReadline) ... test test_readline failed FAIL

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I built the 3.5 docs on Win10 with Sphinx 1.3.3 and corresponding dependencies and got a new warning as a result of 8bac90be for #26462: F:\Python\dev\36\Doc\whatsnew\3.2.rst:2063: WARNING: Pygments lexer name 'doscon' is not known Thinking the problem was

[issue27414] http.server.BaseHTTPRequestHandler inconsistence with Content-Length value

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: In which case would the send_header method be absent? -- ___ Python tracker ___ ___ Python-bugs-list

[issue27595] Document PEP 495 (Local Time Disambiguation) features

2016-08-24 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: needs patch -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Tuples use a freelist ;-) I think you can safely bump the small array to 7 or 8 elements, to satisfy even more cases. Though you are right that function calls with more than 5 arguments should be rare (and mostly to complicated functions where function call ov

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-08-24 Thread Zachary Ware
Zachary Ware added the comment: Terry: for now, you can downgrade Sphinx to 1.3.6 as it is known to build with no warnings (that's the version the Docs buildbot currently uses). -- ___ Python tracker

[issue27840] functools.partial: don't copy keywoard arguments in partial_call()?

2016-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Modifying the keyword arguments dict is quite common so this change would be a heavy compatibility breaker. A well-known idiom: def some_function(..., **kwargs): some_option = kwargs.pop('some_option', None) # further process kwargs -- n

[issue16379] SQLite error code not exposed to python

2016-08-24 Thread Aviv Palivoda
Aviv Palivoda added the comment: Attached is a patch based on Daniel last patch with the following changes: * There is no errorcode mapping. * The exception object has a error_name attribute. I think this two changes should solve the API problems raised by Ezio and Gerhard about the error code

[issue25564] Document that IDLE -python difference for `del __builtins__`

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steven: "You should use `__builtin__` in Python 2 and `builtins` in Python 3." I presume this is for import statements. ppperry: Titles should fit in the box, so they fit in search listing results. I am thinking of something like "Since Python inserts '__buil

[issue27821] IDLE custom keymaps don't work anymore (Windows, Python 3.6.0a3)

2016-08-24 Thread Vedran Čačić
Vedran Čačić added the comment: Well, I don't know how good this comment box is for a pdb tutorial. :-) And I learned it a long time ago, so I don't really remember how it is to not know it. :-/ The main reason I love it is purely sentimental: it reminds me of those silly text-based adventure

[issue6057] sqlite3 error classes should be documented

2016-08-24 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19884] Importing readline produces erroneous output

2016-08-24 Thread Orion Poplawski
Orion Poplawski added the comment: Updating the version check to 6.1 as in the patch from Martin certainly avoids the failing test. -- ___ Python tracker ___ __

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Only 138 warnings with 2.7. Zack, how do I downgrade. I examined the result of pip install -h but cannot see how. I presume that 'sphinx' and '1.3.6' should be combined into a '' but this latter is not defined and the things I tried, including the output fo

[issue6057] sqlite3 error classes should be documented

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1dbd1a9a6a9c by Berker Peksag in branch '3.5': Issue #6057: Document exceptions in sqlite3 module https://hg.python.org/cpython/rev/1dbd1a9a6a9c New changeset 6f8042107d76 by Berker Peksag in branch 'default': Issue #6057: Merge from 3.5 https://hg.

[issue6057] sqlite3 error classes should be documented

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Jaysinh and Stéphane! :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue6057] sqlite3 error classes should be documented

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: Already fixed in 78c039440d6b, thanks! -- status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue6057] sqlite3 error classes should be documented

2016-08-24 Thread Emanuel Barry
Emanuel Barry added the comment: Typo: "an Warning" ;) -- nosy: +ebarry status: closed -> open ___ Python tracker ___ ___ Python-bugs-

[issue27848] C function calls: use Py_ssize_t rather than C int for number of arguments

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9479da828358 by Victor Stinner in branch 'default': Use Py_ssize_t type for number of arguments https://hg.python.org/cpython/rev/9479da828358 -- nosy: +python-dev ___ Python tracker

[issue27717] sqlite documentation bug

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: > I think it is pretty hard to miss "Never do this" when reading the code > section. I agree with David. However, I may be biased since I spend a lot of time reading docs.python.org :) Here is a patch that moves the insecure example to a separate code block.

[issue27595] Document PEP 495 (Local Time Disambiguation) features

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset dcd6d6be81a7 by Alexander Belopolsky in branch 'default': Closes #27595: Document PEP 495 (Local Time Disambiguation) features. https://hg.python.org/cpython/rev/dcd6d6be81a7 -- nosy: +python-dev resolution: -> fixed stage: commit review ->

[issue27854] Installed 2.7: IDLE Help disabled because help.html is missing

2016-08-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: Since 2.7.11, 3.4.4, and 3.5.1, idlelib contains a committed help.html, displayed by Help => IDLE Help. In my Windows 2.7.12 installation, the file is missing, even after 'Repair'. IDLE Help silently does nothing. I don't remember if I tested the 2.7.11 i

[issue27830] Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ec1095612d6 by Victor Stinner in branch 'default': Add _PyObject_FastCallKeywords() https://hg.python.org/cpython/rev/5ec1095612d6 -- nosy: +python-dev ___ Python tracker

[issue27830] Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs

2016-08-24 Thread STINNER Victor
STINNER Victor added the comment: I pushed a change adding _PyObject_FastCallKeywords(), but this function is not used yet. -- I didn't push the do_call() change: I attach a new (shorter) patch which changes it. do_call.patch includes _PyCFunction_FastCallKeywords() for this line of Python/

[issue27848] C function calls: use Py_ssize_t rather than C int for number of arguments

2016-08-24 Thread STINNER Victor
STINNER Victor added the comment: I pushed Py_ssize_t.patch without the "const" ;-) Thanks for the review Antoine. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2016-08-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Please move _parse_isotime to _strptime so that it can be called from C implementation. Also, the new method should be documented. -- ___ Python tracker __

[issue27830] Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ff25676505d by Victor Stinner in branch 'default': Issue #27830: Fix _PyObject_FastCallKeywords() https://hg.python.org/cpython/rev/0ff25676505d -- ___ Python tracker

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 316e5de8a96b by Victor Stinner in branch 'default': method_call() and slot_tp_new() now uses fast call https://hg.python.org/cpython/rev/316e5de8a96b -- nosy: +python-dev ___ Python tracker

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-24 Thread STINNER Victor
STINNER Victor added the comment: > Tuples use a freelist ;-) Honestly, I didn't expect that my "fast call" thing would give any significant speedup. I know that tuple allocator uses a free list. Fast calls allows to avoid INCREF/DECREF on each argument, can use the C stack for short memory a

[issue25564] Document IDLE -python difference for `del __builtins__`

2016-08-24 Thread ppperry
Changes by ppperry : -- title: Document that IDLE -python difference for `del __builtins__` -> Document IDLE -python difference for `del __builtins__` ___ Python tracker ___ _

[issue25564] Document IDLE -python difference for `del __builtins__`

2016-08-24 Thread ppperry
Changes by ppperry : -- title: Document IDLE -python difference for `del __builtins__` -> Document IDLE -python difference for `del __builtins__` ___ Python tracker ___ __

[issue27855] 2to3: Wrong code output w/ has_key

2016-08-24 Thread E Rippey
New submission from E Rippey: The "has_key" fixer in 2to3 produces wrong code on the following example: input:"a.has_key(b)and x" output:"b in aand x" Note the lack of space before "and" in the input. -- components: 2to3 (2.x to 3.x conversion tool) messages: 273613 nosy: rippey.e prio

[issue27856] Issue while passing the parameter

2016-08-24 Thread Kameshwar Singh
New submission from Kameshwar Singh: Hello Team, I have one issue while using below function. I am using python 2.7.11 version on both OSX and Windows. batch_result = SFbulk.get_batch_results(batch, result_id, job, maxfields=1) If I am using above function on Windows machine, its working fine

[issue27856] Issue while passing the parameter

2016-08-24 Thread Berker Peksag
Berker Peksag added the comment: Please report this to sfbulk developers. sfbuld is not part of the Python standard library. -- nosy: +berker.peksag resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue25847] CPython not using Visual Studio code analysis!

2016-08-24 Thread Steve Dower
Steve Dower added the comment: > (Steve)> Doing the work to clean up the warnings really has to come second, > ultimately. > Second to what? Second to enabling all the warnings, which is where the thread started. I need to break my nasty habit on here of not quoting posts, but it's such a pain

  1   2   >