[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-24 Thread Armin Rigo
Armin Rigo added the comment: Just so you know, when we look at the changes to CPython, the easiest fix is to add these lines in cffi: #if PY_VERSION_HEX >= 0x0308 # define Py_BUILD_CORE # include "internal/pycore_pystate.h" # undef Py_BUILD_CORE #endif But if we're

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: This broke cffi: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE

[issue22123] Provide a direct function for types.SimpleNamespace()

2019-02-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Five years have passed with no one pushing this forward. During that time, types.SimpleNamespace() has diminished in popularity and dataclasses have risen as a better general purpose data holder. Marking this as closed. -- resolution: ->

[issue36050] Why does http.client.HTTPResponse._safe_read use MAXAMOUNT

2019-02-24 Thread Martin Panter
Martin Panter added the comment: The 1 MiB limit was added for Issue 1296004; apparently some platforms were overallocating multiple buffers and running out of memory. I suspect the loop in "_safe_read" was inherited from Python 2, which has different kinds of file objects. The comments

[issue35551] Encoding and alias issues

2019-02-24 Thread Inada Naoki
Inada Naoki added the comment: @lemburg I confirmed mac_latin1 and mac_centeuro are identical, even though they are generated from different sources. >>> from encodings import mac_latin2, mac_centeuro >>> mac_latin2.decoding_table == mac_centeuro.decoding_table True How do you think about

[issue35551] Encoding and alias issues

2019-02-24 Thread BLKSerene
BLKSerene added the comment: I suppose that mac_centeuro can be removed since it is identical to mac_latin2, and there are already some aliases for mac_latin2. Then, mac_centeuro can be added as an alias for mac_latin2. I'm not sure about why latin_1 and iso8859_1 are both supported (they

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-24 Thread miss-islington
miss-islington added the comment: New changeset ca5e6aaea5168bff274f3e98d7970bfa1bc366a2 by Miss Islington (bot) in branch '3.7': closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017) https://github.com/python/cpython/commit/ca5e6aaea5168bff274f3e98d7970bfa1bc366a2

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 16323cb2c3d315e02637cebebdc5ff46be32ecdf by Benjamin Peterson (Miro Hrončok) in branch 'master': closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017)

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +12058 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35551] Encoding and alias issues

2019-02-24 Thread Inada Naoki
Inada Naoki added the comment: Removing unused alias is OK. But I'm not sure about adding new alias. In encodings/ package, there are both of mac_centeuro.py and mac_latin2.py. Why alias is needed, without removing mac_centeuro.py? -- nosy: +inada.naoki versions: +Python 3.8 -Python

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-02-24 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +12057 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2019-02-24 Thread Inada Naoki
Inada Naoki added the comment: New changeset 3b0abb019662e42070f1d6f7e74440afb1808f03 by Inada Naoki (Giampaolo Rodola) in branch 'master': bpo-33671: allow setting shutil.copyfile() bufsize globally (GH-12016) https://github.com/python/cpython/commit/3b0abb019662e42070f1d6f7e74440afb1808f03

[issue11776] Constructor signatures missing in types module documentation

2019-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that we should properly document all of the types, even if belately. A PR is premature until we agree in more detail what 'properly' means. The most recent patch 'complete-patch...' has multiple errors and needs major revision, to the point that a

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-02-24 Thread Eric Snow
Eric Snow added the comment: New changeset ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465 by Eric Snow in branch 'master': bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) https://github.com/python/cpython/commit/ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465

[issue36101] remove non-ascii characters in docstring

2019-02-24 Thread Inada Naoki
Inada Naoki added the comment: thanks -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36101] remove non-ascii characters in docstring

2019-02-24 Thread Inada Naoki
Inada Naoki added the comment: New changeset 463572c8beb59fd9d6850440af48a5c5f4c0c0c9 by Inada Naoki (animalize) in branch 'master': bpo-36101: remove non-ascii characters in docstring (GH-12018) https://github.com/python/cpython/commit/463572c8beb59fd9d6850440af48a5c5f4c0c0c9 --

[issue10308] Modules/getpath.c bugs

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36095] Better NaN sorting.

2019-02-24 Thread Tim Peters
Tim Peters added the comment: > *Clearly*, negative NaNs should be sorted to the start > of the list, while positive NaNs are sorted to the end > of the list. (Yes, I'm joking, but only a little bit: that's > the result you'd get if you used IEEE 754's totalOrder > to sort. So not a joke at

[issue18173] Add MixedTypeKey to reprlib

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13456] Providing a custom HTTPResponse class to HTTPConnection

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22123] Provide a direct function for types.SimpleNamespace()

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15358] Test pkgutil.walk_packages in test_pkgutil instead of test_runpy

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14484] missing return in win32_kill?

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13850] Summary tables for argparse add_argument options

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8075] Windows (Vista/7) install error when choosing to compile .py files

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11352] Update cgi module doc

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10009] Automated MSI installation does not work

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24322] Hundreds of linker warnings on Windows

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3367] Uninitialized value read in parsetok.c

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22211] Remove VMS specific code in expat.h & xmlrole.h

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14534] Add means to mark unittest.TestCases as "do not load".

2019-02-24 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue993766] bdist_dumb and --relative on Windows fails

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16296] Patch to fix building on Win32/64 under VS 2010

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14534] Add means to mark unittest.TestCases as "do not load".

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19905] Add 128-bit integer support to ctypes

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7687] Bluetooth support untested

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17750] allow the testsuite to run in the installed location

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16473] quopri module differences in quoted-printable text with whitespace

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1471934] Python libcrypt build problem on Solaris 8, 9, 10 and OpenSolaris

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue678264] test_resource fails when file size is limited

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18906] Create a way to always run tests in subprocesses within regrtest

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5714] http.server._url_collapse_path should live elsewhere

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7897] Support parametrized tests in unittest

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18769] argparse remove subparser

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12790] doctest.testmod does not run tests in functools.partial functions

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23677] Mention dict and set comps in library reference

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Assigning to @Mariatta for the CPython mentored sprint. -- assignee: docs@python -> Mariatta nosy: +Mariatta, cheryl.sabella stage: patch review -> needs patch versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6

[issue8304] time.strftime() and Unicode characters on Windows

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15347] IDLE - does not close if the debugger was active

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20923] Explain ConfigParser 'valid section name' and .SECTCRE

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18161] call fchdir if subprocess.Popen(cwd=integer|fileobject)

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31035] Document order of firing callbacks added with Future.add_done_callback()

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: The docs for asyncio were rewritten in September 2018. @socketpair, please take a look at the new documentation and update this ticket if any of your requests are now explained. If not, would you be able to provide more specific suggestions of what you

[issue9917] resource max value represented as signed when should be unsigned

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23137] Python 2.7.9 test_gdb fails on CentOS 7

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17055] ftplib.ftpcp test

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23677] Mention dict and set comps in library reference

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1553375] Add traceback.print_full_exception()

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20265] Bring Windows docs up to date

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12851] ctypes: getbuffer() never provides strides

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-24 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36086] Split IDLE into separate feature in Windows installer

2019-02-24 Thread Jacob Bundgaard
Jacob Bundgaard added the comment: I'm glad to hear that you might consider a patch. I've created a draft pull request for this, but I still need to figure out how to encode the dependency from IDLE to Tcl/Tk in WIX. Do you have any insights? --

[issue36086] Split IDLE into separate feature in Windows installer

2019-02-24 Thread Jacob Bundgaard
Change by Jacob Bundgaard : -- keywords: +patch pull_requests: +12055 stage: -> patch review ___ Python tracker ___ ___

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29446] Improve tkinter 'import *' situation

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23216] IDLE grep/find/replace source code needs docstrings

2019-02-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> cheryl.sabella ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23205] Unit test needed for IDLE's GrepDialog.py's findfiles()

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Sure, thanks. grep was on list to add tests to, so I'll take a look at this as well. Thanks! -- assignee: -> cheryl.sabella ___ Python tracker

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-24 Thread miss-islington
miss-islington added the comment: New changeset 9e456bc70e7bc9ee9726d356d7167457e585fd4c by Miss Islington (bot) (Raymond Hettinger) in branch 'master': bpo-36018: Add properties for mean and stdev (GH-12022) https://github.com/python/cpython/commit/9e456bc70e7bc9ee9726d356d7167457e585fd4c

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-24 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +12054 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +12053 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-24 Thread Chris Withers
Chris Withers added the comment: New changeset a875ea58b29fbf510f9790ae1653eeaa47dc0de8 by Chris Withers (Xtreak) in branch 'master': bpo-35512: Resolve string target to patch.dict decorator during function call GH#12000

[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

2019-02-24 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +12052 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35648] Add use_srcentry parameter to shutil.copytree()

2019-02-24 Thread flokX
flokX added the comment: Okay, than this behaviour is wanted. I only thought that the user should have more control about it, but you are right, only the path string is better to handle. I will close the PR. -- pull_requests: +12051 resolution: -> not a bug status: open -> closed

[issue11776] Constructor signatures missing in types module documentation

2019-02-24 Thread Tz a
Change by Tz a : -- nosy: +Tz a ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11776] Constructor signatures missing in types module documentation

2019-02-24 Thread Emmanuel Arias
Emmanuel Arias added the comment: > For others, please give Mike at least a week to respond before opening a PR > with his changes. Okas! -- nosy: +eamanu ___ Python tracker

[issue36090] spelling error in PEP219 introduction

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, @nanjekyejoannah! -- resolution: -> third party ___ Python tracker ___ ___

[issue32758] Stack overflow when parse long expression to AST

2019-02-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems like an easy issue that the warnings in docs for ast need to be manually backported to 2.7 since miss Islington cannot cherry pick two PRs for 2.7 in https://bugs.python.org/issue32758#msg313511 . -- nosy: +Mariatta,

[issue11776] Constructor signatures missing in types module documentation

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: @mikehoy, would you be interested in converting your patch to a GitHub pull request? For others, please give Mike at least a week to respond before opening a PR with his changes. Thank you! -- nosy: +cheryl.sabella versions: +Python 3.7,

[issue36090] spelling error in PEP219 introduction

2019-02-24 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36090] spelling error in PEP219 introduction

2019-02-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I have opened an issue on the PEP repository : https://github.com/python/peps/issues/899 I will close this. -- ___ Python tracker ___

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2019-02-24 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2019-02-24 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2019-02-24 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12050 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36095] Better NaN sorting.

2019-02-24 Thread Brandt Bucher
Brandt Bucher added the comment: One other idea I had considered was having a new magic method intended to be used for elementwise comparisons such as these (I’m thinking specifically of the old __cmp__/tp_compare). Sorting routines could check for this method on each element, but fall back

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-02-24 Thread Stefan Krah
Stefan Krah added the comment: On the other hand, the docs say "insignificant trailing zeros are removed from the significand", so technically it *is* correct, because trailing zeros are significant in decimal. -- ___ Python tracker

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-02-24 Thread Stefan Krah
Stefan Krah added the comment: I just noticed that there are other differences, for example the "removal of trailing zeros" passage does not apply to Decimal: >>> format(Decimal("1.00e-6"), "g") '0.0100' Perhaps it would be easier to have separate docs for float and decimal

[issue36101] remove non-ascii characters in docstring

2019-02-24 Thread Ma Lin
Ma Lin added the comment: only 3.8 branch has those non-ascii characters. -- versions: -Python 3.7 ___ Python tracker ___ ___

[issue36101] remove non-ascii characters in docstring

2019-02-24 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +12049 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36101] remove non-ascii characters in docstring

2019-02-24 Thread Ma Lin
New submission from Ma Lin : replace ’(\u2019) with '(\x27) -- assignee: docs@python components: Documentation messages: 336468 nosy: Ma Lin, docs@python priority: normal severity: normal status: open title: remove non-ascii characters in docstring versions: Python 3.7, Python 3.8

[issue36100] Document the differences between str.isdigit, isdecimal and isnumeric

2019-02-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm re-opening the ticket with a change of subject, because I think this should be treated as a documentation enhancement: - improve the docstrings for str.isdigit, isnumeric and isdecimal to make it clear what each does (e.g. what counts as a digit); -

[issue36100] int() and float() should accept any isnumeric() digit

2019-02-24 Thread Marcos Dione
Marcos Dione added the comment: Thanks for all the examples, I'm convinced. -- resolution: -> not a bug stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue36029] Use title-case HTTP header fields

2019-02-24 Thread Géry
Géry added the comment: Please see the changes and my reply in the PR. -- title: Use consistent case for HTTP header fields -> Use title-case HTTP header fields ___ Python tracker

[issue36100] int() and float() should accept any isnumeric() digit

2019-02-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Agreed, though str.isnumeric behavior might seem to be correct in terms of user who knows unicode internals the naming makes it easy to be used for a general user on trying to determine if the string can be used for int() without knowing unicode

[issue36083] Misformated manpage: --check-hash-based-pycs ´default´|´always´|´never´

2019-02-24 Thread Miro Hrončok
Change by Miro Hrončok : -- keywords: +patch pull_requests: +12048 stage: -> patch review ___ Python tracker ___ ___

[issue36099] Clarify the difference between mu and xbar in the statistics documentation

2019-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Great! Thank you, Steven. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36100] int() and float() should accept any isnumeric() digit

2019-02-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sun, Feb 24, 2019 at 11:07:41AM +, Karthikeyan Singaravelan wrote: > Is this worth an FAQ or an addition to the existing note on int that > specifies characters should belong to 'Nd' category to add a note that > str.isdecimal should return True

  1   2   >