[issue28968] xml rpc server fails with connection reset by peer error no 104

2016-12-19 Thread Manish Singh
Manish Singh added the comment: Hi Davud Murray, Can you reply to above comments. -- ___ Python tracker ___

[issue15729] PyStructSequence_NewType enhancement

2016-12-19 Thread elemental
Changes by elemental : -- nosy: +elemental ___ Python tracker ___ ___

[issue28158] Implement LOAD_GLOBAL opcode cache

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: > Actually, if you don't mind, I'd like to update the patch myself. I have a > few ideas how to restructure it and add support for LOAD_ATTR. Sounds interesting. I'll wait to touch this patch. There are enough time by Python 3.7 and enough other issues I can

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread woo yoo
woo yoo added the comment: I agree with you -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: While the patch is trivial, I need LGTM from another comitter. -- stage: -> patch review Added file: http://bugs.python.org/file45974/fromkeys2.patch ___ Python tracker

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread Brendan Donegan
Brendan Donegan added the comment: IMO there's no actual bug in Python. Perhaps documentation can be clarified in a short simple way. I would reiterate the point that restating facts of the language all over the documentation is not a great idea, but maybe here the benefits outweigh the

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: Thanks for the help Steve, however I cannot find the Python Launcher app anywhere on my computer. Even after repairing/reinstalling. Where might I find this file? What is it called exactly? Much appreciated. -- ___ Python

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread woo yoo
woo yoo added the comment: If i was wrong about this issue, please tell me. -- ___ Python tracker ___ ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: I'm going to tackle the questions one-by-one: I would like these ".py" files to be IDLE files in the sense that they have the IDLE icon and they open up directly into an idle file with a shell in the background. For context: on my other Windows 10 machine, I've been

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 46e329ef13ae by INADA Naoki in branch '2.7': Issue #29019: Fix dict.fromkeys(x) overallocates when x is sparce dict. https://hg.python.org/cpython/rev/46e329ef13ae -- nosy: +python-dev ___ Python tracker

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Steve Dower
Steve Dower added the comment: The Python launcher is the right app to select. Double-clicking .py files has always run them with the interpreter, but you will also get the right-click menu once they are associated with the launcher (this is what I meant by it being the single integration

[issue15729] PyStructSequence_NewType enhancement

2016-12-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: Since `seq` is checked by PyDict_CheckExact(seq) already, ((PyDictObject*)seq)->ma_used may be better. -- ___ Python tracker

[issue28158] Implement LOAD_GLOBAL opcode cache

2016-12-19 Thread Yury Selivanov
Yury Selivanov added the comment: > As far as I look quickly, #10401 uses namei as cache key and this patch uses opcode index as cache key, am I right? Correct. Actually, if you don't mind, I'd like to update the patch myself. I have a few ideas how to restructure it and add support for

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset fcc09d9ee7d4 by Serhiy Storchaka in branch 'default': Issue #28927: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII https://hg.python.org/cpython/rev/fcc09d9ee7d4 -- nosy: +python-dev ___

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Robert Xiao
Robert Xiao added the comment: OK, I've attached a new version of the patch with the requested documentation changes (versionchanged and whatsnew). -- Added file: http://bugs.python.org/file45966/fromhex.patch ___ Python tracker

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: -> serhiy.storchaka components: +Interpreter Core stage: patch review -> commit review ___ Python tracker

[issue29015] re slashes

2016-12-19 Thread Сергей Снегирёв
New submission from Сергей Снегирёв: >>> path 'd:/\\temp' >>> pat = '[{}]+'.format(re.escape('\\/')) >>> re.sub(pat, '\\', path) Traceback (most recent call last): File "", line 1, in re.sub(pat, '\\', path) File

[issue29015] re slashes

2016-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is a problem with your replacement template. Python string literal '\\' is Python string containing a single backslash character. But backslash has special meaning in a replacement template, it starts escapes and backreferences. For using a literal

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

2016-12-19 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks Victor. 2.7 is not affected since in 2.7 -j0 does not spawn processes. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Robert. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Robert Xiao
Robert Xiao added the comment: New patch with proper line lengths in documentation. -- Added file: http://bugs.python.org/file45967/fromhex.patch ___ Python tracker

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-19 Thread Eric Lafontaine
Eric Lafontaine added the comment: Hi all, @David, the "Resent-" block should be added by the user and he needs to know what he's doing. Hell, I work with emails all the time and never knew about this. The Worse part of it is that I have to communicate with the IETF just to know how we can

[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2016-12-19 Thread Ettore Atalan
New submission from Ettore Atalan: Regarding URL: http://docs.python.org/3/library/othergui.html Section: PySide PySide is provided by 'The Qt Company' and no longer by 'Nokia' like mentioned in the documentation. -- assignee: docs@python components: Documentation messages: 283646

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Steve Dower
Steve Dower added the comment: I'm not familiar with any of the other proposed solutions - could you link to a few? One important factor is that you need to install the Python Launcher to get the context menus (this is the default in 3.5 and later). Associating directly to the Python

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-19 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file45968/fix-28147-py35-2.patch ___ Python tracker ___

[issue29016] negative numbers raised to power zero should be 1, not -1

2016-12-19 Thread Tim Peters
New submission from Tim Peters: They already are. >>> (-2)**0 1 You're probably doing this instead: >>> -2**0 -1 Exponentiation has higher precedence than unary minus, so that last example groups as -(2**0), and -1 is correct. -- nosy: +tim.peters resolution: -> not a bug stage:

[issue29016] negative numbers raised to power zero should be 1, not -1

2016-12-19 Thread Robin W Gambill
Robin W Gambill added the comment: I see my error now. I'm sorry for my ignorance. I will google how to delete the bugs item, but I guess is permanent, se la vie. Thank you. Robin On Mon, 12/19/16, Tim Peters wrote:

[issue25617] Installing local installation of Python

2016-12-19 Thread Ned Deily
Ned Deily added the comment: Perhaps the issue here is that you are installing a local version of Python with the same configured prefix as a system installed Python of the same major version. This is a primary use of the --prefix option to the ./configure script of Python. You should

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: .py files are not 'IDLE based', even if edited with IDLE. They are Python files and should normally be registered to run with Python directly, and not via IDLE. The right click context menu *should* include "Edit with IDLE". I have re-marked this issue for

[issue20486] msilib: can't close opened database

2016-12-19 Thread 12345 67890
12345 67890 added the comment: This is still present in Python 3.5. There is no way to unlock the MSI file without killing the Python process first. -- nosy: +12345 67890 versions: +Python 3.5 ___ Python tracker

[issue20486] msilib: can't close opened database

2016-12-19 Thread Steve Dower
Steve Dower added the comment: Guessing the msiobj_close function in PC/_msi.c ought to be exposed. Patches welcome. -- keywords: +easy priority: normal -> low stage: -> needs patch versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue28932] Fail compile Python 3.6.0rc1 on OpenBSD 6.0

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f004cc84153 by Benjamin Peterson in branch '3.5': add a specific configure check for sys/random.h (closes #28932) https://hg.python.org/cpython/rev/2f004cc84153 New changeset bfd4140d9c5d by Benjamin Peterson in branch '3.6': merge 3.5 (#28932)

[issue29013] zipfile: inconsistent doc for ZIP64 file size

2016-12-19 Thread Monte Davidoff
New submission from Monte Davidoff: The documentation for the zipfile module, https://docs.python.org/3.5/library/zipfile.html, contains inconsistent descriptions of the maximum size of a ZIP file when allowZip64 is False. The second paragraph in the zipfile module documentation states: "It

[issue28996] wcscoll is broken on Android and test_locale fails

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 781c56168484 by Xavier de Gaye in branch '3.6': Issue #28996: Skip two tests that fail on Android with the locale strcoll() and https://hg.python.org/cpython/rev/781c56168484 New changeset 5c5cf7687dc1 by Xavier de Gaye in branch 'default': Issue

[issue19542] WeakValueDictionary bug in setdefault()()

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset bcb1f0698401 by Antoine Pitrou in branch '2.7': Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() https://hg.python.org/cpython/rev/bcb1f0698401 -- ___ Python

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread Brendan Donegan
Brendan Donegan added the comment: Hi. Can you please provide a small code snippet illustrating where this diverges from the actual behaviour? -- nosy: +brendan-donegan ___ Python tracker

[issue19542] WeakValueDictionary bug in setdefault()()

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a542a2bca08 by Antoine Pitrou in branch '3.5': Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() https://hg.python.org/cpython/rev/5a542a2bca08 New changeset f3706a9430da by Antoine Pitrou in branch '3.6':

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-19 Thread STINNER Victor
STINNER Victor added the comment: doc-of-PyUnicode_RichCompare_v2.patch LGTM. -- ___ Python tracker ___ ___

[issue28996] wcscoll is broken on Android and test_locale fails

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

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2016-12-19 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: The following statement is in the Language Reference for Custom classes: > __bases__ is a tuple (possibly empty or a singleton) containing the base > classes AFAIK, ``object.__bases__`` is the only object for which ``__bases__`` is empty and it

[issue22139] python windows 2.7.8 64-bit did not install

2016-12-19 Thread Henning von Bargen
Henning von Bargen added the comment: A belated update... What I'm trying is similar to virtualenv: My application should not depend on any pre-installed Python and not have any influence on it (and it should not modify the registry or the system environment variables). It should be noted

[issue19542] WeakValueDictionary bug in setdefault()()

2016-12-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is finally fixed! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2016-12-19 Thread STINNER Victor
STINNER Victor added the comment: test-command-line-j0-with-test.patch LGTM. -- ___ Python tracker ___ ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is another possible reason (and cure) for intentionally installed python to not work. Just posted to Python list. "Turns out that another instance of Python *was* installed, not as part of OEM software, but by a digital camera (Califone) that is being

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-19 Thread R. David Murray
R. David Murray added the comment: The documentation is all in the Doc subdirectory of the checkout. So, this should teach me to rely on vague memory instead of reading the code. I've probably still missed something because I don't have enough time to read it properly. Yes, you are correct,

[issue25677] Syntax error caret confused by indentation

2016-12-19 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue20486] msilib: can't close opened database

2016-12-19 Thread 12345 67890
12345 67890 added the comment: I will prefix this by saying that I have not contributed to the Python source before and this patch is probably wrong, but here is my attempt at a fix. -- Added file: http://bugs.python.org/file45970/_msi.c ___ Python

[issue29016] negative numbers raised to power zero should be 1, not -1

2016-12-19 Thread Robin W Gambill
Changes by Robin W Gambill : -- components: Interpreter Core nosy: rwgambill priority: normal severity: normal status: open title: negative numbers raised to power zero should be 1, not -1 type: behavior versions: Python 3.5

[issue28927] bytes.fromhex should ignore all whitespace

2016-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think non-ASCII whitespace and digits are YAGNI until we are convinced otherwise by evidence from the field that people are routinely mixing other decimal digits with 'abcdef' as hex numerals. Anyone who does try such a thing can write a wrapper that first

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread eryk sun
eryk sun added the comment: It looks like you've accidentally created and selected an auto-generated association between .py and python.exe. You should be able to restore the original file association to get the "Edit with IDLE" menu back. In Windows 10 the "open with" menu has an option to

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-19 Thread STINNER Victor
STINNER Victor added the comment: The 3.5 patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20486] msilib: can't close opened database

2016-12-19 Thread 12345 67890
Changes by 12345 67890 : -- keywords: +patch Added file: http://bugs.python.org/file45971/Add_ability_to_close_MSI_database_.patch ___ Python tracker

[issue20486] msilib: can't close opened database

2016-12-19 Thread 12345 67890
Changes by 12345 67890 : Removed file: http://bugs.python.org/file45970/_msi.c ___ Python tracker ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David Karimi
New submission from David Karimi: "Edit with IDLE" option is also not present in my installation when I right-click on a .py file. And when I try to choose the IDLE application, it just defaults to the command line version every time. I don't know why this happens. I was able to run it fine

[issue27584] New addition of vSockets to the python socket module

2016-12-19 Thread Cathy Avery
Cathy Avery added the comment: Is there a format checker I could use on the patch? VMCI and the vmw_vsock_vmci_transport kernel modules are located in the upstream linux tree at git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git They have been there for about years. These

[issue27584] New addition of vSockets to the python socket module

2016-12-19 Thread Cathy Avery
Cathy Avery added the comment: Sorry about the typo the drivers have been there for about 4 years. -- ___ Python tracker ___

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2016-12-19 Thread R. David Murray
R. David Murray added the comment: Most likely it just slipped through. In 2.7 the section is just called 'classes', not 'custom classes', and covered both classic classes and the new style classes that are all that python3 has. -- nosy: +r.david.murray

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-19 Thread R. David Murray
R. David Murray added the comment: There is at least one open ticket (maybe two, I forget) about providing a way to insert headers at arbitrary locations in the header list. Our trouble has been deciding on an API. There is a mailing list (email-sig) where such things can be discussed (it

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-19 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue29009] Outdated part in the doc of PyUnicode_RichCompare

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f5ed2a38f64 by Xiang Zhang in branch '3.5': Issue #29009: Remove outdated doc of PyUnicode_RichCompare. https://hg.python.org/cpython/rev/8f5ed2a38f64 New changeset da958d01755a by Xiang Zhang in branch '3.6': Issue #29009: Merge 3.5.

[issue29007] Virus detected when attempting to download numpy-1.11.3-cp35-none-win32.whl

2016-12-19 Thread R. David Murray
Changes by R. David Murray : -- components: -SSL ___ Python tracker ___ ___

[issue26110] Speedup method calls 1.2x

2016-12-19 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file45963/call-method-doc4.patch ___ Python tracker ___

[issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: LGTM -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb802a78ceea by Victor Stinner in branch '3.5': doc: Suggest to hash(tuple of attr) rather than XOR https://hg.python.org/cpython/rev/cb802a78ceea -- nosy: +python-dev ___ Python tracker

[issue29018] Misinformation when showing how slices work in The Tutorial

2016-12-19 Thread R. David Murray
R. David Murray added the comment: If your version was correct, 'python'[-2:] would produce 'n', which is not what it produces. Perhaps you being confused by the fact that the diagram is pointing the indexes *between* the characters? That's the point of the mnemonic and I find it very

[issue28945] get_boundary invokes unquote twice

2016-12-19 Thread Eric Lafontaine
Eric Lafontaine added the comment: Hi all, I believe this is the right behavior and what ever generated the boundary "<<>>" is the problem ; RFC 2046 page 22: _ The only mandatory global parameter for the "multipart" media type is the boundary parameter, which consists

[issue20486] msilib: can't close opened database

2016-12-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue29018] Misinformation when showing how slices work in The Tutorial

2016-12-19 Thread issuefinder
New submission from issuefinder: In this page: https://docs.python.org/3/tutorial/introduction.html#strings When showing how slices work: +---+---+---+---+---+---+ | P | y | t | h | o | n | +---+---+---+---+---+---+ 0 1 2 3 4 5 6 -6 -5 -4 -3 -2 -1 The accurate matrix is:

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread woo yoo
woo yoo added the comment: The previous description about scope classify it into 3 types explicitly, which means the scope containing the current module's global names is not same as the scope containing built-in names. -- ___ Python tracker

[issue29011] No entry Deque in typing.py

2016-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: I don't recall exactly what happened here, but I think it was left out during formulation of PEP 484 because it's not an ABC. IIRC originally we only wanted to include builtins and ABCs. But we changed that subsequently to include e.g. DefaultDict. I

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc40470c10f8 by INADA Naoki in branch '3.5': Issue #28147: Fix a memory leak in split-table dictionaries https://hg.python.org/cpython/rev/cc40470c10f8 -- ___ Python tracker

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-19 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue21150] Add quick links table to argparse docs

2016-12-19 Thread Gaurav Tatke
Gaurav Tatke added the comment: Hello All, I would like to help with this issue. I am a beginner. I am attaching a 'SampleOfSummaryTable.PNG' file which I think is one way of organizing summary table. I think if we put quick links of function parameters in summary table then it will make

[issue29018] Misinformation when showing how slices work in The Tutorial

2016-12-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: You haven't given any reason to explain why you think the existing docs are wrong, nor any reason why you think your version is better. Just stating that the docs give "misinformation" is not good enough. By your matrix, 'Python'[0:-1] should take a slice

[issue29020] collapse_rfc2231_value has inconsistent unquoting

2016-12-19 Thread bpoaugust
New submission from bpoaugust: collapse_rfc2231_value unquotes the value before returning it except here: rawbytes = bytes(text, 'raw-unicode-escape') return str(rawbytes, charset, errors) Why is the text not unquoted in this case? Actually I wonder whether the function should do any

[issue29020] collapse_rfc2231_value has inconsistent unquoting

2016-12-19 Thread bpoaugust
Changes by bpoaugust : -- type: -> behavior ___ Python tracker ___ ___

[issue29019] dict.fromkeys overallocates when given a sparse dict

2016-12-19 Thread Rasmus Villemoes
New submission from Rasmus Villemoes: Somewhat related to #23971, but with the opposite sign: Using Py_SIZE on a PyDictObject gives the ma_fill member in 2.7 (and until 3.2 AFAICT), not the ma_used member. So calling dict.fromkeys(d) overallocates significantly if a lot of elements have been

[issue28945] get_boundary invokes unquote twice

2016-12-19 Thread bpoaugust
bpoaugust added the comment: I agree that strictly speaking the boundary is invalid. However: 'Be strict in what you generate, be liberal in what you accept' The mail package should never create such boundaries. However it should process them if possible. If the boundary definition is mangled

[issue26467] Add async magic method support to unittest.mock.Mock

2016-12-19 Thread Javier Domingo
Javier Domingo added the comment: I found this while trying to test an async context manager. This is a critical feature to enable migrations to async code, as the impossibility to test something properly is not acceptable in many environments. Implementing it in a way that __call__ returns

[issue28838] Using consistent naming for arguments of "call" functions (C API)

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ab0a6692e25 by Victor Stinner in branch 'default': abstract.h: remove long outdated comment https://hg.python.org/cpython/rev/3ab0a6692e25 -- ___ Python tracker

[issue28158] Implement LOAD_GLOBAL opcode cache

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: I'll update this patch and #10401 and then run benchmark suite when I have time. As far as I look quickly, #10401 uses namei as cache key and this patch uses opcode index as cache key, am I right? -- nosy: +inada.naoki priority: critical -> normal

[issue28971] nntplib is broken when responses are longer than _MAXLINE

2016-12-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: Martin in response to your last review, I still hold to my opinion stated in msg283294 but this should not prevent this high priority issue to progress. Can you propose another patch. -- ___ Python tracker

[issue25617] Installing local installation of Python

2016-12-19 Thread R. David Murray
R. David Murray added the comment: If you build and install a "local python", you will be installing the library locally as well, and python will not look to the lib dir of the system installed python. So yes, please explain your problem with more specifics. In any case the problem of python

[issue27584] New addition of vSockets to the python socket module

2016-12-19 Thread R. David Murray
R. David Murray added the comment: 'make patchcheck' will do whitespace checking because that's hard to eyeball (although many editors/IDEs do support making it visible nowadays). We don't use any other checking tools other than eyeballs, since not all of the existing code conforms to PEP7/8

[issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

2016-12-19 Thread STINNER Victor
STINNER Victor added the comment: I updated the doc of Python 2.7, 3.5, 3.6 and default (3.7). Thanks for the suggestion Kevin, thanks for the review Naoki. -- resolution: -> fixed status: open -> closed versions: -Python 3.3, Python 3.4 ___

[issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset fac2362f248c by Victor Stinner in branch '2.7': doc: Suggest to hash(tuple of attr) rather than XOR https://hg.python.org/cpython/rev/fac2362f248c -- ___ Python tracker

[issue25617] Installing local installation of Python

2016-12-19 Thread INADA Naoki
INADA Naoki added the comment: I can't understand what's your problem. > The inherent behaviour of python installations (local or global) is such that > it expects to source system wide modules from the global python installation. What local installation means? What global installation means?

[issue27584] New addition of vSockets to the python socket module

2016-12-19 Thread Cathy Avery
Cathy Avery added the comment: First make sure the driver is in your kernel. It will be with RHEL. Look in /lib/modeles/"your kernel name"/kernel/net/vmw_vsock/vmw_vsock_vmci_transport. I have never tried it on vmware fusion. I have tested it on ESX. See if there is a VMCI option to enable on

[issue24165] Free list for single-digits ints

2016-12-19 Thread INADA Naoki
Changes by INADA Naoki : -- nosy: +inada.naoki versions: +Python 3.7 -Python 3.6 ___ Python tracker ___

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread woo yoo
woo yoo added the comment: Code: >class A(object): pass 'object' is not in the same scope as 'A' -- ___ Python tracker ___

[issue29010] Incorrect description about scope related with inheritance

2016-12-19 Thread R. David Murray
R. David Murray added the comment: It is part of the global scope, which contains all other scopes. (I'm not 100% sure I'm comfortable with that language, but it doesn't seem obviously wrong.) -- nosy: +r.david.murray ___ Python tracker

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

2016-12-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf564121f9f0 by Xiang Zhang in branch '3.5': Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest. https://hg.python.org/cpython/rev/cf564121f9f0 New changeset 692834062e80 by Xiang Zhang in branch '3.6': Issue #28950: Disallow -j0

[issue28427] WeakValueDictionary next bug (with multithreading)

2016-12-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: The dict implementation in 3.6 has become very complicated, so I'd like someone to review the attached 3.6 patch. Serhiy, Inada? -- nosy: +inada.naoki Added file: http://bugs.python.org/file45965/issue28427-3.6.patch