[issue27979] Remove bundled libffi

2016-09-09 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24254] Make class definition namespace ordered by default

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: You should reopen the discussion on python-dev, since the PEP 520 has been accepted with: "Note: Since compact dict has landed in 3.6, __definition_order__ has been removed. cls.__dict__ now mostly accomplishes the same thing instead." The PEP status is now Fin

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b23f963a7b45 by Serhiy Storchaka in branch '3.5': Issue #28019: itertools.count() no longer rounds non-integer step in range https://hg.python.org/cpython/rev/b23f963a7b45 New changeset 74667320778e by Serhiy Storchaka in branch '2.7': Issue #28019:

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-09-09 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Since issue27976, this one can be closed as third-party, just like issue27323. -- ___ Python tracker ___

[issue24363] httplib fails to handle semivalid HTTP headers

2016-09-09 Thread Martin Panter
Martin Panter added the comment: Here is a fix using a policy flag. I called it “_py_body_detached”. -- Added file: http://bugs.python.org/file44524/policy-flag.patch ___ Python tracker

[issue27350] Compact and ordered dict

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: It seems like the memory usage is between 20% and 25% smaller. Great job! Memory usage, Python 3.5 => Python 3.6 on Linux x86_64: ./python -c 'import sys; print(sys.getsizeof({str(i):i for i in range(10)}))' * 10 items: 480 B => 384 B (-20%) * 100 items: 6240

[issue24254] Make class definition namespace ordered by default

2016-09-09 Thread Ethan Furman
Ethan Furman added the comment: Not having a __definition_order__ could be a disadvantage for classes making use of __getattr__ for virtual attributes, such as Enum and proxy classes. With __definition_order__, and __dir__, Enum could present a coherent view; without it it's a big jumbled mess

[issue28042] Coverity Scan defects in new dict code

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: >>> "&mp->ma_keys->dk_indices.as_1[mp->ma_keys->dk_size * >>> ((mp->ma_keys->dk_size <= 255L) ? 1UL : ((mp->ma_keys->dk_size <= 65535L) ? >>> 2UL : ((mp->ma_keys->dk_size <= 4294967295L) ? 4UL : 8UL)))]" evaluates to >>> an address that is at byte offset 2

[issue28042] Coverity Scan defects in new dict code

2016-09-09 Thread Christian Heimes
Christian Heimes added the comment: No problem, you can apply for membership at https://scan.coverity.com/projects/python . I'll approve you later today. -- ___ Python tracker _

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: Sorry for the little breakage of FreeBSD buildbots, it seems to be ok now ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 3b185df3a3e2 by Victor Stinner in branch 'default': > Fix check_force_ascii() > https://hg.python.org/cpython/rev/3b185df3a3e2 @koobs: That's my tiny gift for your birthday. Happy Birthday! ;-) (It should fix FreeBSD buildbots.) -- ___

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5aa77974dd56 by Victor Stinner in branch 'default': Issue #18401: Fix test_pdb on Windows https://hg.python.org/cpython/rev/5aa77974dd56 -- ___ Python tracker

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b185df3a3e2 by Victor Stinner in branch 'default': Fix check_force_ascii() https://hg.python.org/cpython/rev/3b185df3a3e2 -- ___ Python tracker __

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09c730db1aac by Victor Stinner in branch 'default': Issue #18401: Fix test_pdb if $HOME is not set https://hg.python.org/cpython/rev/09c730db1aac -- ___ Python tracker

[issue27931] Email parse IndexError <""@wiarcom.com>

2016-09-09 Thread Xiang Zhang
Xiang Zhang added the comment: You are right David. But I don't understand what it has to do with headerregistry. I update my original patch to get that behaviour, limit it the affection in angleaddr. Now seems everything is fine. >>> email._header_value_parser.get_angle_addr('<""@wiarcom.com>

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for your contribution, Martin and Sam! -- nosy: +lukasz.langa resolution: -> fixed status: open -> closed versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee0bbfd972de by Łukasz Langa in branch 'default': Issue #18401: pdb tests don't read ~/.pdbrc anymore https://hg.python.org/cpython/rev/ee0bbfd972de -- nosy: +python-dev ___ Python tracker

[issue27899] Apostrophe is not replace with ' ElementTree.tostring (also in Element.write)

2016-09-09 Thread Stefan Behnel
Stefan Behnel added the comment: Definitely not a bug since this isn't required by the XML spec. As said in issue 2647, you shouldn't rely on exact lexical characteristics of an XML byte stream, unless you request canonical serialisation (C14N). --

[issue28039] x86 Tiger buildbot needs __future__ with_statement

2016-09-09 Thread Ned Deily
Ned Deily added the comment: Thanks, David! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue28056] sizeof unit tests fail on ARMv7

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3776dd858f0 by Victor Stinner in branch 'default': Try to fix sizeof unit tests on dict https://hg.python.org/cpython/rev/c3776dd858f0 -- nosy: +python-dev ___ Python tracker

[issue26058] PEP 509: Add ma_version to PyDictObject

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3776dd858f0 by Victor Stinner in branch 'default': Try to fix sizeof unit tests on dict https://hg.python.org/cpython/rev/c3776dd858f0 -- ___ Python tracker _

[issue28057] Warnings (45) building Doc/library/email.*.rst

2016-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hmm. I just touched both email.compat32-message.rst and email.message.rst and retried, and there was no problem. -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue28057] Warnings (45) building Doc/library/email.*.rst

2016-09-09 Thread Terry J. Reedy
New submission from Terry J. Reedy: Sphinx v1.3.6 F:\Python\dev\36\Doc\library\email.compat32-message.rst:54: WARNING: duplicate object description of email.message.Message, other instance in F:\Python\dev\36\Doc\library\email.message.rst, use :noindex: for one of them + 44 more -- as

[issue20476] If new email policies are used, default message factory should be EmailMessage

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8375b8d54bf7 by R David Murray in branch 'default': #20476: Deal with the message_factory circular import differently. https://hg.python.org/cpython/rev/8375b8d54bf7 -- ___ Python tracker

[issue28056] sizeof unit tests fail on ARMv7

2016-09-09 Thread STINNER Victor
New submission from STINNER Victor: Hum, I used "+ 8" to add the new 64-bit version tag of dictionaries. But I didn't use struct.calcsize() to compute it, so there is maybe an aliasing/padding issue. http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.x/builds/4815/steps/test/logs/stdio

[issue27705] Updating old C:/Windows/System32/ucrtbased.dll

2016-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks, looks good to me. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3934e070c9db by Victor Stinner in branch 'default': Issue #27810: Fix getargs.c compilation on Windows https://hg.python.org/cpython/rev/3934e070c9db -- ___ Python tracker

[issue28039] x86 Tiger buildbot needs __future__ with_statement

2016-09-09 Thread Martin Panter
Martin Panter added the comment: Okay happy to close this then -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27830] Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments

2016-09-09 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: -Rework CALL_FUNCTION* opcodes resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: > Added test which reproduce the issue on current master. Oh, great :-) Thanks for the quick fix AND test. I pushed your latest change. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue24454] Improve the usability of the match object named group API

2016-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: Updated patch, with docs. I'd like to get this in to 3.6. Can anyone take a look? -- Added file: http://bugs.python.org/file44522/issue-24454-1.diff ___ Python tracker

[issue27952] Finish converting fixcid.py from regex to re

2016-09-09 Thread Martin Panter
Martin Panter added the comment: New patch with more fixes and test cases. Also dropped some of the less useful raw string changes. -- Added file: http://bugs.python.org/file44521/fixcid-re.v2.patch ___ Python tracker

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86b0f5a900c7 by Victor Stinner in branch 'default': Add METH_FASTCALL calling convention https://hg.python.org/cpython/rev/86b0f5a900c7 New changeset 633f850038c3 by Victor Stinner in branch 'default': Emit METH_FASTCALL code in Argument Clinic http

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a5b61b0d090 by Victor Stinner in branch 'default': Fix SystemError in compact dict https://hg.python.org/cpython/rev/4a5b61b0d090 -- nosy: +python-dev ___ Python tracker

[issue2651] Strings passed to KeyError do not round trip

2016-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: So actually the issue long predates Python 2.5... https://hg.python.org/cpython/rev/0401a0ead1eb Now I'm not so sure it's worth touching it anymore ;) -- ___ Python tracker

[issue25235] EmailMessage.add_attachment() creates parts with spurious MIME-Version header.

2016-09-09 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file44520/fix_mime_version_headers.patch ___ Python tracker ___ ___ Python-bug

[issue25235] EmailMessage.add_attachment() creates parts with spurious MIME-Version header.

2016-09-09 Thread R. David Murray
R. David Murray added the comment: Attached is my proposal (absent the doc changes). I'm not happy with it, though, because it means that you don't have the MIME-Version header until you do bytes(msg) (or otherwise generate it), *and* you get a MIME-Version header if you do str(part) for a su

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

2016-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: I'm done with the formatting (issue 27080), so PEP 515 can be marked as final. -- ___ Python tracker ___

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

2016-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: I also fixed the code so both '_' and ',' can't be specified, and added tests. The documentation is also updated. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

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

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99abb731ea7a by Eric V. Smith in branch 'default': Issue 27080: PEP 515: add '_' formatting option. https://hg.python.org/cpython/rev/99abb731ea7a -- nosy: +python-dev ___ Python tracker

[issue28042] Coverity Scan defects in new dict code

2016-09-09 Thread INADA Naoki
INADA Naoki added the comment: > Inada, I sent you an invite. Does the invite sent me by email? I'm sorry, but I may lost the mail. -- ___ Python tracker ___ ___

[issue27199] TarFile expose copyfileobj bufsize to improve throughput

2016-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue27199] TarFile expose copyfileobj bufsize to improve throughput

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bac85e355b5 by Łukasz Langa in branch 'default': Issue #27199: TarFile expose copyfileobj bufsize to improve throughput https://hg.python.org/cpython/rev/0bac85e355b5 -- nosy: +python-dev ___ Python trac

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

2016-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: I just noticed that the patch doesn't handle 'X' (uppercase) correctly, while it does handle 'x' (lowercase). I'll fix that when I commit. -- ___ Python tracker ___

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-09 Thread Brett Cannon
Brett Cannon added the comment: https://github.com/python/cpython/blob/master/Modules/getbuildinfo.c will need to be updated on top of configure.ac and Makefile.pre.in. -- ___ Python tracker __

[issue21590] Systemtap and DTrace support

2016-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: Landed during the 3.6 beta1 sprint: https://hg.python.org/cpython/rev/d622dbd71f2b Thanks all for the preliminary tasks! I rebuilt the patch from first principles, reusing large parts of Jesús' work, as well as work by Dave and Nikhil. Things deliberately left

[issue14776] Add SystemTap static markers

2016-09-09 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> out of date status: open -> closed superseder: -> Systemtap and DTrace support versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue13405] Add DTrace probes

2016-09-09 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> out of date status: open -> closed superseder: -> Systemtap and DTrace support ___ Python tracker ___ __

[issue27357] Enhancing the Windows installer

2016-09-09 Thread Steve Dower
Steve Dower added the comment: FWIW, the one thing that might be implemented here is disabling the "for all users" checkbox when the option to install the launcher is disabled. But I think it's fairly clear what's implied there (that is to say, the checkbox not being disabled doesn't increase

[issue27948] f-strings: allow backslashes only in the string parts, not in the expression parts

2016-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: I've fixed the code and fixed/added tests. I still need to update the docs and PEP 498. I'll create a separate issue for the docs, once I'm done with the PEP. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue27948] f-strings: allow backslashes only in the string parts, not in the expression parts

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3ac1e154cdd by Eric V. Smith in branch 'default': Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces. https://hg.python.org/cp

[issue27516] Wrong initialization of python path with embeddable distribution

2016-09-09 Thread Steve Dower
Steve Dower added the comment: This has changed for 3.6 and won't be changing again for 3.5. See https://docs.python.org/3.6/using/windows.html#finding-modules for info on the new support. -- resolution: -> out of date stage: -> resolved status: open -> closed __

[issue27520] Issue when building PGO

2016-09-09 Thread Steve Dower
Steve Dower added the comment: Need more info, but I believe this is expected. Our --pgo suite does not cover all code, and some projects explicitly do not create a pgd. We also only support 64-bit PGO builds. If this is actually causing compilation errors, please reopen with logs and attach

[issue27564] 2.7.12 Windows Installer package broken.

2016-09-09 Thread Steve Dower
Steve Dower added the comment: The fix for issue27888 will prevent this from happening again. -- assignee: -> steve.dower resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread Guido van Rossum
Guido van Rossum added the comment: The modules should remain deleted for 3.6b1 so we can see if there are actually any complaints -- if we get any we can consider restoring them for b2. I fail to be convinced by the arguments against deletion brought up so far -- the "evidence" produced is way t

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-09 Thread INADA Naoki
INADA Naoki added the comment: Added test which reproduce the issue on current master. -- ___ Python tracker ___ ___ Python-bugs-list

[issue27566] Tools/freeze/winmakemakefile.py clean target should use 'del' instead of 'rm'

2016-09-09 Thread Steve Dower
Steve Dower added the comment: Committed the patch as-is. I suspect make will have a way to suppress UI anyway, but if not then we can do another patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue27566] Tools/freeze/winmakemakefile.py clean target should use 'del' instead of 'rm'

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset e96eb2bd0d5e by Steve Dower in branch '2.7': Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) https://hg.python.org/cpython/rev/e96eb2bd0d5e New changeset 3303df95 by Steve Dower in branch '3.5': Issue #27566: Fix clean ta

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-09 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44519/fix-splittable-pop.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue28046] Remove the concept of platform-specific directories

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bfe63a3eb5c by Zachary Ware in branch 'default': Issue #28046: Fix distutils https://hg.python.org/cpython/rev/2bfe63a3eb5c -- ___ Python tracker

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-09 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: needs patch -> commit review status: open -> closed ___ Python tracker ___ _

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8344cf7eebf8 by Gregory P. Smith in branch '2.7': Issue #25969: Update the lib2to3 grammar to handle the unpacking https://hg.python.org/cpython/rev/8344cf7eebf8 -- ___ Python tracker

[issue18199] Windows: support path longer than 260 bytes using "\\?\" prefix

2016-09-09 Thread Steve Dower
Steve Dower added the comment: Given that Windows 10 already supports this without us having to do the processing ourselves (see issue27731), I don't see us implementing this. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue27890] platform.release() incorrect in Python 3.5.2 on Windows 2008ServerR2

2016-09-09 Thread Steve Dower
Steve Dower added the comment: Fixed on issue26513 -- assignee: -> steve.dower resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue27705] Updating old C:/Windows/System32/ucrtbased.dll

2016-09-09 Thread Steve Dower
Steve Dower added the comment: The message now calls out the Windows 10 SDK specifically, and includes the (current) link to the download. -- ___ Python tracker ___

[issue27705] Updating old C:/Windows/System32/ucrtbased.dll

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f7a994bbfbc by Steve Dower in branch '3.5': Issue #27705: Update message in validate_ucrtbase.py https://hg.python.org/cpython/rev/7f7a994bbfbc New changeset a791a54c0a1c by Steve Dower in branch 'default': Issue #27705: Update message in validate_

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1206c64de875 by Gregory P. Smith in branch '3.5': Issue #25969: Update the lib2to3 grammar to handle the unpacking https://hg.python.org/cpython/rev/1206c64de875 New changeset 2460b30c1985 by Gregory P. Smith in branch 'default': Issue #25969: Updat

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-09 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-09 Thread Brett Cannon
Brett Cannon added the comment: Get the current revision: `git rev-parse HEAD` -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-09 Thread Brett Cannon
Brett Cannon added the comment: Get the current branch: `git rev-parse --abbrev-ref HEAD` -- assignee: -> brett.cannon ___ Python tracker ___ ___

[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-09 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- keywords: +patch Added file: http://bugs.python.org/file44518/issue25969-gps01.diff ___ Python tracker ___ __

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-09 Thread Martin Panter
Martin Panter added the comment: For the record (and my curiosity) I think the header file was fixed in 2014: https://git.kernel.org/cgit/bluetooth/bluez.git/commit?id=cf52a40 -- ___ Python tracker

[issue27971] utf-16 decoding can't handle lone surrogates

2016-09-09 Thread Eryk Sun
Eryk Sun added the comment: I wasn't trying to put words in your mouth, Victor. I was replying to Terry (msg275406). -- ___ Python tracker ___ __

[issue27932] platform.win32_ver() leaks in 2.7.12

2016-09-09 Thread Steve Dower
Steve Dower added the comment: I fixed in 3.5 and 3.6, but I'm not set up for 2.7 so someone will have to backport it. -- versions: +Python 3.5, Python 3.6 ___ Python tracker __

[issue27932] platform.win32_ver() leaks in 2.7.12

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 384c178cf823 by Steve Dower in branch '3.5': Issue #27932: Fixes memory leak in platform.win32_ver() https://hg.python.org/cpython/rev/384c178cf823 New changeset 31b7eaff5588 by Steve Dower in branch 'default': Issue #27932: Fixes memory leak in pla

[issue28046] Remove the concept of platform-specific directories

2016-09-09 Thread Zachary Ware
Zachary Ware added the comment: Xavier: I'm still interested in hearing whether this breaks anything for you, but I went ahead and pushed it. -- ___ Python tracker ___ _

[issue28046] Remove the concept of platform-specific directories

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90396ec9a2f8 by Zachary Ware in branch 'default': Issue #28046: Remove platform-specific directories from sys.path https://hg.python.org/cpython/rev/90396ec9a2f8 -- nosy: +python-dev ___ Python tracker <

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I'm leaving this discussion now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread Zachary Ware
Zachary Ware added the comment: "Agreed" is a bit strong, I still don't agree that the change was bad or should be reverted. I'm just not ruling out the possibility of a partial (because there is absolutely no reason to re-add the files for any platform but Linux and *maybe* OSX) reversion if

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: fastcall.patch combines two changes: changeset: 103513:74abb8ddf7f2 tag: tip user:Victor Stinner date:Fri Sep 09 17:40:38 2016 -0700 files: Include/modsupport.h Python/getargs.c Tools/clinic/clinic.py description: Emit METH_FASTC

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread Matthias Klose
Matthias Klose added the comment: "It's a matter of maintenance burden". No I don't think so. As agreed on IRC with zware, I'll restore the removed modules, including a deprecation notice. -- assignee: zach.ware -> doko resolution: fixed -> status: closed -> open

[issue27931] Email parse IndexError <""@wiarcom.com>

2016-09-09 Thread R. David Murray
R. David Murray added the comment: Reviewed. There is something else that needs fixing. The address needs to re-render as ""@wiarcom.com, which it doesn't currently. I scanned the rendering code in _header_value_registry quickly and its not obvious to me why it doesn't work, so it may be a

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2016-09-09 Thread Steve Dower
Steve Dower added the comment: Applied Eryk's patch and updated the test to repro it (though it wouldn't repro on 3.6 with PEP 529 applied, but it definitely did on 3.5). -- assignee: -> steve.dower resolution: -> fixed stage: -> resolved status: open -> closed _

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 663a62bcf9c9 by Steve Dower in branch '3.5': Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun) https://hg.python.org/cpython/rev/663a62bcf9c9 New changeset ead30e7262d5 by Steve Dower in branch 'default': I

[issue1602] windows console doesn't print or input Unicode

2016-09-09 Thread Martin Panter
Martin Panter added the comment: Okay so regarding blocking reads with a full buffer, what you are saying is the second check to break the read loop should be sufficient: +/* If the buffer ended with a newline, break out */ +if (buf[*readlen - 1] == '\n') +break; -- __

[issue28055] pyhash's siphash24 assumes alignment of the data pointer

2016-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: I believe the unaligned memory access configure check is supposed to prevent siphash from being used, so we might look into why that's not working. IMO, though, we should just require alignment for the argument to _PyHash_Bytes. It's private after all. ---

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-09 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27951] the reply's additional "Re:" is ok

2016-09-09 Thread Martin Panter
Martin Panter added the comment: All good, it’s already closed. Thanks for clarifying! -- ___ Python tracker ___ ___ Python-bugs-list

[issue27268] Incorrect error message on float('')

2016-09-09 Thread Łukasz Langa
Changes by Łukasz Langa : -- dependencies: +Strings passed to KeyError do not round trip ___ Python tracker ___ ___ Python-bugs-list m

[issue14977] mailcap does not respect precedence in the presence of wildcards

2016-09-09 Thread R. David Murray
R. David Murray added the comment: Thanks, Michael. I didn't see anything that needed updating in the docs. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker __

[issue14977] mailcap does not respect precedence in the presence of wildcards

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1bf0abcca0c by R David Murray in branch '3.5': #14977: Make mailcap respect the order of the lines in the mailcap file. https://hg.python.org/cpython/rev/f1bf0abcca0c New changeset efd692c86429 by R David Murray in branch 'default': Merge: #14977:

[issue17394] Add slicing support to collections.deque

2016-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: > If no, you can just close it. Yes, I would rather close this than apply this patch. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue27976] Deprecate building with bundled copy of libffi on non-Darwin POSIX platforms

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e02187e50df by Zachary Ware in branch 'default': Closes #27976: Deprecate bundled full copy of libffi https://hg.python.org/cpython/rev/3e02187e50df -- nosy: +python-dev resolution: -> fixed stage: commit review -> resolved status: open ->

[issue27951] the reply's additional "Re:" is ok

2016-09-09 Thread Seif Elsallamy
Seif Elsallamy added the comment: I'm sorry i sent it by mistake you can close it On Friday, September 9, 2016 9:25 PM, SilentGhost wrote: Changes by SilentGhost : -- resolution:  -> not a bug stage: test needed -> resolved ___ Python tracker

[issue28039] x86 Tiger buildbot needs __future__ with_statement

2016-09-09 Thread David Bolen
David Bolen added the comment: I've bumped the tiger default python to 2.7.12 and updated hg to use it (bumping to 3.9.1 in the process). It appears to have fixed the current touch and compile errors. I've restarted builds for the most recent commits. The need for a tiger slave is still up f

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Martin, I weight in 'curl's behavior for de-facto things that differ slightly from standards. It's simply what folks have gotten used to, and sometimes expect. @Raymond, unit-tests will be a good addition too. -- ___

[issue28055] pyhash's siphash24 assumes alignment of the data pointer

2016-09-09 Thread Christian Heimes
Christian Heimes added the comment: Good catch! I had trouble with the data structures in the TZ module before. I'm fine with memcpy() on just ARM platforms as a temporary workaround. Let's discuss the issue another time. Right now I'm busy with ssl improvements for 3.6.0b1. -- _

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00da8bfa2a60 by Raymond Hettinger in branch '3.5': Issue #22450: Use "Accept: */*" in the default headers for urllib.request https://hg.python.org/cpython/rev/00da8bfa2a60 -- ___ Python tracker

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Kenneth Reitz
Kenneth Reitz added the comment: I fully second Corey's comment. -- nosy: +kennethreitz ___ Python tracker ___ ___ Python-bugs-list ma

  1   2   3   4   >