[issue25948] Invalid MIME encoding generated by email.mime (line too long)

2015-12-25 Thread vog
Changes by vog : -- title: email.mime creates invalid MIME encoding (line too long) -> Invalid MIME encoding generated by email.mime (line too long) Added file: http://bugs.python.org/file41416/test_mime_long_line_workaround.py ___

[issue25948] email.mime creates invalid MIME encoding (line too long)

2015-12-25 Thread vog
New submission from vog: The email.mime package creates invalid MIME encoding (line too long) on certain inputs. That is, by proper usage of the email.mime API it is possible to create invalid emails that will be rejected by most mail servers. Steps to reproduce == 1. Create

[issue25941] Add 'How to Review a Patch' section to devguide

2015-12-25 Thread SilentGhost
SilentGhost added the comment: Content of the article is in very reasonable shape, I have only couple of notes: 1. I don't think "production" is a good description of the python's repository workflow, so I'd suggest changing it to "repository". 2. Lack of links: instead of saying "check the

[issue25947] Installation problem

2015-12-25 Thread SilentGhost
Changes by SilentGhost : -- components: +Installation, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.5 ___ Python tracker

[issue25947] Installation problem

2015-12-25 Thread Steve Dower
Steve Dower added the comment: Is that Windows Server 2003? It's also not supported for Python 3.5, as Microsoft is no longer supporting it. You'll need to stick with Python 3.4 or get Server 2008 or later. -- ___ Python tracker

[issue25949] Lazy creation of __dict__ in OrderedDict

2015-12-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: For now OrderedDict always creates an empty dict for __dict__. >>> from collections import OrderedDict >>> import gc >>> gc.get_referents(OrderedDict()) [{}] >>> class OD(OrderedDict): pass ... >>> gc.get_referents(OD()) [, {}] But dict subclasses (as

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-25 Thread Alessandro Cucci
Alessandro Cucci added the comment: > I think timespec= option should also be added to the time.isoformat method. @belopolsky I've done it in my last patch. -- Added file: http://bugs.python.org/file41420/issue19475_v10_datetime_time.patch ___

[issue25951] SSLSocket.sendall() does not return None on success like socket.sendall()

2015-12-25 Thread SilentGhost
Changes by SilentGhost : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou type: -> behavior versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker

[issue25930] Document that os.remove is semantically identical to os.unlink

2015-12-25 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy stage: -> needs patch ___ Python tracker ___

[issue25937] DIfference between utf8 and utf-8 when i define python source code encoding.

2015-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: What Python version? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue25937] DIfference between utf8 and utf-8 when i define python source code encoding.

2015-12-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list

[issue25951] SSLSocket.sendall() does not return None on success like socket.sendall()

2015-12-25 Thread ProgVal
New submission from ProgVal: socket.sendall() returns None if it succeeded SSLSocket.sendall() is said to have the same behavior as socket.sendall(), besides not allowing flags

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Ernest W. Durbin III
Ernest W. Durbin III added the comment: Currently svn.python.org is served from one of the last remaining "unmanaged" boxes in our infrastructure, dinsdale.python.org. If a cacert signed certificate can be supplied, it can be installed. I see a tree of them in

[issue25923] More const char

2015-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3cb3e224b692 by Serhiy Storchaka in branch 'default': Issue #25923: Added the const qualifier to static constant arrays. https://hg.python.org/cpython/rev/3cb3e224b692 -- nosy: +python-dev ___ Python

[issue25947] Installation problem

2015-12-25 Thread Jon Camilleri
Jon Camilleri added the comment: I use Server 2008, actually. On 25 December 2015 at 11:52, Steve Dower wrote: > > Steve Dower added the comment: > > Is that Windows Server 2003? It's also not supported for Python 3.5, as > Microsoft is no longer supporting it. You'll

[issue25943] Integer overflow in _bsddb leads to heap corruption

2015-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Extension Modules -Library (Lib) nosy: +lemburg, serhiy.storchaka stage: -> needs patch ___ Python tracker

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-12-25 Thread Ned Batchelder
Ned Batchelder added the comment: I tried to install 3.5.1 32-bit into a fresh virtualbox image from https://dev.windows.com/en-us/microsoft-edge/tools/vms/mac/ (IE 10 on Win 7), and got this same error message. Python will not run, it only shows:

[issue25928] Add Decimal.as_integer_ratio()

2015-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: A visible new feature is an enhancement (even if performance is the reason for the new feature) and can only go in 3.6. -- nosy: +terry.reedy stage: -> test needed type: performance -> enhancement versions: +Python 3.6 -Python 3.5

[issue25950] svn.python.org SSL certificate expired, causing test failures

2015-12-25 Thread koobs
Changes by koobs : -- priority: normal -> high ___ Python tracker ___ ___

[issue25950] svn.python.org SSL certificate expired, causing test failures

2015-12-25 Thread koobs
New submission from koobs: It appears all HTTPS/SSL tests that use the remote host svn.python.org are failing. All branch builds (tests) are currently broken on koobs-freebsd-current. I think it's the only bot that has run builds post 24th December so far.

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Alex Gaynor
Alex Gaynor added the comment: I agree the tests shouldn't rely on a legacy domain like svn.python.org In the mean time Ernest is working on getting a valid cert set up. -- nosy: +alex ___ Python tracker

[issue25952] code_context not available in exec()

2015-12-25 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +yselivanov versions: +Python 3.6 ___ Python tracker ___

[issue25919] http.client PUT method ignores error responses sent immediatly after headers

2015-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: htp.client PUT method ignores error responses sent immediatly after headers -> http.client PUT method ignores error responses sent immediatly after headers ___ Python tracker

[issue25923] More const char

2015-12-25 Thread Stefan Krah
Stefan Krah added the comment: What is the point of changing the return value of a function in Objects/memoryobject.c to "const char *" and then casting it back to "char *" in the one place that the function is used? Churn like this has a direct cost for me: I have to update my private 100%

[issue25410] Clean up and fix OrderedDict

2015-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch makes OrderedDict.copy() more consistent between implementations. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file41418/odict_copy_iter.patch ___ Python tracker

[issue25908] ProcessPoolExecutor deadlock on KeyboardInterrupt

2015-12-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue25944] Type confusion in partial_setstate and partial_repr leads to control flow hijack

2015-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Merged with issue25943. This is the same bug. -- components: +Extension Modules -Library (Lib) nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Integer overflow in _bsddb leads to heap

[issue25937] DIfference between utf8 and utf-8 when i define python source code encoding.

2015-12-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +doerwalter, lemburg ___ Python tracker ___ ___

[issue25923] More const char

2015-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80d1faa9735d by Serhiy Storchaka in branch 'default': Issue #25923: Added more const qualifiers to signatures of static and private functions. https://hg.python.org/cpython/rev/80d1faa9735d -- ___

[issue22995] Restrict default pickleability

2015-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0cd2de69fb66 by Serhiy Storchaka in branch '3.5': Issue #22995: Instances of extension types with a state that aren't https://hg.python.org/cpython/rev/0cd2de69fb66 New changeset b8d108a2a38e by Serhiy Storchaka in branch 'default': Issue #22995:

[issue25945] Type confusion in partial_setstate and partial_call leads to memory corruption

2015-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are other bugs in partial() that lead to crash, leak, or invalid behavior. Proposed patch fixes these bugs. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file41417/partial_setstate.patch

[issue25950] svn.python.org SSL certificate expired, causing test failures

2015-12-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks koobs, this is a duplicate of issue 25940. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSL tests failed due to expired svn.python.org SSL certificate

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread koobs
koobs added the comment: I'm here from (duplicate) issue 25950 -- nosy: +koobs priority: normal -> high ___ Python tracker ___

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-12-25 Thread Vedran Čačić
Vedran Čačić added the comment: I agree that namedtuples having __dict__ is probably more trouble than benefit. But in my view, that's no reason for _asdict to not work correctly. The whole point of separate function (even going through the pain of underscore-starting public API, since

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Regardless of the cert having expired, I think SSL tests either should use the main python.org site, e.g. https://www.python.org/ or the domain we specifically have for stdlib tests: http://pythontest.net/. Benjamin: If you need a cert for pythontest.net,

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand your last comment, this issue should be closed. On Win10, 2.7.11, I do not get the error. -- nosy: +terry.reedy ___ Python tracker

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Alex Gaynor
Alex Gaynor added the comment: There's good news and bad news, which do you want first? Good news, great! svn.python.org now has a certificate that's not expired, and it's even trusted by major trust stores. Bad news? The tests rely on the cert for svn.python.org specifically be a cacert

[issue25952] code_context not available in exec()

2015-12-25 Thread Grzegorz Krasoń
New submission from Grzegorz Krasoń: inspect.stack()[n].code_context() is empty when context is created by exec() -- files: issue.py messages: 256998 nosy: Grzegorz Krasoń priority: normal severity: normal status: open title: code_context not available in exec() type: behavior versions:

[issue19543] Add -3 warnings for codec convenience method changes

2015-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> ___ Python tracker ___ ___

[issue25923] More const char

2015-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry. Do you prefer to revert this change or left it as is? -- ___ Python tracker ___

[issue25953] re fails to identify invalid numeric group references in replacement strings

2015-12-25 Thread bazwal
New submission from bazwal: This code example: re.sub(r'(?P[123])', r'\g', '') will correctly raise a KeyError due to the invalid group reference. However, this very similar code example: re.sub(r'(?P[123])', r'\g<3>', '') fails to raise an error. It seems that the only way to check

[issue25954] Python 3.5.1 installer fails on Windows 7

2015-12-25 Thread Ned Batchelder
New submission from Ned Batchelder: I tried to install 3.5.1 32-bit into a fresh virtualbox image from https://dev.windows.com/en-us/microsoft-edge/tools/vms/mac/ (IE 10 on Win 7), and got this error message. When I try to run Python with "py -3", it will not run, it only shows:

[issue4709] Mingw-w64 and python on windows x64

2015-12-25 Thread matham
Changes by matham : -- nosy: +matham ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25936] Improve FastChildWatcher with WNOWAIT?

2015-12-25 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, hm, we do seem to have os.waitid() but not on OS X... Well that makes producing a reasonable patch much more complicated. Maybe you want to add a 3rd ChildWatcher just for Linux (or just for platforms that have os.waitid)? (If so, please submit a PR to

[issue25954] Python 3.5.1 installer fails on Windows 7

2015-12-25 Thread Eryk Sun
Eryk Sun added the comment: The main log file reports that installing the CRT exited with the code ERROR_INSTALL_ALREADY_RUNNING (0x652): Another installation is already in progress. Complete that installation before proceeding with this install. You may need to completely

[issue25923] More const char

2015-12-25 Thread Stefan Krah
Stefan Krah added the comment: I was faced with the same dilemma when I wrote the code and I *deliberately* decided that returning (const char *) + an additional cast wasn't worth it for a static function that's used only once. -- ___ Python tracker

[issue25923] More const char

2015-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: get_native_fmtstr() returns a pointer to C string literal. It is constant by its nature, and I thought it would be more clear to cast it explicitly if needed. It would be better (in particular for compatibility with C++) to make Py_buffer.format to be const

[issue25947] Installation problem

2015-12-25 Thread Steve Dower
Steve Dower added the comment: Might require R2 then, I haven't looked too closely at the Server requirements. When I get a chance to check, I'll see if there's a bypass for the version test. The test is there because of a Windows package we need to install though, and I don't know how that

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-12-25 Thread Steve Dower
Steve Dower added the comment: Do you have the log files from your %TEMP% directory still? I'll need to see the ones from the original install, not the repair, but you can just bundle them all up. Create a new issue too - this one is resolved. --

[issue25953] re fails to identify invalid numeric group references in replacement strings

2015-12-25 Thread SilentGhost
SilentGhost added the comment: Well, at least on the surface of it, the fix seems pretty straightforward: check for the group index. With this patch the behaviour is as expected, but I get two tests erroring out since they're expecting differently worded error. This probably needs adjustments

[issue25936] Improve FastChildWatcher with WNOWAIT?

2015-12-25 Thread Guido van Rossum
Guido van Rossum added the comment: Hm... Looks like this wouldn't work unless we also implemented the waitid() (note: 'id', not 'pid') syscall, as waitpid() doesn't support this flag (e.g. https://bugzilla.redhat.com/show_bug.cgi?id=840782). --

[issue25947] Installation problem

2015-12-25 Thread Jon Camilleri
Jon Camilleri added the comment: I am troubleshooting, to my mind I have installed all mandatory versions. This is quite a queer windows version and as I said I am surprised that this happened now as I had no issues before. On 25 December 2015 at 21:36, Steve Dower

[issue20767] Some python extensions can't be compiled with clang 3.4

2015-12-25 Thread koobs
Changes by koobs : -- keywords: +easy, needs review versions: +Python 3.6 ___ Python tracker ___