[issue27366] PEP487: Simpler customization of class creation

2016-07-23 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___

[issue27366] PEP487: Simpler customization of class creation

2016-07-23 Thread Nick Coghlan
Nick Coghlan added the comment: Scratch that, my revised idea is fundamentally broken, as this example illustrates: >>> class BaseClass: pass ... >>> class OtherClass: pass ... >>> class SubClass(OtherClass, BaseClass): pass ... >>> SubClass.mro() [, , , ] The PEP as written handles this

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: enhancement -> behavior versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4 ___ Python tracker

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch tries to handle the case when there are multiple clones (but it doesn't help with tearoff menus). -- Added file: http://bugs.python.org/file43851/nametowidget_clonedmenus_3.patch ___ Python

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2016-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue18686 is reproducible to me. Here is a script based on issue18686 example. Run it and open the "File" menu. $ python3 issue18686.py .#3069298188.#3069298188#3069298252 Exception in Tkinter callback Traceback (most recent call last): File

[issue27366] PEP487: Simpler customization of class creation

2016-07-23 Thread Nick Coghlan
Nick Coghlan added the comment: I started reviewing Martin's patch, and I initially thought I had found a problem with the way __init_subclass__ is currently defined. It turned out I was wrong about it actually being broken, but I *do* now think it's inherently confusing, and we may be able

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread koobs
koobs added the comment: See Also: non standard (standard?) timezones. https://lists.freebsd.org/pipermail/freebsd-hackers/2015-May/047765.html I don't know to what extent these links are considered standard, but I'll talk to Julian about whether we can get these links installed in FreeBSD

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread koobs
koobs added the comment: I can help providing information on the koobs-* freebsd buildbots (I run them). In a default installation, the timezone entries are available in /usr/share/zoneinfo (see attachment for contents) Iran is not in the root directory, 'Tehran' is in Asia/ subdirectory

[issue27366] PEP487: Simpler customization of class creation

2016-07-23 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Steve Dower
Steve Dower added the comment: > having two places for launcher configuration, the registry and the ini file, > seems like it would be confusing My hope here is that the registry is "the place where all your Pythons are registered" and py.ini is "the place where settings for py.exe are kept".

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Steve Dower
Steve Dower added the comment: I just created issue27603 for any work that goes into adapting the IDLE context menu. Pretty good chance I'll get to look at it for 3.6. -- ___ Python tracker

[issue27603] Migrate IDLE context menu items to shell extension

2016-07-23 Thread Steve Dower
New submission from Steve Dower: Currently (on Windows) we register a set of subcommands in order to display an expanding list of versions of IDLE when users right-click a .py file. With issue27469, a proper shell extension was added, which means we can now use IContextMenu to implement the

[issue27603] Migrate IDLE context menu items to shell extension

2016-07-23 Thread Steve Dower
Steve Dower added the comment: Another idea: we can also provide extra ("extended") commands when the user holds Shift and right-clicks a file. We could use this to add items to do "-r file.py" with IDLE, which would run the file with IDLE and leave the Shell open. --

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Steve Dower
Steve Dower added the comment: I think this is best written as: * extend py.exe to handle PEP 514 properly * write "PythonCore\dev36" (or equivalent - maybe "PythonDev\dev36"?) keys on each build That way you could use "py -dev36" to get your latest build from source (actual tag open to

[issue27579] Add a tutorial for AsyncIO in the documentation

2016-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like the tutorial to include something like the following. Adding Tkinter GUI to Asyncio Program - Assuming that the tkinter Tk instance is called 'root' and the asyncio loop is called 'loop', add the following

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Speed tests: First -- raw loops/second. The attached loopspeed.py has code for tk and asyncio that is equivalent as I know how. The tkasync loop is for the asyncio loop with a root.update() call added, where the root is a fresh instance of Tk(). (Reusing

[issue19489] move quick search box above TOC

2016-07-23 Thread Ammar Askar
Ammar Askar added the comment: Thank you for pointing that out to me, it completely slipped past. It looks like the 'Report a Bug' link disappears because deprecated api is used in Doc/tools/templates/layout.html {% block sidebarsourcelink %} {% endblock %}

[issue1621] Do not assume signed integer overflow behavior

2016-07-23 Thread Martin Panter
Martin Panter added the comment: The error message comes from Undefined Behaviour Sanitizer, which was added to newer versions of GCC and Clang. Currently I am compiling with ./configure --with-pydebug CC="gcc -fsanitize=undefined -fno-sanitize=alignment -fno-sanitize=shift"

[issue26462] Patch to enhance literal block language declaration

2016-07-23 Thread Julien
Julien added the comment: Hi, I completly missed the "review" link, sry. I reviewed comments, and I'm trying to provide an up-to-date patch that you'll hopefully won't have to doctor to make Rietveld eat it. -- Added file: http://bugs.python.org/file43847/issue26462.diff

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Paul Moore
Paul Moore added the comment: On 23 July 2016 at 23:01, Eryk Sun wrote: >> I assume you wouldn't expect to support shebang lines >> like "#!python3.6r"? > > That's already supported in py.ini in the [commands] section, per PEP 397. True, I'd forgotten that. I was

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Eryk Sun
Eryk Sun added the comment: > I assume you wouldn't expect to support shebang lines > like "#!python3.6r"? That's already supported in py.ini in the [commands] section, per PEP 397. I've used this from Vinay's initial releases on Bitbucket, before the launcher was officially distributed with

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Zachary Ware
Zachary Ware added the comment: --register sounds interesting. It could write to the user-specific py.ini, and would be useful for other things, like for `py --register pypy C:\pypy\pypy.exe`. I've also thought it would be useful to be able to use py.exe directly to invoke interpreters

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Paul Moore
Paul Moore added the comment: This sounds like 2 related items (but I'm happy for them both to be under this issue, I'm not suggesting we need 2 issues): 1. Allowing py -register to add PEP 514 metadata to the registry for the given path. 2. Allowing py - to use PEP 514 metadata more

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-23 Thread Guido van Rossum
Guido van Rossum added the comment: It would be a deviation from existing practice for a collection ABC to exist in typing but not in collections.abc, and it would mean the inheritance tree for the types in typing.py would be different from that in collections.abc. These ABCs, while not so

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2016-07-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- title: 3.5.0 documentation archives missing -> 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing versions: +Python 3.4 ___ Python tracker

[issue27602] Enable py launcher to launch repository Python.

2016-07-23 Thread Terry J. Reedy
New submission from Terry J. Reedy: Running a repository build by typing a path such as F:\Python\dev\36\PCbuild\win32\python_d.exe is tedious and error prone and I have to remember to omit '\win32' for 2.7 and it takes up much of a command line. I would like to be able to run something like

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Does all of the recognition patterns in typing.py also need to be in collections.abc? AFAICT, the current collections.abc classes for Sized, Iterable, and Container almost never get used (possibly because they don't provide any useful mixin methods). In

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Mark Dickinson
Mark Dickinson added the comment: The changes look good to me. Thanks for spotting this! -- ___ Python tracker ___

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Having "Edit in IDLE' work uniformly for all installed versions would be great. > set the working directory properly This needs some discussion and coordination. I am thinking of patching IDLE to switch to $HOME when cwd is the python install dir, but this

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread R. David Murray
R. David Murray added the comment: Adding a _ after a keyword is a very common trick. The fact that one got lost indicates that it isn't necessarily optimal :). I don't really have an opinion one way or the other on the variable rename. -- nosy: +r.david.murray

[issue19489] move quick search box above TOC

2016-07-23 Thread Zachary Ware
Zachary Ware added the comment: The patch needs some work, as it stands it makes the 'Report a Bug' link disappear. I haven't looked into it far enough to determine why. For an alternative bikeshed color, would it be possible to put the quick search in the header, just left of the 'previous

[issue26462] Patch to enhance literal block language declaration

2016-07-23 Thread Zachary Ware
Zachary Ware added the comment: Hi Julien, there are still a few unanswered review comments. Check the 'review' link on 'issue26462_regen.diff' (which was your patch, I just recreated it in a format that our Rietveld review tool would accept). --

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Emanuel Barry
Emanuel Barry added the comment: Do note that nothing has been changed in the docs yet. I submitted the patch, and now other developers need to review it, decide whether it's correct or need modifications, and then someone needs to commit it. Let the bikeshedding start =) --

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Steve Dower
Steve Dower added the comment: The "Edit in IDLE" submenu we implemented could be moved from a collection of registry keys into the shell extension, which would also let us detect all Python installations, as right now we only have 3.5 and later (we could even filter out those that are

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread SilentGhost
Changes by SilentGhost : -- resolution: fixed -> status: closed -> open ___ Python tracker ___

[issue27490] Do not run pgen when it is not going to be used (cross-compiling)

2016-07-23 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin
Changes by Aleksandr Koshkin : -- status: open -> closed ___ Python tracker ___ ___

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: Thanks) -- resolution: -> fixed versions: +Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___

[issue27572] Support bytes-like objects when base is given to int()

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: pypy seems so. [PyPy 5.2.0-alpha0 with GCC 4.8.2] on linux int(memoryview(b'123A'[1:3])) 23 int(memoryview(b'123 '[1:3])) 23 -- ___ Python tracker

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: http://bugs.python.org/file43846/hash_doc_renamed_1.patch ___ Python tracker ___

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Emanuel Barry
Emanuel Barry added the comment: Indeed, nicely spotted! Patch attached (hash_complex_type_1.patch) P.S.: I don't like the 'hash_' name as a variable for this example; it looks like grit on Tim's monitor to me, so I went ahead and renamed it to 'hash_value' in that block. Attached as a

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2016-07-23 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: Moreover this example contains following code if hash_ == -1: hash_ == -2 return hash_ that doesn`t make too much sense. -- ___ Python tracker

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: > Certainly some of the requests for IDLE could be accommodated). Steve, what did you have in mind here? -- nosy: +terry.reedy ___ Python tracker

[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin
New submission from Aleksandr Koshkin: https://docs.python.org/3.6/library/stdtypes.html#hashing-of-numeric-types Look at semantics example for hash_complex function. The variable 'hash' is clearly misused - it is not defined or refers to builtin function 'hash'. Either way the example is

[issue27454] PyUnicode_InternInPlace can use PyDict_SetDefault

2016-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- stage: patch review -> commit review ___ Python tracker ___ ___

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-23 Thread David Su
David Su added the comment: I am trying to implement the following algorithm: http://blog.faroo.com/2012/06/07/improved-edit-distance-based-spelling-correction/ This algorithm is used for fast nearest neighbor queries for spell correction. Given a corpus of strings, for each string s, I

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-23 Thread Guido van Rossum
Guido van Rossum added the comment: I'm thinking that it should be called Collection after all. --Guido (mobile) -- ___ Python tracker ___

[issue27271] asyncio lost udp packets

2016-07-23 Thread Yury Selivanov
Yury Selivanov added the comment: > Can you prove that packets may be lost even in UNIX sockets ? > (it is not related to this task directly) Quoting wiki: """Like named pipes, Unix domain sockets support transmission of a reliable stream of bytes (SOCK_STREAM, compare to TCP). In addition,

[issue27600] Spam

2016-07-23 Thread Emanuel Barry
Changes by Emanuel Barry : -- components: -Build, XML, email nosy: -barry, r.david.murray, xaxadmin resolution: -> not a bug stage: -> resolved status: open -> closed title: None -> Spam versions: -Python 2.7 ___ Python

[issue27600] None

2016-07-23 Thread Thanatas Pongpanotkorn
Changes by Thanatas Pongpanotkorn : -- components: +Build, XML, email nosy: +barry, r.david.murray versions: +Python 2.7 ___ Python tracker

[issue27600] None

2016-07-23 Thread Thanatas Pongpanotkorn
Changes by Thanatas Pongpanotkorn : -- hgrepos: -350 ___ Python tracker ___ ___

[issue27600] None

2016-07-23 Thread Thanatas Pongpanotkorn
Changes by Thanatas Pongpanotkorn : -- hgrepos: 350 nosy: xaxadmin priority: normal severity: normal status: open title: None ___ Python tracker

[issue27599] Buffer overrun in binascii

2016-07-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: There is reading one byte past the end of the input buffer in binascii.b2a_qp(). Following example shows the behavior difference depending on the value of this byte: >>> binascii.b2a_qp(memoryview(b'..')[:-1]) b'.' >>>

[issue27577] Make implementation and doc of tuple and list more compliant

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for replies. Attach a small documentation patch. -- keywords: +patch Added file: http://bugs.python.org/file43844/tuple_and_list_parameter_name.patch ___ Python tracker

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-07-23 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +benjamin.peterson, georg.brandl ___ Python tracker ___

[issue26974] Crash in Decimal.from_float

2016-07-23 Thread Stefan Krah
Changes by Stefan Krah : -- stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue27506] make bytes/bytearray delete a keyword argument

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: LGTM. Using b'' instead of the None as the default value of *delete* looks better since it doesn't break backwards compatibility. As for the first argument optional or not, actually it's both okay. You have changed the doc accordingly. --

[issue26823] Shrink recursive tracebacks

2016-07-23 Thread Emanuel Barry
Emanuel Barry added the comment: Turns out there's already some functions in _testcapi that do this, great! Here's an updated patch actually testing the C implementation (and the tests pass, obviously :) -- Added file: http://bugs.python.org/file43843/short_tracebacks_5.patch

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-23 Thread Brett Cannon
New submission from Brett Cannon: See the discussion on python-ideas entitled "An ABC representing "Iterable, Sized, Container"". -- components: Library (Lib) messages: 271088 nosy: brett.cannon, gvanrossum priority: normal severity: normal stage: test needed status: open title: Add

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > AssertionError: False is not true : Africa/El_Aaiun system_transitions This may be an indication of misconfigured zoneinfo on the buildbot. What system_transitions test does is compare the results obtained from the system timezone computations to the

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset e72aab080165 by Alexander Belopolsky in branch 'default': Issue 24773: Make zoneinfo tests more robust. https://hg.python.org/cpython/rev/e72aab080165 -- ___ Python tracker

[issue26823] Shrink recursive tracebacks

2016-07-23 Thread Emanuel Barry
Emanuel Barry added the comment: After discussing with someone, I realized that the tests actually test the Python implementation twice, and never the C implementation (since I use traceback.print_exc() to "test" the C implementation). I don't think it's possible to both catch the output from

[issue1621] Do not assume signed integer overflow behavior

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: Change tuple_and_list.patch with empty curly braces. I don't add the test for __length_hint__. According to the comment, when overflow happens, it is either ignored or a MemoryError will finally be raised. I am not willing to test a MemoryError in this case.

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Steve Dower
Steve Dower added the comment: Fixed. This should get out into the wild first with 3.6.0a4, and then 3.5.3[rc1] -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27469] Unicode filename gets crippled on Windows when drag and drop

2016-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3005fc6cff8a by Steve Dower in branch '3.5': Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. https://hg.python.org/cpython/rev/3005fc6cff8a New changeset f56adb9800fa by Steve Dower in branch 'default':

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Does anyone know whether zoneinfo is installed on FreeBSD buildbot? If it is, at which path? > On Jul 23, 2016, at 7:24 AM, koobs wrote: > > > koobs added the comment: > > Also failing on all freebsd buildbots, all tests

[issue26462] Patch to enhance literal block language declaration

2016-07-23 Thread Julien
Julien added the comment: Hi, Look like it has not been merged, is there something I can do to help with this? Bests -- ___ Python tracker ___

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-23 Thread Chris Angelico
Changes by Chris Angelico : -- nosy: +Rosuav ___ Python tracker ___ ___ Python-bugs-list

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-23 Thread Christian Heimes
Christian Heimes added the comment: Hi Pavel, The issues in ASN1_PRINTABLE_type() [N2], BN_mask_bits() [N4 bn_lib.c, digest.c, evp_enc.c], dh_cms_set_peerkey() [N5, dh_ameth.c] and cms_env_set_version() [N6, cms_env.c] are all OpenSSL issues and should be reported to OpenSSL. The Windows build

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks Martin too. Nobody than me knows how much work you have done to this. :) I could have made it better at first. :( Sorry for the noise to everyone. -- ___ Python tracker

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks Martin too. Nobody than me knows how much work you have done to this. :) I could have made it better at first. :( Sorry for the noise to everyone. -- ___ Python tracker

[issue27581] Fix overflow check in PySequence_Tuple

2016-07-23 Thread Xiang Zhang
Xiang Zhang added the comment: I'd prefer the size_t method. The others seems to make the logic not clear. I've seen some codes using size_t to do overflow checking, such as https://hg.python.org/cpython/file/tip/Python/bltinmodule.c#l1954. There are more if you use a simple grep. So I think

[issue13849] Add tests for NUL checking in certain strs

2016-07-23 Thread Martin Panter
Martin Panter added the comment: Buildbots seem happier now -- status: open -> closed ___ Python tracker ___

[issue27506] make bytes/bytearray delete a keyword argument

2016-07-23 Thread Martin Panter
Martin Panter added the comment: This patch is what I had in mind for setting the documented default as delete=b'', but using NULL internally. I also changed it to allow the table argument to be omitted. We can change the documentation accordingly. These are just suggestions; use either or

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread koobs
koobs added the comment: Also failing on all freebsd buildbots, all tests failing with: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/zoneinfo/Iran' -- nosy: +koobs resolution: fixed -> ___ Python tracker

[issue27597] Add usage examples for TracebackException, StackSummary and FrameSummary

2016-07-23 Thread Ram Rachum
New submission from Ram Rachum: I saw these new interesting classes in the `traceback` docs, but if I were shown an example of how they are used, I might get inspired to use them in my own code. -- assignee: docs@python components: Documentation messages: 271072 nosy: cool-RR,

[issue18049] Re-enable threading test on OSX

2016-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch increases the stack size for threads to slightly less than size as is used for the main thread, see this fragment in configure.ac: # Issue #18075: the default maximum stack size (8MBytes) is too # small for the default recursion limit.

[issue27596] Build failure with Xcode 8 beta on OSX 10.11

2016-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: P.S. This issue is mostly a reminder for myself, Xcode 8 is still in beta and hence patches to CPython to support it are IMHO still out of scope for merging at this time. -- ___ Python tracker

[issue27596] Build failure with Xcode 8 beta on OSX 10.11

2016-07-23 Thread Ronald Oussoren
New submission from Ronald Oussoren: I just noticed that building the Xcode 8 beta 2 on OSX 10.11 results in a link failure of the python binary. Based on a quick glance at the error (before switching back to Xcode 7): 1) macOS 10.12 appears to have a getentropy function that's detected by

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2016-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Ned, Can this issue be closed? The current installers on www.python.org are signed. Ronald -- ___ Python tracker ___

[issue27539] negative Fraction ** negative int not normalized

2016-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests for fractions are in Lib/test/test_fractions.py. In necessary, post the new code in a message. -- ___ Python tracker

[issue24291] Many servers (wsgiref, http.server, etc) can truncate large output blobs

2016-07-23 Thread Martin Panter
Martin Panter added the comment: The bug should no longer be a problem in 3.6, as long as my change for Issue 26721 survives. Here is an updated patch against 3.5. -- versions: -Python 3.6 Added file: http://bugs.python.org/file43840/wfile-partial.v5.patch

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-07-23 Thread Klamann
Klamann added the comment: Thanks Xiang and Martin for solving this, you guys are awesome :) -- ___ Python tracker ___

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-07-23 Thread Martin Panter
Martin Panter added the comment: Thanks Xiang for your work on this, and Klamann for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-23 Thread Martin Panter
Martin Panter added the comment: FYI, other failures that may be different problems: http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/4930/steps/test/logs/stdio Timeout (0:15:00)! Thread 0x7fff71296cc0 (most recent call first): File

[issue27581] Fix overflow check in PySequence_Tuple

2016-07-23 Thread Martin Panter
Martin Panter added the comment: Hmm maybe this patch is okay. We are assuming size_t will fit more than PY_SSIZE_T_MAX. The alternatives I can think of would be equally ugly: /* Risks loss of precision, e.g. 64 bit integer from floating point */ if (n < (Py_ssize_t)(PY_SSIZE_T_MAX / 1.25) -