[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 looking for a cleaner way to fix this, then cffi's needs could be 
covered by adding a general-purpose-storage dict to PyInterpreterState (like 
PyThreadState->dict, but per sub-interpreter instead of per thread), and an API 
function to get it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
-I/opt/python/3.8-dev/include/python3.8m -c c/_cffi_backend.c -o 
build/temp.linux-x86_64-3.8/c/_cffi_backend.o
In file included from c/cffi1_module.c:20:0,
 from c/_cffi_backend.c:7552:
c/call_python.c: In function ‘_get_interpstate_dict’:
c/call_python.c:20:30: error: dereferencing pointer to incomplete type 
‘PyInterpreterState {aka struct _is}’
 builtins = tstate->interp->builtins;
  ^
error: command 'gcc' failed with exit status 1

I haven't investigated further but heads up.

--
nosy: +arigo, njs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:  -> rejected
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 suggest it does partial reads.

But the Python 3 code calls "socket.makefile" with "buffering" mode enabled by 
default. I agree it should be safe to read the total length in one go.

--
nosy: +martin.panter

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 removing mac_centeuro and adding an alias to mac_latin2?

--
nosy: +lemburg

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 are 
identical). The doc says:

 "CPython implementation detail: Some common encodings can bypass the codecs 
lookup machinery to improve performance. These optimization opportunities are 
only recognized by CPython for a limited set of (case insensitive) aliases: 
utf-8, utf8, latin-1, latin1, iso-8859-1, iso8859-1, mbcs (Windows only), 
ascii, us-ascii, utf-16, utf16, utf-32, utf32, and the same using underscores 
instead of dashes. Using alternative aliases for these encodings may result in 
slower execution."

Also not sure whether this would matter or not.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)
https://github.com/python/cpython/commit/16323cb2c3d315e02637cebebdc5ff46be32ecdf


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +inada.naoki

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 new patch will be 'based on' rather than 'an 
edit' of Hoy's work.

1. The table needs to be explained.  It should not just duplicate explanation 
elsewhere in the doc.  Currently it only lists classes with Python signatures 
that can be instantiated from Python.  It might make more sense to have a table 
of types that cannot be instantiated, and not list them elsewhere.

The table seems to be a response to an unreferenced and incomplete (and 
therefore non-authoritative) suggestion.  We should do what seems best now.

Perhaps there should be two tables for non-callable and callable (from Python) 
types.  The former without individual entries, the latter with, and with links 
thereto in the table.

Or perhaps skip tables and just make two subsections for the two groups of 
types/classes.  There are not currently alphabetical anyway.

2. The types that cannot be instantiated have wrong doc.
"+   This does support direct creation."
This seems to be Nick's
"This type does support direct creation "
However, 'this' referred to ModuleType, not to the 'do not call' type he listed 
previously.

Correct would be "This type cannot be instantiated by calling it." and I would 
prefer saying this just once and listing the modules in a table with short 
explanation.  Table intro might be
"The following types cannot be instantiated by calling them from Python.  Hence 
no argument signature is given."

3. The wrong initial comments are followed by the wrong 
"Please see :class:`XyzType` (imp.new_module).
Again, these are derived from Nick's comment that only applies to callable 
ModuleType.

The reference to imp is obsolete as imp is deprecated.  The 
imp.new_module(name) entry says to use importlib.util.module_from_spec(spec), 
but a name is not spec.  We don't need to add this; see below.

4. The patch does not touch the ModuleType entry, currently (3.7 online):

 class types.ModuleType(name, doc=None)
The type of modules. Constructor takes the name of the module to be created 
and optionally its docstring.

Note
Use importlib.util.module_from_spec() to create a new module if you wish to 
set the various import-controlled attributes.

This looks fine.  The only thing we might change is the awkward 'Constructor 
takes' to 'A call takes' or something.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +inada.naoki

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 all!  If a revision of the standard mandates a specific total 
ordering, it's certain that people will eventually ask for it be supported.

> But it's difficult to see how it would be useful in
> practice, given that people usually don't know about
> or care about the sign that their NaN has.)

The standard "wastes" an enormous number of bit patterns on NaNs, catering to 
some hypothetical system that uses those bits to encode diagnostic information 
(e.g., maybe the source code line number of the operation that produced the 
NaN), and this is just one more "wasted" bit.  If any implementation actually 
used any of these possibilities, I'm sure semi-plausible ;-) use cases would 
follow.

I bet this was driven by implementation - it's _almost_ what you'd get if you 
viewed the float bit patterns as signed integers.  Seems the only flaw with 
that is that the negative floats are in "reverse order" then.  Which can be 
repaired easily enough; e.g.,

import struct
def totkey(x, *, MASK=(1 << 63) - 1, pack=struct.pack):
asint = int.from_bytes(pack(">d", x), "big", signed=True)
if asint < 0:
asint ^= MASK
return asint

Then

xs = [2.0, 1.0, 0.0, -0.0, -1.0, -2.0,
  math.inf, -math.inf, math.nan, -math.nan]
print(sorted(xs, key=totkey))

displays

[nan, -inf, -2.0, -1.0, -0.0, 0.0, 1.0, 2.0, inf, nan]

That makes negative NaNs smallest, positive NaNs largest, puts -0 before +0, 
and in all other respects I checked ;-) appears to match the totalOrder 
requirements.  On most boxes, it will even consider (positive) signaling NaNs 
to "be smaller" than (positive) quiet NaNs, which totalOrder also seems to 
require (presumably again not because it's obviously useful, but because it 
_follows_ from a very simple implementation like the one above).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7687] Bluetooth support untested

2019-02-24 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18769] argparse remove subparser

2019-02-24 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 would like to see included?

Thanks!

--
assignee: docs@python -> 
nosy: +cheryl.sabella
versions: +Python 3.8 -Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17055] ftplib.ftpcp test

2019-02-24 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
https://github.com/python/cpython/commit/a875ea58b29fbf510f9790ae1653eeaa47dc0de8


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36090] spelling error in PEP219 introduction

2019-02-24 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Thanks, @nanjekyejoannah!

--
resolution:  -> third party

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, cheryl.sabella, xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, Python 3.8 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 on __lt__ if it is missing or NotImplemented. 

This would allow us to define an ordering for types independent of the rich 
comparison behavior. Simply defining it for floats and adding quick patches for 
list.sort/min/max/... would provide the language (and users) with that 
flexibility.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 after 
all, or a long footnote for decimal.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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);

- similarly improve the documentation for int and float? although the existing 
comment may be sufficient

https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex

- add a FAQ summarizing the situation.

I don't think we need to worry about backporting the docs to Python 2, but if 
others disagree, I won't object.

--
assignee:  -> docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python
resolution: not a bug -> 
stage: resolved -> 
status: closed -> open
title: int() and float() should accept any isnumeric() digit -> Document the 
differences between str.isdigit, isdecimal and isnumeric
type: behavior -> enhancement
versions:  -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 
3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 internals. I am not sure how this can be explained in simpler terms but 
it would be good if clarified in the docs to avoid confusion. 

There seems to be have been thread [0] in the past about multiple ways to check 
for a unicode literal to be number causing confusion. It adds more confusion on 
Python 2 where strings are not unicode by default.

$ python2.7
Python 2.7.14 (default, Mar 12 2018, 13:54:56)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> '\u00B2'.isdigit()
False
>>> u'\u00B2'.isdigit()
True

[0] https://mail.python.org/pipermail/python-list/2012-May/624340.html

--
versions:  -Python 3.4, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

Yes, I think that there should be a FAQ about the differences between 
isdigit, isdecimal and isnumeric, pointing to the relevant Unicode 
documentation. I would also like to see a briefer note added to each of 
the string methods docstrings as well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >