[issue23177] test_ssl: failures on OpenBSD with LibreSSL

2015-09-20 Thread STINNER Victor
STINNER Victor added the comment: I don't care so much of issues introduced by LibreSSL, I don't understand why they broke the API. For me, it doesn't seem right to have a version different if it's a number or if it's a string: OPENSSL_VERSION_NUMBER should be consistent with OPENSSL_VERSION_I

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-20 Thread STINNER Victor
STINNER Victor added the comment: Nick Coghlan added the comment: > +1 - after the further discussion, addressing this downstream as a patch > specifically to the pthread backend sounds good to me. Cool, I like when we agree :-) @Flavio Grossi: Sorry for you, but it's time to upgrade to Python

[issue25190] Define StringIO seek offset as code point offset

2015-09-20 Thread Martin Panter
Martin Panter added the comment: I see the _pyio implementation wraps BytesIO with UTF-8 encoding. Perhaps it would be okay to change to UTF-32 encoding (a fixed-length Unicode encoding). That would use more memory, but the C implementation seems to use a Py_UCS4 buffer already. Then you could

[issue25201] lock of multiprocessing.Value is not a keyword-only argument

2015-09-20 Thread Martin Panter
Martin Panter added the comment: I’m not familiar with this module, but I believe “lock” is indeed keyword-only. If you were to try a positional argument, it would be picked up as part of *args: >>> multiprocessing.Value("I") # Default to 0, lock=True >>> multiprocessing.Value("I", False) #

[issue24861] deprecate importing components of IDLE

2015-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Individual files will be handled in separate issues. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25138] test_socket: socket.EAI_NODATA doesn't exist on FreeBSD

2015-09-20 Thread Martin Panter
Martin Panter added the comment: Looking at this more closely, the check seems to be there just to check if basic DNS lookups are working. It was added for Issue 12804. One option might be to replace it with a support.transient_internet() handler: # Check for internet access before running tes

[issue24861] deprecate importing components of IDLE

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7bbb2c1e1f9 by Terry Jan Reedy in branch '2.7': Issue #24861: Add docstring to idlelib.__init__ with 'private' warning. https://hg.python.org/cpython/rev/b7bbb2c1e1f9 New changeset 084a8813f05f by Terry Jan Reedy in branch '3.4': Issue #24861: Add

[issue25193] itertools.accumulate should have an optional initializer argument

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: itertools.accumlate should have an optional initializer argument -> itertools.accumulate should have an optional initializer argument ___ Python tracker

[issue25193] itertools.accumlate should have an optional initializer argument

2015-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: AFAICT other implementations of accumulators do not have an initializer. See: * http://docs.scipy.org/doc/numpy/reference/generated/numpy.ufunc.accumulate.html * https://stat.ethz.ch/R-manual/R-devel/library/base/html/cumsum.html * http://microapl.com/apl

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Ezio Melotti
Ezio Melotti added the comment: This is not a requirement though: +CPython core contributors are encouraged, but not required, to disclose the +means by which they fund their ability to contribute time to CPython core +development. -- ___ Python trac

[issue25200] bug on re.search using the char ,-:

2015-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is how regular expressions work. https://docs.python.org/3/library/re.html#regular-expression-syntax Ranges of characters can be indicated by giving two characters and separating them by a '-', for example [a-z] will match any lowercase ASCII letter, [0

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-09-20 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Teodor and Davin! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92350a2a8b08 by Berker Peksag in branch '2.7': Issue #23484: Document differences between synchronization primitives of https://hg.python.org/cpython/rev/92350a2a8b08 -- ___ Python tracker

[issue25201] lock of multiprocessing.Value is not a keyword-only argument

2015-09-20 Thread Berker Peksag
New submission from Berker Peksag: >From >https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Value Note that lock is a keyword-only argument. But the signature of Value (in Lib/multiprocessing/context.py) def Value(self, typecode_or_type, *args, lock=True): and (i

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3faf0f355e0 by Berker Peksag in branch '3.4': Issue #23484: Document differences between synchronization primitives of https://hg.python.org/cpython/rev/f3faf0f355e0 New changeset 6cd030099966 by Berker Peksag in branch '3.5': Issue #23484: Documen

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25169] multiprocessing docs example still refs os.getppid as unix-only

2015-09-20 Thread Berker Peksag
Berker Peksag added the comment: Fixed in 3.4, 3.5 and 3.6. Thanks all! -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue25169] multiprocessing docs example still refs os.getppid as unix-only

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60b0bc23c69e by Berker Peksag in branch '3.4': Issue #25169: os.getppid() is available on Windows since Python 3.2. https://hg.python.org/cpython/rev/60b0bc23c69e New changeset c6ccef432dc2 by Berker Peksag in branch '3.5': Issue #25169: os.getppid(

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e749080fa0f9 by Terry Jan Reedy in branch '2.7': Issue #16893: finish deprecation. https://hg.python.org/cpython/rev/e749080fa0f9 New changeset ff0270e9bdfb by Terry Jan Reedy in branch '3.4': Issue #16893: finish deprecation. https://hg.python.org/

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would object to any new requirement to disclose any information that I consider to be private or personal. -- ___ Python tracker ___ _

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg251186 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue25199] Idle: add cross-references from and to macosxSupport

2015-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did not find anything other function pairs. If either of you think of any similar comments to add, reopen this or open a new issue. -- keywords: +patch resolution: -> fixed stage: needs patch -> resolved status: open -> closed Added file: http://bugs

[issue21345] multiprocessing.Pool._handle_workers sleeps too long

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2015-09-20 Thread Davin Potts
Davin Potts added the comment: This appears to be highly dependent upon particular versions of operating systems and specific versions of various libraries, some built with certain options. It does not appear to be an issue in multiprocessing itself. @Ivan.K: Unless there is a clear example

[issue25199] Idle: add cross-references from and to macosxSupport

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 884f15dc26f0 by Terry Jan Reedy in branch '2.7': Issue #25199: Idle: add synchronization comments for future maintainers. https://hg.python.org/cpython/rev/884f15dc26f0 New changeset a2e782188db6 by Terry Jan Reedy in branch '3.4': Issue #25199: Idl

[issue24153] threading/multiprocessing tests fail on chromebook under crouton generated chroots

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25200] bug on re.search using the char ,-:

2015-09-20 Thread Diego Palharini
New submission from Diego Palharini: Using the packet re for regular expressions I found a strange behavior with the following command: re.search("[,-:]","89") it returns that one of those chars exists into the string "89" or whatever number you may use. -- components: IDLE messages

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I think this is bad idea and opens a can of worms. Occasionally, I'm consulting and under NDA or my clients don't want they're doing disclosed. Also, I feel this is a transgression into my personal life. My financial affairs are my own business an

[issue25193] itertools.accumlate should have an optional initializer argument

2015-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I know this was considered at the beginning but I am not immediately remembering what the reason was for not doing it (however, I do remember looking to APL to see what was done for their well thought-out implementation of accumulate). AFAIK, the case you

[issue25199] Idle: add cross-references from and to macosxSupport

2015-09-20 Thread Terry J. Reedy
New submission from Terry J. Reedy: After changing EditorWindow.EditorWindow.help_dialog for #16893, I forgot, until remined by Mark, to make the corresponding change in macosxSupport..help_dialog. After doing so, I added to the former file # edit maxosxSupport.overrideRootMenu.help_dialo

[issue25192] deque append and appendleft should return value if maxlen set

2015-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, Alun but I going to decline this feature request. It has been considered before and that path wasn't taken for several reasons. 1) with the current api, it isn't hard to fetch the first value before appending, 2) in possible use cases such as a mov

[issue25199] Idle: add cross-references from and to macosxSupport

2015-09-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: terry.reedy nosy: markroseman, terry.reedy priority: normal severity: normal stage: needs patch status: open title: Idle: add cross-references from and to macosxSupport type: enhancement versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6 __

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I committed a patch that works well enough for release as it. I attached the diff for changed files in case anyone wants to view in Rietveld. Still to do for this issue: * Automate getting the 2.7 and earliest 3.x idle.html copied to idlelib and whitespace-n

[issue25198] Idle: improve idle.html help viewer.

2015-09-20 Thread Terry J. Reedy
New submission from Terry J. Reedy: I just pushed the new viewer as part of #16893. Possible improvements: * Font size should initially reflect user's size choice. Possibly change with control-mousewheel. (Possible same for edit windows.) * Make within-file links work. * Make Find ^F work,

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4038508240a1 by Terry Jan Reedy in branch '2.7': Issue #16893: Replace help.txt with idle.html for Idle doc display. https://hg.python.org/cpython/rev/4038508240a1 New changeset 52510bc368f8 by Terry Jan Reedy in branch '2.7': Issue #16893: include

[issue25145] urllib how-to should be updated to remove PyGoogle

2015-09-20 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-20 Thread Zachary Ware
Changes by Zachary Ware : -- keywords: +3.5regression ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-20 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25169] multiprocessing docs example still refs os.getppid as unix-only

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- title: multiprocess documentation -> multiprocessing docs example still refs os.getppid as unix-only ___ Python tracker ___ _

[issue25169] multiprocess documentation

2015-09-20 Thread Davin Potts
Davin Potts added the comment: Good catch and agreed this should be cleaned up. Patch looks good to me and given its nature is probably all we need although it's probably worth combining this minor documentation update so that it gets applied with some other documentation patch(es) at the same

[issue18620] multiprocessing page leaves out important part of Pool example

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22872] multiprocessing.Queue raises AssertionError

2015-09-20 Thread Davin Potts
Davin Potts added the comment: The proposed patch would potentially break existing code which anticipates the current behavior. The potential negative impact means this particular proposed patch is not viable. Choices forward include: (1) better documenting the existing, established impleme

[issue20525] Got compiler warning when compiling readline module

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue18967] Find a less conflict prone approach to Misc/NEWS

2015-09-20 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue25169] multiprocess documentation

2015-09-20 Thread Davin Potts
Changes by Davin Potts : -- stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue25145] urllib how-to should be updated to remove PyGoogle

2015-09-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25197] Allow documentation switcher to change url to /3/ and /dev/

2015-09-20 Thread Matthias Bussonnier
New submission from Matthias Bussonnier: The current documentation version switcher does not allow to get back to the `python.org/3/..` and `python.org/dev/...` url who permanently track the stable/developement release of Python the attached patch allows that and should permit in the long ter

[issue25180] Tools/parser/unparse.py needs to be updated for f-strings

2015-09-20 Thread Eric V. Smith
Changes by Eric V. Smith : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue25180] Tools/parser/unparse.py needs to be updated for f-strings

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2fcd2540ab97 by Eric V. Smith in branch 'default': Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter. https://hg.python.org/cpython/rev/2fcd2540ab97 -- nosy: +python-dev ___ P

[issue25196] Installer>Install in user folder by default when you check: for all users

2015-09-20 Thread Abdullah Hilson
Abdullah Hilson added the comment: I am using windows 10, latests updates. Another problem with the installer: It don' t set environnement variable even when checked -- ___ Python tracker _

[issue25196] Installer>Install in user folder by default when you check: for all users

2015-09-20 Thread Abdullah Hilson
New submission from Abdullah Hilson: Hello Just downloaded : https://www.python.org/ftp/python/3.5.0/python-3.5.0-amd64.exe And I launch the install, I check checkbox to install for all users And folder for installation stay at: C:\Users\myusername\AppData\Local\Programs\Python\Python35\ I have t

[issue24894] iso-8859-11 missing from codecs table

2015-09-20 Thread Prashant Tyagi
Prashant Tyagi added the comment: Here is my patch which includes iso8859_11 to the docs. -- keywords: +patch Added file: http://bugs.python.org/file40528/Issue24894.patch ___ Python tracker ___

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-09-20 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +regrtest.py improvement for Profile Guided Optimization builds ___ Python tracker ___ ___

[issue25188] regrtest.py improvement for Profile Guided Optimization builds

2015-09-20 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25145] urllib how-to should be updated to remove PyGoogle

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1fcdca298be9 by Benjamin Peterson in branch '3.4': use a more modern UA (#25145) https://hg.python.org/cpython/rev/1fcdca298be9 New changeset 2efd269b3eb8 by Benjamin Peterson in branch '3.4': remove reference to PyGoogle (#25145) https://hg.python.

[issue24894] iso-8859-11 missing from codecs table

2015-09-20 Thread Prashant Tyagi
Prashant Tyagi added the comment: As it is cleary stated itself into the wipikedia https://en.wikipedia.org/wiki/ISO/IEC_8859#The_Parts_of_ISO.2FIEC_8859. "The work in making a part of 8859 for Devanagari was officially abandoned in 1997. ISCII and Unicode/ISO/IEC 10646 cover Devanagari." so a

[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

2015-09-20 Thread Jason R. Coombs
Jason R. Coombs added the comment: > Does the patch change the behaviour for the handling of the MANIFEST file > (not MANIFEST.in)? My previous message mentions that the docs say that one > can include symlinks in MANIFEST. This change will not affect the content of MANIFEST.in (template) nor

[issue25189] An issue about os.access

2015-09-20 Thread yangyanbo
yangyanbo added the comment: Thanks for eryksun a lot. Yes,it did solve my problem. And Find this Sysnative directory doesnt exsit,And I searched the msdn then find that it is a Windows Mechanism. All in all , it does prove you are right. Thanks a lot Again -- _

[issue25146] IDLE debugger could better visualize program execution

2015-09-20 Thread Mark Roseman
Mark Roseman added the comment: Frighteningly, your wild idea is close to how it actually works now, as per the ASCII art at the top of RemoteDebugger.py. :-) The authors of RemoteDebugger and rpc.py went to fantastic lengths to make this transparent so that everything looks local. If in my p

[issue23177] test_ssl: failures on OpenBSD with LibreSSL

2015-09-20 Thread Remi Pointel
Remi Pointel added the comment: Hi, maybe we should add the LIBRESSL_ information available in opensslv.h (as it has be done for OpenSSL): $ grep LIBRESSL /usr/include/ssl/opensslv.h #define LIBRESSL_VERSION_NUMBER 0x2003L #define LIBRESSL_VERSION_TEXT "LibreSSL 2.3.0" #define OPENSSL_V

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Ezio Melotti
Ezio Melotti added the comment: The "Consultants and Freelance Developers" seems to cover two different aspects: 1) list devs that are consultants or freelance developers for a living; 2) list devs that are available and can be hired to work on short term projects; The second aspect seems o

[issue22559] [backport] ssl.MemoryBIO

2015-09-20 Thread Nick Coghlan
Nick Coghlan added the comment: Guido specifically asked for a new PEP for each resync that explicitly enumerated the changes being backported, after earlier drafts of PEP 466 requested blanket future permission for network security related backports. That approach actually turns out to be bet

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-20 Thread Nick Coghlan
Nick Coghlan added the comment: +1 - after the further discussion, addressing this downstream as a patch specifically to the pthread backend sounds good to me. -- ___ Python tracker ___

[issue25189] An issue about os.access

2015-09-20 Thread eryksun
eryksun added the comment: > This looks as a duplicate of issue2528. No, yangyanbo's problem is unrelated to the file's security descriptor, and it's not a bug. telnet.exe is manually installed via "Programs and Features", which only installs a 64-bit version into System32 (despite the 32 in

[issue25195] mock.ANY doesn't match mock.MagicMock() object

2015-09-20 Thread Felix Yan
Changes by Felix Yan : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25195] mock.ANY doesn't match mock.MagicMock() object

2015-09-20 Thread Felix Yan
New submission from Felix Yan: Since Python 3.5.0 mock.MagicMock() object seems not matched by mock.ANY. This behavior looks weird and breaks tests of boto. Minimized example: In Python 3.4.3: >>> from unittest import mock >>> m = mock.MagicMock() >>> m(mock.MagicMock()) >>> m.assert_called_w

[issue25180] Tools/parser/unparse.py needs to be updated for f-strings

2015-09-20 Thread Eric V. Smith
Eric V. Smith added the comment: That's awesome, thanks! Definitely simpler than where I was going. I'm not in front of my dev machine right now, so I can't run it. But if it works, it works. I suggest adding the test cases to test_unparse.py's UnparseTestCase. That way, any problems with thi

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-20 Thread STINNER Victor
STINNER Victor added the comment: Yes my fix will be part of Python 3.5.1 release. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue25079] Tokenize generates NL instead of NEWLINE for comments

2015-09-20 Thread Petr Viktorin
Petr Viktorin added the comment: As it says in the docs, a "logical line that contains only spaces, tabs, formfeeds and possibly a comment, is ignored." If you write: if a=b: statement # Comment another statement both statements belong to the "if" block. In your example, the comment i

[issue25194] Register of Financial Interests for core contributors

2015-09-20 Thread Nick Coghlan
New submission from Nick Coghlan: As suggested at https://mail.python.org/pipermail/python-committers/2015-September/003556.html, this is a draft patch for a new section in the developer guide that allows core contributors to declare our major financial interest (if any) in the core developme

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party yt module fails on Python 3.5)

2015-09-20 Thread Alexander Heger
Alexander Heger added the comment: Dear Victor, yes, you patch seems to fix the yt install. Thank you very much! I hope this can be included in 3.5.1. Best wishes, Alexander -- ___ Python tracker __

[issue25193] itertools.accumlate should have an optional initializer argument

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +rhettinger type: -> enhancement versions: -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue25191] test_getsetlocale_issue1813 failed on OpenBSD

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +lemburg, loewis, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue25192] deque append and appendleft should return value if maxlen set

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +rhettinger type: -> enhancement versions: +Python 3.6 ___ Python tracker ___ ___

[issue25193] itertools.accumlate should have an optional initializer argument

2015-09-20 Thread Alun Champion
New submission from Alun Champion: itertools.accumulate should have an initializer with the same semantics as functools.reduce. These two functions are closely related, reduce only providing you the end result accumulate providing an iterator over all the intermediate results. However, if you w

[issue25192] deque append and appendleft should return value if maxlen set

2015-09-20 Thread Alun Champion
New submission from Alun Champion: Currently if you append or appendleft when len(deque) == maxlen item from the other end of the deque is discarded. These should return the discarded value to allow you to write: x = deque.append(y) vs if len(deque) == deque.maxlen(): x = deq

[issue25191] test_getsetlocale_issue1813 failed on OpenBSD

2015-09-20 Thread Remi Pointel
New submission from Remi Pointel: Hi, the test test_getsetlocale_issue1813 in ./Lib/test/test_locale.py failed on OpenBSD: == ...sss..testing with ('tr_TR', 'ISO8859-9') Ess ERROR: test_getsetlo