[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2019-02-14 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Fixed in 3.8 and 3.7. Thanks! -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2019-02-14 Thread miss-islington
miss-islington added the comment: New changeset b8bcec35e01cac018f6ccfc8323d35886340efe0 by Miss Islington (bot) in branch '3.7': bpo-30410: Documentation of sys.stdin/out/err update to reflect change in 3.6 (GH-10264) https://github.com/python/cpython/commit/b8bcec35e01cac018f6ccfc8323d3588

[issue35078] Allow customization of CSS class name of a month in calendar module

2019-02-14 Thread Cheryl Sabella
Cheryl Sabella added the comment: Issue 30095 enhanced the `HTMLCalendar` code to allow easier customization of the CSS classes. This PR extends that to the existing `LocaleHTMLCalendar`. Adding @doerwalter to the nosy list as he merged #30095. -- nosy: +cheryl.sabella, doerwalter

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2019-02-14 Thread Eryk Sun
Eryk Sun added the comment: Gregory's last example reminded me that CMD checks for STATUS_CONTROL_C_EXIT for more than simply printing "^C". It also breaks out of a FOR loop when interactive and prompts to continue when executing a batch script. Normally CMD also gets a console control event

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2019-02-14 Thread Eryk Sun
Change by Eryk Sun : Added file: https://bugs.python.org/file48142/winsig.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue35996] Optional modulus argument for new math.prod() function

2019-02-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think even Mathematica has found a need for this: https://reference.wolfram.com/language/ref/Product.html -- ___ Python tracker _

[issue35996] Optional modulus argument for new math.prod() function

2019-02-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: One other issue is that the arguments to prod() need not be integers, so a modulus argument wouldn't make sense in those contexts. -- ___ Python tracker

[issue35996] Optional modulus argument for new math.prod() function

2019-02-14 Thread Josh Rosenberg
Josh Rosenberg added the comment: "One other issue is that the arguments to prod() need not be integers, so a modulus argument wouldn't make sense in those contexts." The arguments to pow don't need to be integers either, yet the optional third argument is only really relevant to integers.

[issue35996] Optional modulus argument for new math.prod() function

2019-02-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Put me down for -1. In 40 years of programming, I've needed a modulus on a product exactly zero times. -- ___ Python tracker ___ ___

[issue35994] In WalkTests of test_os.py, sub2_tree missed the dir "SUB21" if symlink can't be supported.

2019-02-14 Thread miss-islington
miss-islington added the comment: New changeset 3e028b2d40370dc986b6f3146a7ae927bc119f97 by Miss Islington (bot) (pxinwr) in branch 'master': bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853) https://github.com/python/cpython/commit/3e028b2d40370dc98

[issue35994] In WalkTests of test_os.py, sub2_tree missed the dir "SUB21" if symlink can't be supported.

2019-02-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +11894 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35994] In WalkTests of test_os.py, sub2_tree missed the dir "SUB21" if symlink can't be supported.

2019-02-14 Thread miss-islington
miss-islington added the comment: New changeset 04a39399ef13197e433757fe13108ad472461094 by Miss Islington (bot) in branch '3.7': bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853) https://github.com/python/cpython/commit/04a39399ef13197e433757fe13108

[issue35993] incorrect use of released memory in Python/pystate.c line 284

2019-02-14 Thread wangjiangqiang
wangjiangqiang <767563...@qq.com> added the comment: Just create a temporary node points to the next node before release the current node. change the loop condition if necessary. -- ___ Python tracker __

[issue35994] In WalkTests of test_os.py, sub2_tree missed the dir "SUB21" if symlink can't be supported.

2019-02-14 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- nosy: +zach.ware -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker ___

[issue31829] Portability issues with pickle

2019-02-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: The proposed PR looks big. Are these actual bug fixes or features? "Portability improvements" sounds like a feature. -- ___ Python tracker __

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-02-14 Thread Michael Felt
Michael Felt added the comment: On 14/02/2019 23:57, Indra Talip wrote: > Indra Talip added the comment: > > The current code and proposed changes use 'netstat -ia' to find the node > however if netstat needs to perform a reverse DNS query to resolve some > interfaces this makes using uuid1

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2019-02-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +11895 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-li

<    1   2