[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5315db3171b0 by Benjamin Peterson in branch '2.7': revert a37cc3d926ec (#5322) https://hg.python.org/cpython/rev/5315db3171b0 -- ___ Python tracker

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: copy.copy() didn't work correctly with threading.local in 3.x. It just silently created an empty instance (even not properly initialized, since __init__ is bypassed). Now it correctly raises TypeError. copy.copy() looks working in 2.7 because it copied the

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread INADA Naoki
INADA Naoki added the comment: This patch modify stack layout slightly and adds document in Doc/library/dis.rst -- Added file: http://bugs.python.org/file45889/callmethod-doc.patch ___ Python tracker

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This might be due to issue22995. -- ___ Python tracker ___ ___

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread INADA Naoki
INADA Naoki added the comment: PGO benchmark result https://gist.github.com/methane/64ab60c38324423ef27af70cc6db1dfd -- Added file: http://bugs.python.org/file45887/default.json.gz ___ Python tracker

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file45888/patched.json.gz ___ Python tracker ___

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Jelle Zijlstra
New submission from Jelle Zijlstra: Calling copy.copy on a threading.local subclass copies attributes over correctly in Python 2.7, but creates an empty object in Python 3.3-3.5 and fails with a pickle-related error in 3.6. Marking this as a release blocker and assigning to Ned because this

[issue28961] unittest.mock._Call ignores `name` parameter

2016-12-13 Thread Jiajun Huang
Jiajun Huang added the comment: The new patch has been updated. :) -- Added file: http://bugs.python.org/file45885/mock.patch ___ Python tracker ___

[issue28959] Add a macro for dict size

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: list doesn't end with array too, but uses PyObject_VAR_HEAD. tp_itemsize is 0, therefore no additional space at the end is allocated. Maybe this is overuse of PyObject_VAR_HEAD. -- ___ Python tracker

[issue28950] regrtest: -j0 fails the check -j is not allowed together with -T/-l

2016-12-13 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for your review kumaar.nd. :-) As for your suggestion, in this case adding can not be any harder than replacing. And the old cases could represent the truth value. -- ___ Python tracker

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread INADA Naoki
INADA Naoki added the comment: I haven't noticed the patch is committed already. Changing stack layout slightly is for easy to document, not for performance. Please don't close this issue until adding document in Doc/library/dis.rst -- ___ Python

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread INADA Naoki
INADA Naoki added the comment: I'm working on changing stack layout slightly current patch: callable | NULL | arg1 | ...argN next patch will: NULL | callable | arg1 | ...argN After benchmark with PGO build, I'll post it. -- ___ Python tracker

[issue28961] unittest.mock._Call ignores `name` parameter

2016-12-13 Thread Jiajun Huang
Jiajun Huang added the comment: update the patch file follow the doc(https://docs.python.org/devguide/gitdevs.html) -- Added file: http://bugs.python.org/file45884/mock.patch ___ Python tracker

[issue28959] Add a macro for dict size

2016-12-13 Thread INADA Naoki
INADA Naoki added the comment: I didn't know about PyObject_VAR_HEAD much. The comment of the macro says: /* PyObject_VAR_HEAD defines the initial segment of all variable-size * container objects. These end with a declaration of an array with 1 * element, but enough space is malloc'ed so

[issue28961] unittest.mock._Call ignores `name` parameter

2016-12-13 Thread Jiajun Huang
Jiajun Huang added the comment: Thanks for reply :) the patch has been uploaded. -- keywords: +patch Added file: http://bugs.python.org/file45883/mock_class_call.patch ___ Python tracker

[issue28966] Menu.add_checkbutton has no checkmark on OS X

2016-12-13 Thread Ned Deily
Ned Deily added the comment: I'm not totally sure what behavior you expect but it *seems* to work OK for me using the current Python 3.5.2 or the pre-release 3.6.0rc1 from python.org OS X installers and with current ActiveTcl 8.5.18 installed as suggested

[issue28956] return minimum of modes for a multimodal distribution instead of raising a StatisticsError

2016-12-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Tue, Dec 13, 2016 at 10:17:21AM +, Srikanth Anantharam wrote: > > Srikanth Anantharam added the comment: > > @steven: > > data = [1, 2, 3, 4, 4, 4, 5, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9] > is clearly unimodal with mode 8 > > data would have been

[issue28956] return minimum of modes for a multimodal distribution instead of raising a StatisticsError

2016-12-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Tue, Dec 13, 2016 at 10:08:10AM +, Srikanth Anantharam wrote: > Please see the updated pull request PR 50, with the changes. I'm rejecting that pull request. As I said, mode() intentionally returns only the single, unique mode. I may add a more

[issue28966] Menu.add_checkbutton has no checkmark on OS X

2016-12-13 Thread Victor Sergienko
New submission from Victor Sergienko: On Linux, this code toggles the checkmark on a checkbutton in right-click menu. On OS X 10.12 it doesn't. OS X 10.12, python 3.6.0b4. #!/usr/bin/env python3 import tkinter as tk class NodePopup(tk.Menu): def __init__(self, master):

[issue13290] get vars for object with __slots__

2016-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Michelle (maker)'s patch was reviewed by Serhiy and Richard in msg171867 and following. It appears that stage should be 'needs revised patch'. -- ___ Python tracker

[issue28091] Document PEP 525

2016-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: > I believe that I addressed all the comments in the previous review (although > its always possible I missed something), and have a new patch with the > improvements and fixes. Thanks Eric! I've left a few more comments in the review. Almost there! > I

[issue28965] Multiprocessing spawn/forkserver fails to pass Queues

2016-12-13 Thread Sean Murphy
New submission from Sean Murphy: Python fails to pass a Queue when calling Process with multiprocessing.set_start_method set to "spawn" or "forkserver". Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.5/multiprocessing/spawn.py", line 106, in spawn_main

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: > Inada-san, when I tested the patch last time, I think there was a regression > somewhere, related to the descriptor protocol. Have you fixed that one? Seems to be either fixed, or maybe those bugs were related to my opcode cache patch. Anyways, I decided

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 64afd5cab40a by Yury Selivanov in branch 'default': Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes. https://hg.python.org/cpython/rev/64afd5cab40a -- nosy: +python-dev ___ Python tracker

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: Inada-san, when I tested the patch last time, I think there was a regression somewhere, related to the descriptor protocol. Have you fixed that one? -- ___ Python tracker

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Ned Williamson
Ned Williamson added the comment: yselivanov, ah I think you're right. I misread that function after I noticed the issue in the first one. -- ___ Python tracker

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: I think the bug is only in _asyncio_Future_remove_done_callback, since future_schedule_callbacks makes a slice first, which cannot be mutated. I'm attaching a patch. Inada, would you be able to take a look? -- keywords: +patch nosy: +ned.deily

[issue13290] get vars for object with __slots__

2016-12-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: I independently raised this on Python-Ideas and the initial responses are that vars() should support objects with slots too. https://mail.python.org/pipermail/python-ideas/2016-December/043965.html -- nosy: +steven.daprano versions: +Python 3.7

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-12-13 Thread Rohit Jamuar
Changes by Rohit Jamuar : Added file: http://bugs.python.org/file45881/distutils_patch_master.patch ___ Python tracker ___

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-12-13 Thread Rohit Jamuar
Changes by Rohit Jamuar : Removed file: http://bugs.python.org/file45880/distutils_patch_master.patch ___ Python tracker ___

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: Oh, this is a release blocker. I'll take a look later today. -- ___ Python tracker ___

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-12-13 Thread Rohit Jamuar
Changes by Rohit Jamuar : Added file: http://bugs.python.org/file45880/distutils_patch_master.patch ___ Python tracker ___

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-12-13 Thread Rohit Jamuar
Changes by Rohit Jamuar : Removed file: http://bugs.python.org/file42725/distutils_patch_master.patch ___ Python tracker ___

[issue28964] AST literal_eval exceptions provide no information about line number

2016-12-13 Thread Steve Merritt
New submission from Steve Merritt: Without line numbers, debugging syntax errors in large documents is a tedious and painful process. -- components: Library (Lib) files: mywork.patch keywords: patch messages: 283142 nosy: stevemerritt priority: normal severity: normal status: open

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2016-12-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Regex objects became uncopyable in 2.5 ___ Python tracker ___

[issue28962] Crash when throwing an exception with a malicious __hash__ override

2016-12-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +CPython hangs on error __context__ set to the error itself ___ Python tracker

[issue17430] missed peephole optimization

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: FYI this optimization is already implemented in 3.5+. >>> def fo(): ... if a: ... if b: ... if c: ...print() ... >>> import dis >>> dis.dis(fo) 2 0 LOAD_GLOBAL 0 (a) 2 POP_JUMP_IF_FALSE 18 3

[issue11007] stack tracebacks should give the relevant class name

2016-12-13 Thread Zachary Ware
Zachary Ware added the comment: __qualname__ has become a thing since this issue was opened, it may make implementation of this feature significantly easier. -- nosy: +zach.ware versions: +Python 3.7 -Python 3.5 ___ Python tracker

[issue28944] A lack of line 6

2016-12-13 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: -josh.r ___ Python tracker ___ ___

[issue17430] missed peephole optimization

2016-12-13 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue28962] Crash when throwing an exception with a malicious __hash__ override

2016-12-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: Is this something that needs to be defended against? My understanding is that it's pretty easy to segfault CPython in a number of ways if you can execute 100% arbitrary code. The only way to cause this problem is if you can define malicious exceptions and

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2016-12-13 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue11007] stack tracebacks should give the relevant class name

2016-12-13 Thread Camilla Montonen
Camilla Montonen added the comment: Reproduced original issue in 3.5.1. -- nosy: +Winterflower versions: +Python 3.5 -Python 3.3 ___ Python tracker ___

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +giampaolo.rodola, gvanrossum, haypo, yselivanov ___ Python tracker ___

[issue28876] bool of large range raises OverflowError

2016-12-13 Thread Mark Dickinson
Mark Dickinson added the comment: Patch LGTM. You could safely drop the initialisers beyond `nb_bool` in the `range_as_number` struct (per C99 6.7.8p21), but it's fine as it is. -- ___ Python tracker

[issue28683] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-12-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_pathlib must also be fixed for this same problem. New patch. -- Added file: http://bugs.python.org/file45878/bind_unix_socket_2.patch ___ Python tracker

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +inada.naoki ___ Python tracker ___ ___

[issue28923] Nonexisting encoding specified in Tix.py

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, CPython tokenizer recognizes encoding starting with "iso-latin-1-" as "iso-8859-1" (see get_normal_name() in Parser/tokenizer.c:228). I agreed that coding cookie or all line can be removed from Tix.py. Please do that. -- assignee: ->

[issue28963] Use-after-free in _asynciomodule.c

2016-12-13 Thread Ned Williamson
New submission from Ned Williamson: There are two cases of use-after-free in the new Modules/_asynciomodule.c in the release candidate for Python 3.6, but I'm filing these together because it's the same underlying issue. In both cases in this file where the unsafe `PyList_GET_ITEM` is called,

[issue28960] Small typo in Thread.join docs

2016-12-13 Thread Martin Panter
Changes by Martin Panter : -- stage: -> commit review versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue28923] Nonexisting encoding specified in Tix.py

2016-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, if you agree with the proposed removal, but want me to do it, I will. -- ___ Python tracker ___

[issue28923] Nonexisting encoding specified in Tix.py

2016-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reread https://docs.python.org/27/reference/lexical_analysis.html#encoding-declarations A first or second line must be a comment matching "coding[=:]\s*([-\w.]+)" (which IDLE uses) and the captured name "must be recognized by Python". I also did some

[issue28959] Add a macro for dict size

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch also switches the struct of a dict to PyObject_VAR_HEAD. Should we use Py_SIZE or _PyDict_GET_SIZE? It is easier to replace _PyDict_GET_SIZE with Py_SIZE than restore dict-specific name from some of Py_SIZE-s. -- Added file:

[issue25711] Rewrite zipimport from scratch

2016-12-13 Thread Brett Cannon
Brett Cannon added the comment: Just FYI, if this lands I will probably try to build off of it to make a pathlib-like zip module to eventually replace zipfile. So if there's any API design decisions that need to be made, it would be great if we try to keep the zip-specific bits separate and

[issue28941] Update the link to Source Code in Python Docs from hg to github

2016-12-13 Thread Brett Cannon
Brett Cannon added the comment: No, I'm the one who misunderstood; I read the title of the issue too quickly after reading the doc source link issue and my brain didn't pick up on the "source code" part of the title. Sorry about that. -- ___ Python

[issue28680] bdist_wininst generated 64-bit executable looks for 3.5-32

2016-12-13 Thread Steve Dower
Steve Dower added the comment: Fixed for 3.5.3, 3.6.1 and default against the original issue26071 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> bdist_wininst created binaries fail to start and find 32bit Pythons

[issue26071] bdist_wininst created binaries fail to start and find 32bit Pythons

2016-12-13 Thread Steve Dower
Steve Dower added the comment: Fixed for 3.5.3, 3.6.1 and default. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26546] Provide translated french translation on docs.python.org

2016-12-13 Thread Julien Palard
Julien Palard added the comment: For the record, I opened a WIP pull request here: https://github.com/python/docsbuild-scripts/pull/8 Feedback is welcome. -- ___ Python tracker

[issue26071] bdist_wininst created binaries fail to start and find 32bit Pythons

2016-12-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3da1ee47e6b by Steve Dower in branch '3.5': Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe https://hg.python.org/cpython/rev/c3da1ee47e6b New changeset 0528a6743018 by Steve Dower in branch '3.6': Issue #26071:

[issue25458] ftplib: command response shift - mismatch

2016-12-13 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: One more concern about the fix (so that you don't assume I didn't think of this ;) ) - handling of errors signified by the end-of-transfer response. Handling a response in a close handler prevents us from actually checking its code: * destructors like a close

[issue28959] Add a macro for dict size

2016-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: It looks like the struct of a dict is already arranged in a way that it could switch to PyObject_VAR_HEAD which would let you use Py_SIZE everywhere. -- nosy: +rhettinger ___ Python tracker

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Ned Deily
Ned Deily added the comment: Thanks. I'm still interested in the outcome but my immediate concern was whether this was a showstopper problem for 3.6.0. Good luck! -- nosy: +ned.deily ___ Python tracker

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- nosy: -ned.deily ___ Python tracker ___ ___

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: > virtualenvs and not venvs? Correct. > In any case, at this point it seems pretty clear that we're not dealing with > a problem with Python 3.6.0 nor with the python.org installer, no? Also correct. If you don't mind, I'd like to continue to document and

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- versions: -Python 3.6 ___ Python tracker ___ ___

[issue28961] unittest.mock._Call ignores `name` parameter

2016-12-13 Thread Emanuel Barry
Emanuel Barry added the comment: That indeed looks like a bug. Well spotted :) That code has been there since unittest.mock was added back in March 2012. If I were to guess, I'd say that it should be `if name is None: name = ''`. Care to submit a patch? -- nosy: +ebarry,

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: This morning, I noticed my Mercurial install isn't working either - failing with this error message: $ hg pull abort: couldn't find mercurial libraries in [/usr/local/Cellar/mercurial/4.0.1/lib/python2.7/site-packages /usr/local/Cellar/mercurial/4.0.1/bin

[issue28962] Crash when throwing an exception with a malicious __hash__ override

2016-12-13 Thread Jelle Zijlstra
New submission from Jelle Zijlstra: $ cat baderror.py class BadError(Exception): def __init__(self): self.i = 0 def __hash__(self): self.i += 1 return self.i e = BadError() raise e from e $ ./python.exe -V Python 3.5.2+ $ ./python.exe baderror.py Segmentation

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2016-12-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 96a9992d1003 by Xavier de Gaye in branch 'default': Issue #16255: subrocess.Popen uses /system/bin/sh on Android as the shell, https://hg.python.org/cpython/rev/96a9992d1003 -- nosy: +python-dev ___

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2016-12-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: For some reason the following notifications have not all been received (yet): remote: added 1 changesets with 2 changes to 2 files remote: buildbot: change(s) sent successfully remote: sent email to roundup at rep...@bugs.python.org remote:

[issue26110] Speedup method calls 1.2x

2016-12-13 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Ned Deily
Ned Deily added the comment: Have you verified that the problem no longer occurs if the virtualenvs are not in a Dropbox directory? (And these are virtualenvs, not venvs?) In any case, at this point it seems pretty clear that we're not dealing with a problem with Python 3.6.0 nor with the

[issue26071] bdist_wininst created binaries fail to start and find 32bit Pythons

2016-12-13 Thread Ned Deily
Ned Deily added the comment: Since we are two days from the final release, the fix requires rebuilding and replacing a binary file in the source repo, and you state (in related Issue28680): "Considering we've gone through all of 3.5 and 3.6 with very few people noticing (and as far as I'm

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm getting good at reinstalling Python, though. Now I'm invoking it with this single command-line: sudo installer -verboseR -pkg ~/Downloads/python-3.6.0rc1-macosx10.6.pkg -target / -- ___ Python tracker

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

2016-12-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: Removing from the dependencies some issues that have become out of scope. -- dependencies: -Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts, add function to os module for getting path to default

[issue28190] Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts

2016-12-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: xdegaye -> ___ Python tracker ___ ___

[issue28190] Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts

2016-12-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c78d844d6f0 by Xavier de Gaye in branch '3.6': Issue #28190: Cross compiling the _curses module does not use anymore https://hg.python.org/cpython/rev/8c78d844d6f0 New changeset bdf92b4e02f2 by Xavier de Gaye in branch 'default': Issue #28190:

[issue28949] Stdlib modules disappear from file system

2016-12-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: Downgrading Dropbox did not help. This morning I woke up to `importlib.abc` missing. -- ___ Python tracker ___

[issue28919] Simplify `_copy_func_details` in unittest.mock

2016-12-13 Thread Berker Peksag
Berker Peksag added the comment: I will commit your patch today if Michael doesn't beat me to it. -- ___ Python tracker ___

[issue28923] Nonexisting encoding specified in Tix.py

2016-12-13 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: I'm more puzzled how noone has noticed this until now if it's supposed to produce an error upon compilation. (Well, it doesn't. I couldn't quite figure out how the encoding declaration is parsed, but it's clear the line _isn't_ matched as a regex like the docs

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-13 Thread Steve Dower
Steve Dower added the comment: What about the file, ucrtbase.dll? Do you have another file by that name somewhere? -- ___ Python tracker ___

[issue28680] bdist_wininst generated 64-bit executable looks for 3.5-32

2016-12-13 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower keywords: +3.4regression versions: +Python 3.7 ___ Python tracker ___

[issue28680] bdist_wininst generated 64-bit executable looks for 3.5-32

2016-12-13 Thread Steve Dower
Steve Dower added the comment: Thanks. 3.5.3 is definite, I've pinged the release manage on the original bug to see about 3.6.0, but definitely 3.6.1. Considering we've gone through all of 3.5 and 3.6 with very few people noticing (and as far as I'm aware, completely able to fix it

[issue26071] bdist_wininst created binaries fail to start and find 32bit Pythons

2016-12-13 Thread Steve Dower
Steve Dower added the comment: Looks like I acknowledged the error in the patch and then didn't fix it when I applied it. The change needed here is what Mark describes above, plus recompiling the executable stubs. Or alternatively, I can probably just edit out the bytes in the existing stub

[issue28961] Is it a bug(method `_Call.__new__` in unittest.mock)?

2016-12-13 Thread Jiajun Huang
New submission from Jiajun Huang: code in `_Call.__new__`: def __new__(cls, value=(), name=None, parent=None, two=False, ¦ ¦ ¦ from_kall=True):

[issue28845] Clean up known issues for AIX

2016-12-13 Thread David Edelsohn
David Edelsohn added the comment: There is an AIX system in the Python buildbot farm. Why do you say no AIX to test? -- ___ Python tracker ___

[issue28919] Simplify `_copy_func_details` in unittest.mock

2016-12-13 Thread Jiajun Huang
Jiajun Huang added the comment: So what should I do next to make the code being merged into CPython? I am new to mercurial(or just wait for it?). -- ___ Python tracker

[issue28960] Small typo in Thread.join docs

2016-12-13 Thread Ryan
New submission from Ryan: There is a '--' before a ',' that doesn't make sense here: https://docs.python.org/3/library/threading.html#threading.Thread.join -- assignee: docs@python components: Documentation files: fixdoc.patch keywords: patch messages: 283101 nosy: docs@python, rcorre

[issue28759] access to mkfifo, mknod and hard links is controled by SELinux MAC on Android

2016-12-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> rejected stage: -> resolved ___ Python tracker ___

[issue28754] Argument Clinic for bisect.bisect_left

2016-12-13 Thread Julien Palard
Julien Palard added the comment: As the pattern of this converter is not widely used, I'll let it in the code of _bisect for the moment, see: http://bugs.python.org/issue28933. -- ___ Python tracker

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-13 Thread Julien Palard
Changes by Julien Palard : -- status: open -> closed ___ Python tracker ___ ___

[issue28959] Add a macro for dict size

2016-12-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In additional to C API functions PyTuple_Size() and PyList_Size() there are fast macros PyTuple_GET_SIZE() and PyList_GET_SIZE() for getting the size of a tuple or a list. But for dicts there is just PyDict_Size(). It is not just slower than a macro, but

[issue14597] Cannot unload dll in ctypes until script exits

2016-12-13 Thread Mateusz Loskot
Changes by Mateusz Loskot : -- nosy: +mloskot ___ Python tracker ___ ___ Python-bugs-list

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-13 Thread Larry Hastings
Larry Hastings added the comment: Since this is the first time anybody has needed it, I suggest the latter. -- ___ Python tracker ___

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2016-12-13 Thread Mantas Zimnickas
Changes by Mantas Zimnickas : -- nosy: +sirex ___ Python tracker ___ ___ Python-bugs-list

[issue28950] regrtest: -j0 fails the check -j is not allowed together with -T/-l

2016-12-13 Thread kumaar.nd
kumaar.nd added the comment: hi, I reviewed the changes of patch set-2. In the test_regrtest.py, instead of adding new condition 229:self.checkError([opt, '0', '-T'], "don't go together") 230:self.checkError([opt, '0', '-l'], "don't go together") isnt it easier to just tweak and replace the

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

2016-12-13 Thread Mantas Zimnickas
Changes by Mantas Zimnickas : -- nosy: +Mantas Zimnickas ___ Python tracker ___ ___

[issue28955] Not matched behavior of numeric comparison with the documentation

2016-12-13 Thread R. David Murray
R. David Murray added the comment: Sure, we like to make the docs more precise when it doesn't interfere with the presentation. Perhaps something like: "Additionally, ordering comparisions involving not-a-number values will always return False." I wonder if we should also mention here that

[issue28603] traceback module can't format/print unhashable exceptions

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no issue28603-listset.patch. -- nosy: +serhiy.storchaka ___ Python tracker ___

  1   2   >