[issue24683] Type confusion in json encoding

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report paul. Thanks for review Raymond. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24683] Type confusion in json encoding

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a1266ef1b5d by Serhiy Storchaka in branch '2.7': Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st argument. https://hg.python.org/cpython/rev/0a1266ef1b5d -- ___ Python track

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24683] Type confusion in json encoding

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3d0bf112f70 by Serhiy Storchaka in branch '3.4': Issue #24683: Fixed crashes in _json functions called with arguments of https://hg.python.org/cpython/rev/b3d0bf112f70 New changeset ef4d09399b99 by Serhiy Storchaka in branch '3.5': Issue #24683: Fi

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution John. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d39777f3477 by Serhiy Storchaka in branch '2.7': Issue #24613: Calling array.fromstring() with self is no longer allowed https://hg.python.org/cpython/rev/2d39777f3477 -- nosy: +python-dev ___ Python tra

[issue24683] Type confusion in json encoding

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Patch LGTM. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file40026/etree_clarify.diff ___ Python tracker ___

[issue24613] array.fromstring Use After Free

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch doesn't apply correctly. Looks as it is encoded with UTF-16. For future please provide a patch in the encoding of the source file (should be ASCII compatible, without BOM). -- ___ Python tracker

[issue24683] Type confusion in json encoding

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is similar issue with key_separator and item_separator in 3.x. They are used with _PyAccu_Accumulate that performs a type check only in assert(). Here is a patch. -- keywords: +patch stage: needs patch -> patch review versions: +Python 2.7, Pyt

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: The phrase occurs in https://docs.python.org/3/library/xml.etree.elementtree.html#finding-interesting-elements I think it should say, "In this example, Element.findall() finds only elements with a tag which are direct children of the current element." Late

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- components: +Documentation nosy: +eli.bendersky, scoder ___ Python tracker ___ ___ Python-bugs-list

[issue24724] Element.findall documentation misleading

2015-07-25 Thread Eric S
New submission from Eric S: Documentation states: Element.findall() finds only elements with a tag which are direct children of the current element. More accurate to say "direct descendents" as "direct children" implies only one generation below whereas function goes down to all g...children.

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Antoine, I'm surprised, usually you're the first to oppose backporting anything other than bug-fixes and were generally supportive of Guido's admonitions about holistic refactoring. It seems you feel strongly enough about the patch to warrant telling all t

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

2015-07-25 Thread Alessandro Cucci
Changes by Alessandro Cucci : Added file: http://bugs.python.org/file40024/issue19475_v2.patch ___ Python tracker ___ ___ Python-bugs-list mai

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

2015-07-25 Thread Alessandro Cucci
Alessandro Cucci added the comment: @haypo thanks for the review and the suggestions, I'll correct the code soon -- nosy: +acucci ___ Python tracker ___ _

[issue24681] Put most likely test first in set_add_entry()

2015-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2015-07-25 Thread STINNER Victor
STINNER Victor added the comment: @acucci: Nice first try, but your patch contains multiple bugs. -- ___ Python tracker ___ ___ Python

[issue24635] test_typing is flaky

2015-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue24720] Python install help

2015-07-25 Thread node
node added the comment: Steve, I have Admin privilege -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue24723] The new typing module is not documented :-(

2015-07-25 Thread STINNER Victor
New submission from STINNER Victor: It looks like someone forgot to write the doc ;-) https://docs.python.org/dev/library/typing.html -- assignee: docs@python components: Documentation messages: 247399 nosy: docs@python, gvanrossum, haypo priority: normal severity: normal status: open t

[issue24716] Multiple fdopen() on mkstemp() descriptor crashes py27 interpreter

2015-07-25 Thread STINNER Victor
STINNER Victor added the comment: As eryksun explained, you have a bug in your example. You should fix your code. I would not call it a bug in Python, but more yet another bug (or "unexpected behaviour") of the C stdio of Windows. My list of bugs in the C stdio is already long: https://haypo-n

[issue24716] Multiple fdopen() on mkstemp() descriptor crashes py27 interpreter

2015-07-25 Thread eryksun
eryksun added the comment: Reassigning "f" closes the first file object, but not before the second file object gets created. You can write to the already-closed file, assuming the write is small enough to not flush the FILE stream buffer (e.g. "beer", given an empty 4 KiB buffer). However, clo

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Mark's test case file produced a KeyError under 3.4 when I tried it. -- ___ Python tracker ___ ___ P

[issue24585] Windows installer does not detect existing installs

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Since we apparently can't test this without making the release, but it's important enough to not defer, I am in the unenviable position of shipping the last beta with this bug marked as a release blocker. Fingers crossed! -- nosy: +larry

[issue24635] test_typing is flaky

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: Deferring for beta 4. We should still fix before release. Preferably before RC1 depending on the availability of Certain Persons. -- nosy: +larry priority: release blocker -> deferred blocker ___ Python tracker

[issue24619] async/await parser issues

2015-07-25 Thread Larry Hastings
Changes by Larry Hastings : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24645] logging.handlers.QueueHandler should not lock when handling a record

2015-07-25 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24717] python logging handler not used when added after a process is started

2015-07-25 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug - it's how processes work on POSIX. Multiprocessing on POSIX generally uses the fork system call, which happens when you create a another process via the Process(...) call. At this point, the created process is a copy of the original process. Wh

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Fabian
Fabian added the comment: Really this bug and not the one mentioned by Mark? I've been using 3.4(.3) since we use requests (and therefore urllib3) which happened a few months ago. I also can't remember any failure on a Python 3.4 Travis build. -- __

[issue24613] array.fromstring Use After Free

2015-07-25 Thread John Leitch
John Leitch added the comment: Attached is a patch that updates array.fromstring to throw a ValueError when self is passed. It also updates the unit tests to cover this new behavior. -- Added file: http://bugs.python.org/file40023/array.fromstring-Use-After-Free.patch

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Larry Hastings
Larry Hastings added the comment: It produces the same exception under Python 3.4, too. -- nosy: +larry ___ Python tracker ___ ___ Pyt

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Everyone except Raymond seems to agree the patch is a good think, so it should probably be applied. -- ___ Python tracker ___ _

[issue24720] Python install help

2015-07-25 Thread Steve Dower
Steve Dower added the comment: Are you being promoted for administrative privileges? Unfortunately there's no way around requiring them to install the C Runtime update, so if you are blocked from applying Windows Updates to your machine unfortunately there's no good way around this. Alternati

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Robert Collins
Robert Collins added the comment: So, is this specific patch ok to apply, or are we going to reject it? I don't particularly care either way, but having this issue open and stalled just adds cognitive load to working with the bug tracker. FWIW I agree that it should not be backported. ---

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Robert Collins
Robert Collins added the comment: I know it 'works', I just think its not appropriate here. -- ___ Python tracker ___ ___ Python-bugs-

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think kind of shallow changes to the test suite should be backported. They probably shouldn't have been done at all. When you change code, the tests are a safety net. When you change tests, you have almost no safety net at all. If the original t

[issue12006] strptime should implement %G, %V and %u directives

2015-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Reverting to "needs patch" stage because there are still issues to be ironed out. -- stage: commit review -> needs patch versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue24717] python logging handler not used when added after a process is started

2015-07-25 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-25 Thread Ned Deily
Changes by Ned Deily : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23926] skipitem() in getargs.c still supports 'w' and 'w#', and shouldn't

2015-07-25 Thread Joe Jevnik
Joe Jevnik added the comment: bumping so that we don't forget about this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24715] Sorting HOW TO: bad example for reverse sort stability

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file40022/reverse_stablity.diff ___ Python tracker ___ _

[issue24722] Python install help

2015-07-25 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python install help ___ Python tracker ___ _

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: fixed -> stage: resolved -> patch review status: closed -> open ___ Python tracker ___ _

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: self.from_exception() works as well. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Backporting this to older releases is needed to help backporting future tests. We should keep tests consistent if possible. -- ___ Python tracker ___

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Oh I see, - different things could have been meant but that application will work. But - please don't use self.from_exception: its a class method, so TracebackException.from_exception(...) is the right spelling. -- ___

[issue20544] Use specific asserts in operator tests

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Looks sane to me. Should go in 3.6 if we're going to do this or get closed to remove cognitive overhead in the issue tracker. No point backporting this to older releases. -- nosy: +rbcollins versions: +Python 3.6 -Python 2.7, Python 3.4, Python 3.5 __

[issue10388] spwd returning different value depending on privileges

2015-07-25 Thread Robert Collins
Robert Collins added the comment: I'm moving this back to patch review - it needs a test, particularly because of the question I have around setspent. -- stage: commit review -> patch review ___ Python tracker ___

[issue10388] spwd returning different value depending on privileges

2015-07-25 Thread Robert Collins
Robert Collins added the comment: The man page for setspent says this: "The functions that return a pointer return NULL if no more entries are available or if an error occurs during processing. The functions which have int as the return value return 0 for success and -1 for failure, wi

[issue10388] spwd returning different value depending on privileges

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Too late for 3.5 for this IMO. -- nosy: +rbcollins versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue18787] Misleading error from getspnam function of spwd module

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Sounds like we want something analogous to http://bugs.python.org/file33404/fix_error_message_getspall_v2.patch for this bug. Moving to patch needed. It looks like it would be easily tested too, so I'd like to see a test too please. -- nosy: +rbcolli

[issue15989] Possible integer overflow of PyLong_AsLong() results

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it would be good if other's pair of eyes will look on the patch. -- ___ Python tracker ___ __

[issue15989] Possible integer overflow of PyLong_AsLong() results

2015-07-25 Thread Robert Collins
Robert Collins added the comment: @serhiy - I'm a little confused about the state of this patch. It seems like you need more review? -- nosy: +rbcollins ___ Python tracker ___ _

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file40021/classmethod_2.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue12750] datetime.strftime('%s') should respect tzinfo

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Moving this back to patch needed: the patch was reviewed by a committer and changes requested. -- nosy: +rbcollins stage: commit review -> patch review ___ Python tracker

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file40020/classmethod_2.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue24651] Mock.assert* API is in user namespace

2015-07-25 Thread Robert Collins
Changes by Robert Collins : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24651] Mock.assert* API is in user namespace

2015-07-25 Thread Robert Collins
Robert Collins added the comment: Some great points raised here. Yes, we'd need .calls and .returnvalue and so on all made accessible via another route, and that would be a less direct spelling. e.g. a_mock.returnvalue = 3 -> # function set_returnvalue(a_mock, 3) or # separate object to get a

[issue2091] file accepts 'rU+' as a mode

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps the 'U' mode should just raise an exception in 3.6. -- ___ Python tracker ___ ___ Python-bu

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We can use from_exception() in __init__ because in both cases first three arguments of TracebackException() are type(e), e, e.__traceback__. Without this change changing from_exception() makes less sense. Here is a patch. -- Added file: http://bugs.

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Robert Collins
Changes by Robert Collins : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1be4d7388279 by Robert Collins in branch 'default': Issue #24710: Use cls in TracebackException.from_exception. https://hg.python.org/cpython/rev/1be4d7388279 -- nosy: +python-dev ___ Python tracker

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-07-25 Thread Robert Collins
Robert Collins added the comment: We can't use from_exception in __init__ because from_exception's job is to look up __traceback__, but the legacy API allows arbitrary tb objects which may not be exc.__traceback__, and modifying exc.__traceback__ or creating a shim object just to be able to us

[issue2091] file accepts 'rU+' as a mode

2015-07-25 Thread Robert Collins
Changes by Robert Collins : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue2091] file accepts 'rU+' as a mode

2015-07-25 Thread Robert Collins
Robert Collins added the comment: @larry thanks - that was my inclination too. Applied to 3.6 @Serhiy I've not done a warning in 3.4/3.5 because - the behaviour is already broken, this patch just catches it a lot earlier (on open rather than subsequent operations). -- ___

[issue2091] file accepts 'rU+' as a mode

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a5bbb31f740 by Robert Collins in branch 'default': - Issue #2091: error correctly on open() with mode 'U' and '+' https://hg.python.org/cpython/rev/1a5bbb31f740 -- nosy: +python-dev ___ Python tracker <

[issue21750] mock_open data is visible only once for the life of the class

2015-07-25 Thread Robert Collins
Changes by Robert Collins : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Cyd Haselton
Cyd Haselton added the comment: As soon as I build a PIE gdb I can. And right now, running ./python -m test throws the ImportError...so I'll need to resolve that first On Jul 25, 2015 12:38 PM, "Ryan Gonzalez" wrote: > > Ryan Gonzalez added the comment: > > So...I have *no* clue why _struct ca

[issue24720] Python install help

2015-07-25 Thread node
node added the comment: http://pastebin.com/D5eVxF1b Sorry, try this where to get the latest version pls.. -- ___ Python tracker ___

[issue24722] Python install help

2015-07-25 Thread node
New submission from node: http://pastebin.com/D5eVxF1b Sorry, where can I download the latest version? I went to python site and only saw this version -- messages: 247362 nosy: node priority: normal severity: normal status: open title: Python install help type: behavior versions: Pytho

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Feel free to close this, Raymond. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Ah, you're right. I was hung up on issue10977. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: So...I have *no* clue why _struct can't be found. Can you use gdb to get the segfault backtrace like you did before? On July 25, 2015 6:56:10 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >I assume so; I'm using whatever is pulled frommy fork

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: > This is a consequence of subclassing a builtin type Not really. This is how subclassing works in general. Any time you a user calls a parent class directly on an instance of subclass, they are bypassing whatever the subclass needs to do to maintain its

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Eric Snow
Eric Snow added the comment: Regarding this bug, it's clear now that the ordered keys and the underlying dict are getting out of sync somewhere. This is either due to a bug in the C OrderedDict implementation or the use of the concrete dict C-API (or dict.* methods; thanks Mark). It's undoub

[issue24719] Resourc Leak in cPickle Module

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a789ee93f152 by Benjamin Peterson in branch '2.7': possible memory leak in error case (closes #24719) https://hg.python.org/cpython/rev/a789ee93f152 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed _

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Eric Snow
Eric Snow added the comment: @Mark, note that you get the same behavior with the pure Python OrderedDict. Calling dict.* methods on an OrderedDict gives you undefined behavior. I expect the same is true for most subclasses of builtin types that override builtin methods. Anyway, the problem

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue23670] Modifications to support iOS as a cross-compilation target

2015-07-25 Thread Marco Paolini
Changes by Marco Paolini : -- nosy: +mpaolini ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24721] The result of calling dict.* methods on OrderedDict is undefined.

2015-07-25 Thread Eric Snow
New submission from Eric Snow: (see issue24667) collections.OrderedDict subclasses dict so calling dict's methods on an OrderedDict works. However, neither the pure Python nor the C implementation of OrderedDict was written to support doing so. In fact, both of them currently enter an incon

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Marco Paolini
Changes by Marco Paolini : -- nosy: +mpaolini ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24720] Python install help

2015-07-25 Thread Zachary Ware
Zachary Ware added the comment: 1) your paste appears to be invalid. You can just paste in a message here, or attach a screenshot (though text is preferable :)) 2) 3.5.0b2 is out of date, try with beta 3 (or beta 4, due out this weekend) -- components: +Installation, Windows nosy: +paul

[issue24715] Sorting HOW TO: bad example for reverse sort stability

2015-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue24720] Python install help

2015-07-25 Thread node
New submission from node: I am trying to install Python 3.5.0b2 on Win 8.1 but cannot get it loaded http://pastebin.com/hKU2bvds the error. hoping some one can help. -- messages: 247352 nosy: node priority: normal severity: normal status: open title: Python install help type: behavior

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-25 Thread Mark Shannon
Mark Shannon added the comment: The attached test case raises a KeyError for __str__() -- nosy: +Mark.Shannon Added file: http://bugs.python.org/file40019/test.py ___ Python tracker

[issue18181] PEP447: Add type.__getdescriptor__

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note: the error handling code for exceptions in __getdescriptor__ definitely isn't good enough yet. I'm writing tests and am hunting down the problems those tests find. I'm getting closer and will post a new version when I think I've found all bugs. Probabl

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

2015-07-25 Thread Alessandro Cucci
Changes by Alessandro Cucci : -- keywords: +patch Added file: http://bugs.python.org/file40018/issue19475.patch ___ Python tracker ___ ___

[issue18181] PEP447: Add type.__getdescriptor__

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: pep447-2015-07-25-v2.txt changes two things w.r.t. the patch earlier today: 1) The performance problems w.r.t. the method_cache are gone 2) Added code for handling python exceptions other than AttributeError in calls to __getdescriptor__. This code req

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2015-07-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patches and testing! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Cyd Haselton
Cyd Haselton added the comment: I assume so; I'm using whatever is pulled frommy fork of the git repo. I've actually run into a different error that occured when i rebuilt to include readline support; when I run ./python -m test I;m getting "ImportError: no module named _struct found." Trying

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset e807f1d81cb6 by Berker Peksag in branch '3.4': Issue #21697: shutil.copytree() now correctly handles symbolic links that point to directories. https://hg.python.org/cpython/rev/e807f1d81cb6 New changeset 31f4041b9286 by Berker Peksag in branch '3.5

[issue24719] Resourc Leak in cPickle Module

2015-07-25 Thread Pankaj Sharma
New submission from Pankaj Sharma: Hi, There is resource leak in cPickle module in function "Pickle_getvalue()". so need to free before return . I have attached patched ,please review it. Thnaks! -- components: Extension Modules, Library (Lib) files: Python-2.7.10-cPickle.patch keyword

[issue24420] Documentation regressions from adding subprocess.run()

2015-07-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks Martin. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue24420] Documentation regressions from adding subprocess.run()

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset bedff93d778d by Berker Peksag in branch '3.5': Issue #24420: Fix documentation regression introduced by f0a00ee094ff. https://hg.python.org/cpython/rev/bedff93d778d New changeset 9b17df697a3c by Berker Peksag in branch 'default': Issue #24420: Fix d

[issue24279] Update test_base64 to use test.support.script_helper

2015-07-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks Christie. I've kept get_output() and changed it to return assert_python_ok().out. -- components: +Tests resolution: -> fixed stage: -> resolved status: open -> closed type: -> enhancement versions: +Python 3.6 _

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2015-07-25 Thread Mark Shannon
Mark Shannon added the comment: Updated patch to support exception chaining and to merge cleanly. -- versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file40015/exc_info3.patch ___ Python tracker

[issue24279] Update test_base64 to use test.support.script_helper

2015-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e1291cc8b69 by Berker Peksag in branch '3.5': Issue #24279: Update test_base64 to use test.support.script_helper. https://hg.python.org/cpython/rev/8e1291cc8b69 New changeset 472f354c70b8 by Berker Peksag in branch 'default': Issue #24279: Update t

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-07-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a patch with more tests, but I'm not to happy about the new test because it too much of a white box test and is therefore fairly fragile w.r.t. the actual implementation of the module. -- Added file: http://bugs.python.org/file40014/issu

  1   2   >