[issue28728] test_host_resolution in test_socket fails

2016-11-24 Thread SilentGhost
SilentGhost added the comment: > My guess is you have a plugin which is resolving these ip-address lookalikes. That probably is the reason. My hosts line looks like: hosts: files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns I guess there isn't much that could be done

[issue28728] test_host_resolution in test_socket fails

2016-11-24 Thread Xiang Zhang
Xiang Zhang added the comment: > hosts: files mdns4_minimal [NOTFOUND=return] resolve > [!UNAVAIL=return] dns I think this is the default config. Same as mine. Does test_host_resolution still stably fails? -- ___ Python tracker

[issue28785] Clarify the behavior of NotImplemented

2016-11-24 Thread Max
New submission from Max: Currently, there's no clear statement as to what exactly the fallback is in case `__eq__` returns `NotImplemented`. It would be good to clarify the behavior of `NotImplemented`; at least for `__eq__`, but perhaps also other rich comparison methods. For example: "When

[issue28532] Show sys.version when -V option is supplied twice.

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a29ab5a4785 by INADA Naoki in branch '3.6': Issue #28532: Add what's new entry for python -VV option https://hg.python.org/cpython/rev/5a29ab5a4785 New changeset 3f9f13077ca8 by INADA Naoki in branch 'default': Issue #28532: Add what's new entry fo

[issue28532] Show sys.version when -V option is supplied twice.

2016-11-24 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue28564] shutil.rmtree is inefficient due to listdir() instead of scandir()

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Benchmarks show about 20% speed up. -- Added file: http://bugs.python.org/file45619/bench_rmtree.py ___ Python tracker ___ ___

[issue28728] test_host_resolution in test_socket fails

2016-11-24 Thread SilentGhost
SilentGhost added the comment: > Does test_host_resolution still stably fails? Yes. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue28786] Warnings in Misc/NEWS

2016-11-24 Thread SilentGhost
New submission from SilentGhost: Couple of entries in Misc/NEWS are causing warnings due to use of double quotes instead of backticks for code segments. This patches fixes the formatting. -- assignee: docs@python components: Documentation files: escape.diff keywords: patch messages: 281

[issue28781] On Installation of 3.5 Python get error message

2016-11-24 Thread Mark Harris
Mark Harris added the comment: Thanks for the message. I've tried using repair, reinstalling etc to no effect. I've ziped up the files I could find starting with Python in the temp file you mentioned. Thanks again for the help, Mark -- Added file: http://bugs.python.org/file45621/Pyt

[issue28728] test_host_resolution in test_socket fails

2016-11-24 Thread Martin Panter
Martin Panter added the comment: I’m curious what the result of gethostbyaddr() is in your case, Silent Ghost. import socket socket.gethostbyaddr("::1q") socket.gethostbyaddr("::1::2") socket.gethostbyaddr("1:1:1:1:1:1:1:1:1") On my computer, I get “socket.gaierror: [Errno -2] Name or service n

[issue2771] Test issue

2016-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: Test -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue28728] test_host_resolution in test_socket fails

2016-11-24 Thread SilentGhost
SilentGhost added the comment: I get either ('ec2-54-88-107-140.compute-1.amazonaws.com', [], ['54.88.107.140']) or ('ec2-54-84-80-173.compute-1.amazonaws.com', [], ['54.84.80.173']). It indeed seems to be related to ISP, as I get a regular socket.gaierror raised when I try this on another ma

[issue28785] Clarify the behavior of NotImplemented

2016-11-24 Thread Martin Panter
Martin Panter added the comment: The documentation of this that comes to mind is spread over and . My understanding of how it works in general is that

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-24 Thread Florian Schulze
Florian Schulze added the comment: How do we proceed from here? The Python 3.6.0rc1 is looming. If this is a bug in sqlite, then we need a workaround. We can't wait for a fix in sqlite, because it's not bundled with Python and without the fix Python 3.6 breaks with older sqlite versions. I'd l

[issue28787] Out of tree --with--dtrace builds fail with a traceback

2016-11-24 Thread Charalampos Stratakis
New submission from Charalampos Stratakis: By invoking an out of tree build of python with the --with-dtrace flag enabled, make fails with an error. Create a new folder at the source directory: $ mkdir _build && cd _build $ ../configure --with-dtrace $ make /usr/bin/dtrace -o Include/pydtrace

[issue28785] Clarify the behavior of NotImplemented

2016-11-24 Thread Max
Max added the comment: Martin - what you suggest is precisely what I had in mind (but didn't phrase it as well): > to document the above sort of behaviour as being directly associated with > operations like as == and !=, and only indirectly associated with the > NotImplemented object and the

[issue28749] Fixed the documentation of the mapping codec APIs

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Xiang's and Victor's comments. -- Added file: http://bugs.python.org/file45623/docs-PyUnicode_Translate-2.patch ___ Python tracker ___

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2016-11-24 Thread INADA Naoki
INADA Naoki added the comment: I can't get same C traceback yet. But attached script segfaults by different C traceback. I think this issue is dup of #1856 -- Added file: http://bugs.python.org/file45624/28673-reproduce.py ___ Python tracker

[issue28714] Addition to Documentation of configparser.ConfigParser.write()

2016-11-24 Thread George Fischhof
George Fischhof added the comment: Hi Berker, It is true, I agree ;-) But this way ConfigParser works different than xml parsers (for example elementtree from system lib), as when I use elementtree.write it wil create a file with full and valid xml content. But ConfigParser is "able" ;-) to

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: Updated patch. I added a NEWS entry and the two assertions from lasti.patch. These assertions are basic sanity checks, not directly related to this issue, they shouldn't harm. A started frame must never go back to the not-started state (f_lasti < 0). Yury: "

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-24 Thread R. David Murray
R. David Murray added the comment: I'm going to mark this as a release blocker because it is a regression. Ned may or may not agree. What is needed is for someone to propose a patch. -- nosy: +ned.deily, r.david.murray priority: normal -> release blocker versions: +Python 3.7 ___

[issue28714] Addition to Documentation of configparser.ConfigParser.write()

2016-11-24 Thread R. David Murray
R. David Murray added the comment: That would be a separate issue (a feature request). It would make sense, since there is already a read_file method. -- nosy: +r.david.murray ___ Python tracker _

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: pygen_yf-2.patch LGTM. Agreed about tests. -- assignee: -> haypo stage: -> commit review ___ Python tracker ___ ___

[issue28788] Feature request: ConfigParser should be able to write config to a given filename, not only into file object

2016-11-24 Thread George Fischhof
New submission from George Fischhof: Hi There, I started to use ConfigParser, and found that it has no write to file_name option, but xml paarser (ElementTree) has. This way ConfigParser works different than xml parsers, as when I use elementtree.write it will create a file with full and vali

[issue28714] Addition to Documentation of configparser.ConfigParser.write()

2016-11-24 Thread George Fischhof
George Fischhof added the comment: Hi, issue 28788 created as feature request BR, George -- status: open -> closed ___ Python tracker ___ __

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I'm not experienced with sqlite3, but in what circumstances conn.execute('begin immediate') makes sense? Could you please provide a larger example where it is needed? -- ___ Python tracker

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-24 Thread Ned Deily
Ned Deily added the comment: Also, if there is indeed a suspected error in the underlying library, has the issue been reported to the SQLite project? -- ___ Python tracker ___ _

[issue28754] Argument Clinic for bisect.bisect_left

2016-11-24 Thread Julien Palard
Changes by Julien Palard : Added file: http://bugs.python.org/file45626/issue28754-4.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28789] valgrind shows "invalid file descriptor" when calling platform.system() on my machine.

2016-11-24 Thread Mathieu Duponchelle
New submission from Mathieu Duponchelle: I'm using Fedora 23.  meh  ~  1  valgrind python3 -c "import platform; print(platform.system())" ==10093== Memcheck, a memory error detector ==10093== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==10093== Using Valgrind-3.11.0 and L

[issue28694] tkinter interface to fontchooser

2016-11-24 Thread Lance Ware
Lance Ware added the comment: Good points, Zachary. Regarding the commondialog.Dialog class, I think it would need to be enhanced to make sense using it with Fontchooser. It really doesn't do a whole lot, and the awful kludge in the show method (creating a Frame widget just so that some low-l

[issue28781] On Installation of 3.5 Python get error message

2016-11-24 Thread Steve Dower
Steve Dower added the comment: Oh wow, I've never seen anything like this before. It looks like it's really confused about whether you've installed for all users or not. I wish I knew how you got into this state, because I'd like to be able to prevent it. I guess it's related to the current is

[issue27100] Attempting to use class with both __enter__ & __exit__ undefined yields __exit__ attribute error

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset e11df6aa5bf1 by Raymond Hettinger in branch '3.6': Issue #27100: Silence deprecation warning in Lib/test/test_with.py https://hg.python.org/cpython/rev/e11df6aa5bf1 -- ___ Python tracker

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread Yury Selivanov
Yury Selivanov added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue28775] Option to set startup directory in IDLE

2016-11-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Terry, if you're open to it, I would like to have one of our new aspiring core developers work on this patch under your direction. Nofar Schnider has expressed an interest. -- ___ Python tracker

[issue28775] Option to set startup directory in IDLE

2016-11-24 Thread Nofar Schnider
Changes by Nofar Schnider : -- nosy: +Nofar Schnider ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28773] typing.FrozenSet missing in documentation.

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d83b6a9b568 by Guido van Rossum in branch '3.5': Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) https://hg.python.org/cpython/rev/5d83b6a9b568 -- nosy: +python-dev ___ Python tracker

[issue28773] typing.FrozenSet missing in documentation.

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7059e68db068 by Guido van Rossum in branch '3.6': Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6) https://hg.python.org/cpython/rev/7059e68db068 New changeset 00bfe5bd3553 by Guido van Rossum in branch 'default': Issue #28773: A

[issue28773] typing.FrozenSet missing in documentation.

2016-11-24 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! I pushed this into 3.5, then merged into 3.6 and default. Is that the right procedure still? -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker

[issue28790] Error when using Generic and __slots__

2016-11-24 Thread Guido van Rossum
New submission from Guido van Rossum: Proxy for https://github.com/python/typing/issues/332 (issue) and https://github.com/python/typing/pull/334 (fix). """ from typing import Generic, TypeVar class C(Generic[TypeVar('T')]): __slots__ = ('potato',) # ValueError: 'potato' in __slots__

[issue28790] Error when using Generic and __slots__

2016-11-24 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28791] update sqlite to 3.14.2

2016-11-24 Thread Big Stone
New submission from Big Stone: I fear it's too late for Python-3.6, but sqlite-3.15.1 fixes an old annoying bug (hidden since 3.8.0), and arriving tomorrow (nov.24th) sqlite-3.15.2 should be the well ".2" stabilized version of recent 3.15 improvements towards SQL standard (support for row valu

[issue28791] update sqlite to 3.15.2

2016-11-24 Thread Big Stone
Changes by Big Stone : -- title: update sqlite to 3.14.2 -> update sqlite to 3.15.2 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
New submission from STINNER Victor: Attached patch simplifies the _bisect module: remove _bisect.bisect and _bisect.insort aliases. Aliases are created in Lib/bisect.py. I wrote the patch to prepare the C code for Argument Clinic, see issue #28754. Note: Lib/test/test_bisect.py already contain

[issue28754] Argument Clinic for bisect.bisect_left

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: Hum, I dislike your changes on test_bisect.py: I don't see why Argument Clinic would have to modify tests!? I created issue #28792: "bisect: implement aliases in Python, remove C aliases". -- nosy: +haypo ___ Python

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread Julien Palard
Julien Palard added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue28693] No EUDC (HKSCS) support in Windows cp950

2016-11-24 Thread Mingye Wang
Mingye Wang added the comment: Windows cp950's EUDC<->PUA mapping is not specific to HKSCS. -- title: No HKSCS support in Windows cp950 -> No EUDC (HKSCS) support in Windows cp950 ___ Python tracker _

[issue28343] Bad encoding alias cp936 -> gbk: euro sign

2016-11-24 Thread Mingye Wang
Changes by Mingye Wang : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12844] Support more than 255 arguments

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since issue27213 the bytecode no longer have a limitation for numbers of positional or keyword arguments. -- nosy: +serhiy.storchaka ___ Python tracker _

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 303cedfb9e7a by Victor Stinner in branch '3.6': Fix _PyGen_yf() https://hg.python.org/cpython/rev/303cedfb9e7a -- nosy: +python-dev ___ Python tracker

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 303cedfb9e7a by Victor Stinner in branch '3.6': Fix _PyGen_yf() https://hg.python.org/cpython/rev/303cedfb9e7a -- ___ Python tracker __

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2016-11-24 Thread Martin Panter
Changes by Martin Panter : -- dependencies: +Argument Clinic for bisect.bisect_left ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15533] subprocess.Popen(cwd) documentation

2016-11-24 Thread Wolfgang Maier
Wolfgang Maier added the comment: Ping. This still isn't fixed several years later, i.e., the documentation still describes the POSIX, but not the Windows behavior. See also issue20927, which reports this as a bug. -- nosy: +wolma versions: +Python 3.5, Python 3.6, Python 3.7 -Python 2.

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: Oh, bisect() was renamed to bisect_right() and insort() renamed to insort_right() in the changeset 67b3ac439f64 of Python 2.1. The aliases created for "backward compatibility" are for compatibility with... Python 2.0 :-) The aliases were never deprecated. Mayb

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: Thanks Martin Richard to continue to find (and report!) crazy corner cases ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28793] Copy-paste error in collections.abc docs for AsyncGenerator

2016-11-24 Thread Nathaniel Smith
New submission from Nathaniel Smith: There's a small copy-paste error in the docs for collections.abc.AsyncGenerator -- it's called collections.abc.Generator: "class collections.abc.Generator ABC for asynchronous generator classes that implement the protocol defined in PEP 525 and PEP 492

[issue28794] inspect.isasyncgen and inspect.isasyncgenfunction aren't documented

2016-11-24 Thread Nathaniel Smith
New submission from Nathaniel Smith: The string "isasync" does not appear to occur on this page: https://docs.python.org/3.6/library/inspect.html -- assignee: docs@python components: Documentation messages: 281662 nosy: docs@python, njs, yselivanov priority: normal severity: normal stat

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: This issue is done: see issue #27129 for the next step. -- dependencies: -Wordcode, part 2 resolution: -> fixed status: open -> closed ___ Python tracker

[issue28795] Misleading stating, that SIGINT handler is installed by default

2016-11-24 Thread Jan Velecký
New submission from Jan Velecký: Hello, documentation (https://docs.python.org/2/library/signal.html) states, that Python by default installs SIGINT handler which cause KeyboardInterrupt. This is not true everytime according to implementation. "Python installs a small number of signal handlers

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2016-11-24 Thread Irmen de Jong
Irmen de Jong added the comment: The 28673-reproduce.py didn't crash on any of the systems I've tried it on. Are you sure it is complete? It looks like a part is missing. -- ___ Python tracker

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45713818fd81 by Victor Stinner in branch 'default': Issue #28792: Remove aliases from _bisect https://hg.python.org/cpython/rev/45713818fd81 -- nosy: +python-dev ___ Python tracker

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28792] bisect: implement aliases in Python, remove C aliases

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: I pushed quickly my patch, so Julien can rebase his patch on top of that. I like his patch because it changes bisect to use FASTCALL which makes bisect faster! -- ___ Python tracker

[issue28685] Optimizing list.sort() by performing safety checks in advance

2016-11-24 Thread STINNER Victor
STINNER Victor added the comment: list.sort() is a very sensitive function. Maybe (dummy idea?), you may start with a project on PyPI, play with it and try it on large applications (Django?). And come back later once it's battle tested? -- ___ Pytho

[issue28754] Argument Clinic for bisect.bisect_left

2016-11-24 Thread Julien Palard
Julien Palard added the comment: New simplier patch thanks to https://bugs.python.org/issue28792. Also corrected docstrings. Also ran a micro-benchmark of `bisect.bisect(foo, "c")` with `foo = list("abcdef")`: Median +- std dev: [before] 434 ns +- 17 ns -> [after] 369 ns +- 22 ns: 1.18x faste

[issue28793] Copy-paste error in collections.abc docs for AsyncGenerator

2016-11-24 Thread Julien Palard
Julien Palard added the comment: Proposed a simple patch. Error was introduced by "Issue #28720: Add collections.abc.AsyncGenerator.", git commit c75c1f44, hg changeset 105163. I reread it and did not find other occurrences of the error. -- keywords: +patch nosy: +mdk Added file: http

[issue28795] Misleading stating, that SIGINT handler is installed by default

2016-11-24 Thread Julien Palard
Julien Palard added the comment: Maybe something like: > Python installs a small number of signal handlers by default: SIGPIPE is > ignored (so write errors on pipes and sockets can be reported as ordinary > Python exceptions) and SIGINT (if parent process has not changed it) is > translated

[issue28753] Clinic: Converting Your First Function is not up to date

2016-11-24 Thread Julien Palard
Julien Palard added the comment: After a discussion with Victor, I propose a patch to update the documentation allowing users strictly following the doc to let Clinic use FASTCALLs, it's a nice performance gain, and it's safe to let clinic use it. -- Added file: http://bugs.python.org/

[issue28796] FIX warnings in documentation build

2016-11-24 Thread Julien Palard
Changes by Julien Palard : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.7 ___ Python tracker ___ ___

[issue28796] FIX warnings in documentation build

2016-11-24 Thread Julien Palard
New submission from Julien Palard: Just a little patch to fix 4 doc build warning. -- messages: 281673 nosy: mdk priority: normal severity: normal status: open title: FIX warnings in documentation build ___ Python tracker

[issue28796] FIX warnings in documentation build

2016-11-24 Thread Julien Palard
Changes by Julien Palard : -- keywords: +patch Added file: http://bugs.python.org/file45631/issue28796.diff ___ Python tracker ___ ___

[issue28797] Modifying class __dict__ inside __set_name__

2016-11-24 Thread Wombatz
New submission from Wombatz: This behavior occurs at least in python-3.6.0b3 and python-3.6.0b4. Modifying the class __dict__ inside the __set_name__ method of a descriptor that is used inside that class can lead to a bug that possibly prevents other descriptors from being initialized (the cal

[issue28797] Modifying class __dict__ inside __set_name__

2016-11-24 Thread Emanuel Barry
Emanuel Barry added the comment: Ow! I can confirm the bug still happens on latest trunk. Nice finding! -- nosy: +ebarry, ned.deily, rhettinger, serhiy.storchaka priority: normal -> release blocker stage: -> needs patch ___ Python tracker

[issue28797] Modifying class __dict__ inside __set_name__

2016-11-24 Thread Emanuel Barry
Changes by Emanuel Barry : -- nosy: +Martin.Teichmann ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2016-11-24 Thread INADA Naoki
INADA Naoki added the comment: I'm sorry, I had uploaded script with wrong parameter. Additionally, this script fails by chance. $ while true; do python2 28673-reproduce2.py || break; echo -n .; done .Segmentation fault (core dumped) -- Added file: http://bugs.python.org/file45633/2

[issue28749] Fixed the documentation of the mapping codec APIs

2016-11-24 Thread Xiang Zhang
Xiang Zhang added the comment: v2 LGTM. -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue28798] Describe character as a string of length one instead of size one in tutorial

2016-11-24 Thread Liang-Bo Wang
New submission from Liang-Bo Wang: In Tutorial "An Informal Introduction" section, character is introduced as a string of size one. It may be true for python 2.x, where str can be interpreted as bytes. However in Python 3, strings are unicode thus the size and the length of a string are usuall

[issue28798] Describe character as a string of length one instead of size one in tutorial

2016-11-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I think the current wording is fine and do not want to start an unnecessary misadventure of finding every place we say size and replacing it with length. In general, we use either term almost interchangeable (i.e. the size of dictionary is determine

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2016-11-24 Thread INADA Naoki
INADA Naoki added the comment: Python 3 would have #21963 too. If we can fix it, we can fix this issue too. -- ___ Python tracker ___

[issue28797] Modifying class __dict__ inside __set_name__

2016-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch iterates a copy of __dict__. -- keywords: +patch stage: needs patch -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45635/set_name-dict-copy.patch ___ Python tracker

[issue28794] inspect.isasyncgen and inspect.isasyncgenfunction aren't documented

2016-11-24 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hi, attached is the patch with docs for inspect.isasyncgen and inspect.isasyncgenfunction Please review, and let me know if this works. Thanks :) -- keywords: +patch nosy: +Mariatta Added file: http://bugs.python.org/file45636/issue28794.patch

[issue28772] Bus error in Python 3.6.0beta

2016-11-24 Thread Stefan Scherfke
Stefan Scherfke added the comment: The cause for this issue was a backwards incompatible change between conda-build v1 and conda-build v2. -- resolution: -> not a bug status: open -> closed ___ Python tracker ___