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

2016-08-24 Thread Martin Panter
Martin Panter added the comment: Here is my attempt to drop automatic Content-Length with files. I also dropped the special handling of zero-length iterables, added some tests for that, and removed some unused and misleading bits from other tests. -- Added file:

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

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added what I think is an improved version of what I posted. For 2.7 only, a change in the generated html outside of the text proper from using and to using and ' resulted in the extraneous characters being shown. The displayed text was preceded by

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

2016-08-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > Eric, remove the space from after the has_key call to match OP: > $ cat test.py > a.has_key(b)and x Good catch. Disregard msg273622 from me - I am able to replicate what the OP has described. -- ___

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

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 862761e4376e by Terry Jan Reedy in branch '2.7': Issue #25564: Mention exec and __builtins__ in IDLE-console difference section. https://hg.python.org/cpython/rev/862761e4376e New changeset 641852513b8e by Terry Jan Reedy in branch '3.5': Issue

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

2016-08-24 Thread Josh Rosenberg
Josh Rosenberg added the comment: Testing it myself that way: C:\>type test.py a.has_key(b)and x C:\>"C:\Program Files\Python 3.5\Tools\scripts\2to3.py" test.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional

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

2016-08-24 Thread Josh Rosenberg
Josh Rosenberg added the comment: Eric, remove the space from after the has_key call to match OP: $ cat test.py a.has_key(b)and x It's legal to omit the space there. -- nosy: +josh.r ___ Python tracker

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

2016-08-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I am unable to replicate this issue with '2to3' from Python 2.7.12, Python 3.4.5, nor Python 3.5.2. Below is what I get with the versions I mentioned above. --- $ cat test.py a.has_key(b) and x $ 2to3 test.py RefactoringTool: Skipping optional fixer:

[issue27857] n identical objects divide into m different groups

2016-08-24 Thread JAG3R
New submission from JAG3R: hello, everyone. I'm a newbie learner.^^ Recently, I learn the itertools and write this function... heap(m,n)-> X=[] X.append([n ,0,...,0] (len=m)) X.append([n-1,1,...,0]) ... X.append([n-1,0,...,1]) X.append([n-2,2,...,0]) X.append([n-2,1,1..,0]) ... X.append([0

[issue27173] Modern Unix key bindings for IDLE

2016-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Any backport must include the bugfix in #27821. -- ___ Python tracker ___

[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: Thank you for the tutorial example. Thinking of execution frames as stacked rooms in a tower in a text adventure game is an interesting metaphor. I duplicated the tests of idleConf.current_colors_and_keys with 'Theme' for 'Keys' and one failed until

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

2016-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset f198457d1475 by Terry Jan Reedy in branch 'default': Issue #27821: Fix bug in idlelib.comfig function and add new tests. https://hg.python.org/cpython/rev/f198457d1475 -- nosy: +python-dev ___ Python

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

2016-08-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: 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. My understanding is that __builtins__ is intended to be for the private use of the CPython

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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.

[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 ___

[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 ___

[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 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

[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

[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

[issue6057] sqlite3 error classes should be documented

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

[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

[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

[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

[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 --

[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

[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

[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 ___

[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 ___

[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

[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

[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

[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

[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

[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:

[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. --

[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',

[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

[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

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

2016-08-24 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: -vinay.sajip ___ 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

[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

[issue27843] Spaces in filenames in setuptools

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

[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

[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) '...' >>>

[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

[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 ___

[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

[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

[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 ___

[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

[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

[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 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. --

[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

[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 ___

[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

[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 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

[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 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

[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 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

[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

[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 ___

[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

[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

[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 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

[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.

[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:

[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 :) --

[issue27849] Spam

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

[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] 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!

[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 ___

[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

[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

[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

[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

[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

[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 ___

[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
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

[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 ---

  1   2   >