[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. >>>

Re: python3 regex?

2016-09-09 Thread Christian Gollwitzer
Am 10.09.16 um 05:12 schrieb dkole...@olearycomputers.com: Hey; Long term perl ahderent finally making the leap to python. From my reading, python, for the most part, uses perl regex.. except, I can't seem to make it work... I have a txt file from which I can grab specific titles via a perl

[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

[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 --

[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.

Re: pymssql

2016-09-09 Thread Miki Tebeka
> for row in cus: >print(row.budget_code) > > > NameError: name 'budget_code' is not defined You'll need to use a DictCursor to be able to access rows by name and not position (which IMO is the preferred way). cus = conn.cursor(pymysql.cursors.DictCursor) cus.execute("SELECT * FROM

Re: how to set paramiko to use ssh version 1?

2016-09-09 Thread Lawrence D’Oliveiro
On Thursday, September 1, 2016 at 3:26:26 PM UTC+12, meInvent bbird wrote: > how to set paramiko to use ssh version 1? Be polite, but firm. Tell it “paramiko, this is ssh version 1, use it”. Then, when it responds “but SSHv1 is an obsolete stinking pile of crap that nobody in their right mind

[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

Re: How to extend a tuple of tuples?

2016-09-09 Thread Lawrence D’Oliveiro
On Saturday, September 10, 2016 at 12:21:48 AM UTC+12, Frank Millman wrote: > The short answer is that I am using it as a dictionary key. Another option is, if it takes several steps to construct the tuple, to build it incrementally as a list and then cast it to a tuple. --

Re: python3 regex?

2016-09-09 Thread Lawrence D’Oliveiro
On Saturday, September 10, 2016 at 3:12:17 PM UTC+12, Doug OLeary wrote: > $ perl -ne 'print if (m{^("?)[1-9]*\.})' tables Perl has this feature of being able to use alternate delimiter symbols for the pattern; Python does not. > >>> regex = r'^("?)[1-9]*\.' Try putting a backslash in front of

[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

[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

python3 regex?

2016-09-09 Thread dkoleary
Hey; Long term perl ahderent finally making the leap to python. From my reading, python, for the most part, uses perl regex.. except, I can't seem to make it work... I have a txt file from which I can grab specific titles via a perl one-liner: $ perl -ne 'print if (m{^("?)[1-9]*\.})' tables

[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 ___

[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

[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 ___

[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

[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.

[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

[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 ___

[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

[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

[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 ___

[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

Re: PEP suggestion: Uniform way to indicate Python language version

2016-09-09 Thread Steve D'Aprano
On Tue, 23 Aug 2016 12:29 am, Random832 wrote: > Receiving a SyntaxError or whatever other exception, which provides no > suggestion about how to actually fix the issue (install a later version > of python / run with "python3" instead of "python"), is a bad user > experience. Er wot? If I run

[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

[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:

[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 ___

[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 ___ ___

[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

[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 ___ ___

[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

Re: PEP suggestion: Uniform way to indicate Python language version

2016-09-09 Thread Lawrence D’Oliveiro
On Tuesday, August 23, 2016 at 2:30:10 AM UTC+12, Random832 wrote: > Receiving a SyntaxError or whatever other exception, which provides no > suggestion about how to actually fix the issue (install a later version > of python / run with "python3" instead of "python"), is a bad user > experience.

[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

[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':

[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 ___ ___

[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 ___

[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 ___

[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

[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

[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 ___

[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 ___

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

2016-09-09 Thread Matthias Klose
Changes by Matthias Klose : Removed file: http://bugs.python.org/file44514/pyhash.diff ___ Python tracker ___

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

2016-09-09 Thread Matthias Klose
Changes by Matthias Klose : Added file: http://bugs.python.org/file44515/pyhash.diff ___ Python tracker ___

[issue25144] 3.5 Win install fails with "TARGETDIR"

2016-09-09 Thread Steve Dower
Steve Dower added the comment: I believe this change will fix it, or at least provide some more diagnostic info if it fails again. There doesn't seem to be any other way to trigger the install process without setting a target directory. -- resolution: -> fixed stage: -> resolved

[issue25144] 3.5 Win install fails with "TARGETDIR"

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16d652760a06 by Steve Dower in branch '3.5': Issue #25144: Ensures TargetDir is set before continuing with custom install. https://hg.python.org/cpython/rev/16d652760a06 New changeset 024f3312ccee by Steve Dower in branch 'default': Issue #25144:

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

2016-09-09 Thread STINNER Victor
STINNER Victor added the comment: > Considering the UTF-16 codec isn't self-consistent, it's a stretch to say > it's not a bug. I didn't say that it's not a bug. I said that it's not possible to modify a codec at this point in Python 2.7 without taking a risk of breaking applications relying

  1   2   3   4   5   >