[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2016-05-21 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ezio.melotti, michael.foord, rbcollins type: -> behavior versions: -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker

[issue27070] Add ability to freeze (seal) mutable objects

2016-05-21 Thread Eric V. Smith
Eric V. Smith added the comment: There's a link in the PEP to the discussion on why it was rejected. There's a lot to read in the thread (I just spent 30 minutes re-reading it!). I'm going to close this. If you'd like to re-open the discussion with new insights, I'd suggest posting to

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread Oren Milman
New submission from Oren Milman: the proposed changes I believe the following checks are redundant: 1. in Objects/longobject.c in long_add: In case both a and b are negative, their absolute values are added using x_add, with the result stored in z.

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread Oren Milman
Changes by Oren Milman : Added file: http://bugs.python.org/file42921/CPythonTestOutput.txt ___ Python tracker ___

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread Oren Milman
Changes by Oren Milman : Added file: http://bugs.python.org/file42922/patchedCPythonTestOutput.txt ___ Python tracker ___

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Steven Barker
New submission from Steven Barker: The C implementation of `_random.Random.getrandbits` is unnecessarily limited in the number of bits it can produce on 64-bit Windows systems. I learned about this issue in discussion of my answer to this stack overflow question:

[issue27027] add is_android in test.support to detect Android platform

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +android: add platform.android_ver() ___ Python tracker ___

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules, Windows -Library (Lib) nosy: +mark.dickinson, paul.moore, rhettinger, steve.dower, tim.golden, zach.ware stage: -> patch review ___ Python tracker

[issue26856] android does not have pwd.getpwall()

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker ___

[issue26931] android: test_distutils fails

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker ___

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread SilentGhost
Changes by SilentGhost : -- nosy: +haypo, serhiy.storchaka, yselivanov stage: -> patch review type: -> behavior versions: +Python 3.6 ___ Python tracker

[issue27075] Link to StreamReader/Writer from codecs.getreader/writer

2016-05-21 Thread Ville Skyttä
New submission from Ville Skyttä: Patch attached. -- assignee: docs@python components: Documentation files: codeclinks.patch keywords: patch messages: 265991 nosy: docs@python, scop priority: normal severity: normal status: open title: Link to StreamReader/Writer from

[issue27076] Doc and comment spelling fixes

2016-05-21 Thread Ville Skyttä
New submission from Ville Skyttä: Patch attached. -- assignee: docs@python components: Documentation, Library (Lib) files: docs.patch keywords: patch messages: 265992 nosy: docs@python, scop priority: normal severity: normal status: open title: Doc and comment spelling fixes type:

[issue27074] Confusing text about __all__ in __init__.py in tutorial

2016-05-21 Thread Antti Haapala
New submission from Antti Haapala: https://docs.python.org/3/tutorial/modules.html#importing-from-a-package says that "The import statement uses the following convention: if a package’s __init__.py code defines a list named __all__, it is taken to be the list of module names that should be

[issue26865] Meta-issue: support of the android platform

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +Large files are not supported on Android, RTLD_* macros are not defined on Android, add is_android in test.support to detect Android platform, android: test_cmd_line fails, android: test_concurrent_futures fails,

[issue22558] Missing doc links to source code

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Yoni. Like Guido said in msg257586, we only want to add links for pure Python modules. Can you update your patch to remove C modules please? I'd prefer keep curses docs untouched. Lib/curses/* is basically a wrapper to _cursesmodule.c

[issue27075] Link to StreamReader/Writer from codecs.getreader/writer

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Ville. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Berker Peksag
New submission from Berker Peksag: The relevant changeset is 1570e3855ce8. Here is a traceback from a random buildbot: == ERROR: test_port_parameter_types (test.test_asyncio.test_base_events.BaseEventTests)

[issue27075] Link to StreamReader/Writer from codecs.getreader/writer

2016-05-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1628c1162a4 by Berker Peksag in branch '3.5': Issue #27075: Link to StreamReader and StreamWriter docs https://hg.python.org/cpython/rev/c1628c1162a4 New changeset b11b71aaf864 by Berker Peksag in branch 'default': Issue #27075: Link to

[issue5187] distutils upload should prompt for the user/password too

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Issue 18454 is a duplicate of this, but I'm going to close this one (there are patches for 2.7 and 3.5 in issue 18454). -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> distutils

[issue27067] Improve curses tests

2016-05-21 Thread Martin Panter
Martin Panter added the comment: I guess this might help Issue 12669 (running the test on buildbots)? I had assumed a real terminal was required, but it looks like you are substituting a temporary file. -- nosy: +martin.panter ___ Python tracker

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread Mark Dickinson
Mark Dickinson added the comment: Your analysis and patch look good to me. -- nosy: +mark.dickinson ___ Python tracker ___

[issue27076] Doc and comment spelling fixes

2016-05-21 Thread Martin Panter
Martin Panter added the comment: Thanks Ville for this. It mostly looks good. I left some comments regarding “heterogenous”. I extended the patch with related fixes, mainly outside the Doc/ and Lib/ directories. Whoever commits this should also regenerate importlib, the configure script, and

[issue27064] Make py.exe default to Python 3 when used interactively

2016-05-21 Thread Paul Moore
Paul Moore added the comment: Terry: Correct. As 3.4 is in security fix mode, and 2.7 doesn't come with the launcher (which I hadn't realised - thanks for pointing this out Zach!) the only real backport candidate is 3.5, so I definitely don't think it's worth backporting just for that.

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I didn't check if the change is valid or not, but: > issue.diff Please keep the check but as an assertion (Put it in the if block). -- ___ Python tracker

[issue26919] android: test_cmd_line fails

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker ___

[issue26865] Meta-issue: support of the android platform

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: No, regular users can't adjust dependencies, but I can now. Thanks Zachary. -- ___ Python tracker ___

[issue27064] Make py.exe default to Python 3 when used interactively

2016-05-21 Thread Steve Dower
Steve Dower added the comment: Unfortunately, the current MSI for the launcher doesn't have a great interface when used separately from the main installer. It happens to be more functional than the rest (i.e. double-clicking it will give you a very quick per-user install, whereas the other

[issue27067] Improve curses tests

2016-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Berker. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Antti Haapala
New submission from Antti Haapala: I benchmarked some f'' strings against .format, and surprisingly f'' was slower than .format in about all the simple cases I could think of. I guess this is because f'' strings implicitly use `''.join([])`. The byte code for f'foo is {foo}' currently is 1

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-05-21 Thread Eric V. Smith
New submission from Eric V. Smith: I've separated this out from issue 26331, so as to not interfere with discussions and code reviews for the parsing portion of the PEP. -- assignee: eric.smith components: Interpreter Core messages: 266023 nosy: eric.smith priority: normal severity:

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-05-21 Thread Eric V. Smith
Eric V. Smith added the comment: I've created issue 27080 to track the formatting part of this. -- ___ Python tracker ___

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The workaround is using lru_cache(typed=True). -- ___ Python tracker ___

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Yury Selivanov
Yury Selivanov added the comment: Berker, it should be fixed now in https://hg.python.org/cpython/rev/bdfb15aa3ac5 (sorry, I forgot to reference the issue in the commit message) -- ___ Python tracker

[issue27081] Multiprocessing is not robust against sys.stderr changes

2016-05-21 Thread ppperry
ppperry added the comment: Replacing the first line with `queue = multiprocessing.SimpleQueue()` fixes this issue. -- ___ Python tracker ___

[issue26928] _bootlocale imports locale at startup on Android, causing test_site to fail

2016-05-21 Thread ppperry
Changes by ppperry : -- title: _bootlocale imports locale at startup on Android -> _bootlocale imports locale at startup on Android, causing test_site to fail ___ Python tracker

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Yes, buildbots look happy now. Thanks! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue27051] Create PIP gui

2016-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted notice of this issue on #23551. I did some research on simulating user interaction for testing. The results are exemplified in the attached tk.generate_event.py with test setups and assertions. Events are generated, to fire event handlers, with

[issue27051] Create PIP gui

2016-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: My main concern is that the project produce something good enough, even if not 'perfect' and 'complete', to commit before 3.6.0 beta 1, scheduled 09-07 https://www.python.org/dev/peps/pep-0494/. I would actually like to have a preliminary version in alpha 4

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Ned Deily
Changes by Ned Deily : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Yury Selivanov
Yury Selivanov added the comment: I really can't figure out what's going on. I can't reproduce this, and the exception doesn't make any sense :( -- ___ Python tracker

[issue27079] Bugs in curses.ascii predicates

2016-05-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Most curses.ascii predicates corresponds C functions declared in . But there are some differences: 1. isblank() returns True for space and backspace instead of space and tab. 2. ispunct() returns True for non-ASCII and control characters. 3. iscntrl()

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Eric V. Smith
Eric V. Smith added the comment: I considered doing this, and have some of it implemented. I discussed it with Larry Hastings and Mark Shannon at PyCon Ireland, and we decided to just use ''.format() and the new FORMAT_VALUE opcode, since that was the simplest way to fix the previous

[issue27081] Multiprocessing is not robust against sys.stderr changes

2016-05-21 Thread ppperry
Changes by ppperry : -- nosy: +jnoller, sbt ___ Python tracker ___ ___ Python-bugs-list

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread STINNER Victor
STINNER Victor added the comment: On Python 3, comparison between str and bytes raises a BytesWarning exception if python3 is started with -bb. But sometimes, you really want to compare str with bytes. For example, os.get_exec_path() changes temporarely the BytesWarning warning for that!

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Eric V. Smith
Changes by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Yury Selivanov
Yury Selivanov added the comment: Alright, I think I know what's going on here -- this seems to be a bug of functools.lrucache. Serhiy, would you be able to look into this? Testcase: test.py: import functools @functools.lru_cache() def foo(a): return foo('')

[issue27064] Make py.exe default to Python 3 when used interactively

2016-05-21 Thread Paul Moore
Paul Moore added the comment: OK, no problem. Like you say, not a high priority. -- ___ Python tracker ___

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-05-21 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Yury Selivanov
Yury Selivanov added the comment: > The workaround is using lru_cache(typed=True). Yes, seems to be working! Thanks. -- ___ Python tracker ___

[issue27081] Multiprocessing is not robust against sys.stderr changes

2016-05-21 Thread ppperry
New submission from ppperry: In this code, one would expect that the entire traceback from the uncaught recursion error would get put onto the queue, where it could be read in the main process. queue = multiprocessing.Queue() def do_stderr(queue): class f: def

[issue13615] setup.py register fails with -r argument

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: The repository URL has been changed to https://pypi.python.org/pypi in 2b5cd6d4d149. I'm -1 on making https://pypi.python.org/ a special case. -- nosy: +berker.peksag resolution: -> out of date stage: needs patch -> resolved status: open -> closed

[issue26928] _bootlocale imports locale at startup on Android

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: An improvement to Python startup time on Android (Android does not have nl_langinfo()) is to have _bootlocale.getpreferredencoding() return 'ascii' without importing locale, when none of the locale environment variables is set. With patch

[issue27051] Create PIP gui

2016-05-21 Thread lorenzogotuned
lorenzogotuned added the comment: Ok Upendra. Nice summary. In the next days: - Explain each *top task* (install, unistall, update) and in detail the way the underlying pip commands work (underline mandatory and optional parameters, requests performed to servers, filesystem storage and

[issue23551] IDLE to provide menu link to PIP gui.

2016-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upendra Kumar's GSOC pip-gui proposal has been accepted. It is issue #27051 and progress can be followed there. I leave this issue open, at least for now, for invoking the gui from IDLE. -- ___ Python tracker

[issue27067] Improve curses tests

2016-05-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55852de7d032 by Serhiy Storchaka in branch '3.5': Issue #27067: Improved curses tests. https://hg.python.org/cpython/rev/55852de7d032 New changeset 2917a3ce988e by Serhiy Storchaka in branch 'default': Issue #27067: Improved curses tests.

[issue27051] Create PIP gui

2016-05-21 Thread Upendra Kumar
Upendra Kumar added the comment: I have uploaded my first iteration of design process for Tkinter. In the uploaded document "Design_notes_v1.docx", we have tried to identify different use cases and tasks to be fulfilled by the PIP GUI. If there are any suggestions regarding further changes or

[issue27073] redundant checks in long_add and long_sub

2016-05-21 Thread Oren Milman
Oren Milman added the comment: Thanks for the reviews! I added an assert in long_add (in long_sub it might be that the result is 0). The updated diff file is attached. -- Added file: http://bugs.python.org/file42926/issue27073.diff ___ Python

[issue26928] _bootlocale imports locale at startup on Android

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sorry for the confusion, the file system encoding is not the locale encoding. In issue #9548, Antoine proposed a patch that avoids the import of the re, collections and functools modules by the _io module on startup, by refactoring and moving code from locale

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Martijn Pieters
Changes by Martijn Pieters : -- nosy: +mjpieters ___ Python tracker ___ ___ Python-bugs-list

[issue27067] Improve curses tests

2016-05-21 Thread Martin Panter
Martin Panter added the comment: A couple buildbots don’t look happy with this change, e.g. http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.5/builds/903/steps/test/logs/stdio == ERROR: test_colors_funcs

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2016-05-21 Thread Joshua Jay Herman
Joshua Jay Herman added the comment: Hi, I have alphabetized and added the missing Environment Variables according to Section 1.2 https://docs.python.org/3.6/using/cmdline.html#environment-variables . I also added the missing environment variables from that documentation section. Should

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___

[issue27082] IDLE seriously degrades during and after printing large single line strings

2016-05-21 Thread Raymond Hettinger
New submission from Raymond Hettinger: IDLE should check the size of lines in a result string before printing it. Perhaps it should have a "..." after some user settable limit is reached. >>> '=' * 10# Destroys IDLE >>> json.load(somebigfile) # Makes IDLE unusably sluggish

[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?

2016-05-21 Thread Martijn Pieters
Martijn Pieters added the comment: The catalyst for this question was a Stack Overflow question I answered: https://stackoverflow.com/questions/37365311/why-are-python-3-6-literal-formatted-strings-so-slow Compared the `str.format()` the BUILD_LIST is the bottleneck here; dropping the

[issue27081] Multiprocessing is not robust against sys.stderr changes

2016-05-21 Thread Ned Deily
Changes by Ned Deily : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Campbell Barton
Campbell Barton added the comment: > This probably isn't an issue on non-Windows or 64-bit systems. In fact it is, the limitation applies to 64bit Linux too. (tested in CPython 3.5.1) -- nosy: +ideasman42 ___ Python tracker

[issue22558] Missing doc links to source code

2016-05-21 Thread Yoni Lavi
Yoni Lavi added the comment: Thank you for the review, Berker. I removed source code links from all the modules you specifically mentioned, and all links to C code, including stat.rst which already had such a link before. But I have to say that I don't quite understand the rationale here and

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Since the downstream calls to PyMem_Malloc and _PyLong_FromByteArray both accept size_t for their sizing, there isn't a problem there. That said, I think the current limitation nicely protects us from harm. If you were to run getrandbits(2**60) it would

[issue24550] maxint on 64 bit platforms breaks os.read

2016-05-21 Thread Martin Panter
Martin Panter added the comment: Sorry in Python 3.5 the change was actually Issue 21932 (not Arg Clinic). But Victor said that change shouldn’t go into Python 2. BTW Issue 21199 is about Python 2’s file.read() method, not os.read(). -- resolution: duplicate -> wont fix superseder:

[issue25548] Show the address in the repr for class objects

2016-05-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't quite get why the memory address is helpful For the same reason that we've found the address to helpful in other reprs, it helps people understand that classes are objects just like anything else and to know which objects are distinct. My

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Campbell Barton
Campbell Barton added the comment: @rhettinger, agree that very large ints in this case aren't going to give very usable results. On the other hand, this limit isn't imposed elsewhere (you can power-of operator to create bigger numbers). Nevertheless this isn't going to give good/usable

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2016-05-21 Thread Martin Panter
Martin Panter added the comment: Looks like this was fixed in 3.1 and 3.2 by r84150. -- nosy: +martin.panter stage: needs patch -> patch review ___ Python tracker

[issue27082] IDLE seriously degrades during and after printing large single line strings

2016-05-21 Thread Tim Peters
Tim Peters added the comment: Ya, this annoyance has been there forever. As I recall, the source of the problem is the Tk text widget (which slows horribly when displaying long lines). -- nosy: +tim.peters ___ Python tracker

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: > On the other hand, this limit isn't imposed elsewhere. There are a number of places in the language with these limits. In general, we're opening them up to wider limits if there are valid use cases and if it doesn't immediately shoot you in the foot

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-21 Thread Demur Rumed
Demur Rumed added the comment: Based on serhiy's LGTM I'm uploading hopefully final touches based on his feedback New in this are changes to Makefile.pre & PCbuild files. I can't really test PCbuild but I did test that make followed by modifying wordcode_helpers.h followed by make rebuilds

[issue27067] Improve curses tests

2016-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My bad. I tested only with stdout redirected, the test fail if both stdout and stderr are redirected. Proposed patch fixes this. -- Added file: http://bugs.python.org/file42936/test_curses_no_atty.patch ___

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2016-05-21 Thread Martin Panter
Martin Panter added the comment: I am inclined to go with Alex’s patch. I am uploading a new version of it, issue18383_avoid_dups_3.diff, which resolves conflicts with recent changes. -- versions: -Python 3.4 Added file: http://bugs.python.org/file42937/issue18383_avoid_dups_3.diff

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2016-05-21 Thread Martin Panter
Martin Panter added the comment: Forgot to refresh my patch -- Added file: http://bugs.python.org/file42938/issue18383_avoid_dups_3.diff ___ Python tracker

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2016-05-21 Thread Martin Panter
Changes by Martin Panter : Removed file: http://bugs.python.org/file42937/issue18383_avoid_dups_3.diff ___ Python tracker ___

[issue17599] mingw: detect REPARSE_DATA_BUFFER

2016-05-21 Thread Martin Panter
Martin Panter added the comment: Would it be better to define all the things in "winreparse.h" with names that are less likely to conflict, say Py_REPARSE_DATA_BUFFER etc? This would be a more general way to avoid conflicts, and also avoid hacking the configure script. Also, is the “#ifndef

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-21 Thread Ned Deily
Ned Deily added the comment: "When installing a python package that has `headers`, these headers are usually installed under the main python include directory". Can you give some specific examples of packages and platforms where that is the case? Just taking a quick look at some packages I

[issue20699] Document that binary IO classes work with bytes-likes objects

2016-05-21 Thread Martin Panter
Martin Panter added the comment: I updated my patch thanks to Serhiy’s comments. Also omitted Arg Clinic generated code in this version to avoid future merge conflicts with the hashes. -- versions: +Python 3.6 -Python 3.4 Added file:

[issue27072] random.getrandbits is limited to 2**31-1 bits on 64-bit Windows

2016-05-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___

[issue27082] IDLE seriously degrades during and after printing large single line strings

2016-05-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE shell window gets very slow when displaying long lines ___ Python tracker

[issue26742] imports in test_warnings changes warnings.filters

2016-05-21 Thread Martin Panter
Martin Panter added the comment: I suggest to use the patch from Issue 18383. -- resolution: -> duplicate status: open -> closed superseder: -> test_warnings modifies warnings.filters when running with "-W default" ___ Python tracker

[issue22636] avoid using a shell in ctypes.util: replace os.popen with subprocess

2016-05-21 Thread Martin Panter
Martin Panter added the comment: FTR the Python 2.3 compatibility restriction was lifted; see . -- ___ Python tracker

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: wpy9.patch looks mostly good to me, but there compiler warnings. -- ___ Python tracker ___