[issue25907] Documentation i18n: Added trans tags in sphinx templates

2016-03-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: -> resolved ___ Python tracker ___

[issue25702] Link Time Optimizations support for GCC and CLANG

2016-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Piping up from the peanut gallery here: If your use case is not doing release builds for production use, i.e. "casual use", don't bother with either PGO or LTO. It won't matter. Your final build that you Q ship should absolutely use those. (nobody's going

[issue26484] Broken table in /2.7/library/sets.html#set-objects

2016-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks for reporting this! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26484] Broken table in /2.7/library/sets.html#set-objects

2016-03-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7a2f81a190c by Gregory P. Smith in branch '2.7': issue26484 - fix the broken table in the doc about len(). https://hg.python.org/cpython/rev/f7a2f81a190c -- nosy: +python-dev ___ Python tracker

[issue25702] Link Time Optimizations support for GCC and CLANG

2016-03-04 Thread INADA Naoki
INADA Naoki added the comment: > For sure you are not the only user that has active workloads on the physical > machine while you do benchmarks :) I think largest machine type I chosen (32core) can avoid sharing physical machine with other users. > On the other hand, the path you are going

[issue25907] Documentation i18n: Added trans tags in sphinx templates

2016-03-04 Thread Julien
Changes by Julien : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue26485] Missing newline, raising a warning, in /Doc/license.rst

2016-03-04 Thread Julien
New submission from Julien: o/ While fixing sphinx-doc warnings, I found this missing newline. Yet the documentation is still correctly rendered. -- assignee: docs@python components: Documentation files: missing_newline_in_licence.rst messages: 261204 nosy: docs@python, sizeof

[issue26446] Mention in the devguide that core dev stuff falls under the PSF CoC

2016-03-04 Thread Brett Cannon
Brett Cannon added the comment: The PSF board passed a resolution in January 2014 that all web-related stuff falls under the CoC: https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties. I'm still pushing to get the CoC mentioned in the devguide but

[issue26484] Broken table in /2.7/library/sets.html#set-objects

2016-03-04 Thread Julien
New submission from Julien: Hi, Since: https://github.com/python/cpython/commit/5fdcdab5794d18adc4c66abdce8639440433ed24#diff-c191394dee92fb4800d40d9a8ba431ee the table is broken (...Doc/library/sets.rst:76: ERROR: Malformed table.

[issue24909] Windows: subprocess.Popen: race condition for leaking inheritable handles

2016-03-04 Thread Jack O'Connor
Changes by Jack O'Connor : -- nosy: +oconnor663 ___ Python tracker ___ ___

[issue25973] Segmentation fault with nonlocal and two underscores

2016-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Only security fixes are accepted for 3.4. -- ___ Python tracker ___ ___

[issue25973] Segmentation fault with nonlocal and two underscores

2016-03-04 Thread Antti Haapala
Antti Haapala added the comment: So no fix for 3.4 for an obvious SIGSEGV? % python3 Python 3.4.3 (default, Mar 26 2015, 22:03:40) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> class A: ... def f(self): ...

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes. For details you need to read The Unicode Standard. And every decimal character is accepted by the int() constructor, but non-decimal digits are not. >>> for d in decimals: x = int(d) ... >>> for d in set(digits) - set(decimals): ... try: ...

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Ethan Furman
Ethan Furman added the comment: I like those code snippets! Thanks, Serhiy! Just to make sure I have understood correctly: every decimal char is also a digit char, but some digit chars are not decimal chars. -- ___ Python tracker

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >>> chars = ''.join(map(chr, range(sys.maxunicode+1))) >>> digits = ''.join(filter(str.isdigit, chars)) >>> digits

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation, Unicode nosy: +docs@python, ezio.melotti, haypo stage: -> needs patch type: -> enhancement versions: +Python 3.6 ___ Python tracker

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: docs unclear on difference between isdigt() and isdecimal() -> docs unclear on difference between str.isdigit() and str.isdecimal() ___ Python tracker

[issue26459] Windows build instructions are very inaccurate

2016-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I built 2.7.11 on Win10 last Jan 16 with MCS v.1500 32 bit. I believe that is VS2008. Besides TortoiseHG, which I think is great, I downloaded SlikSVN minimal client only. I somewhat arbitrarily picked it from some svn list.

[issue26483] docs unclear on difference between isdigt() and isdecimal()

2016-03-04 Thread Ethan Furman
New submission from Ethan Furman: The docs use different explanations for what constitutes a decimal verses a digit character; consequently I can't tell if they are the same or different, and if different what the differences are. ---

[issue26482] Restore pickling recursive dequeues

2016-03-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Pickling recursive dequeues was added in issue1062279. But then it was reverted in 73f49656420b (unknown issue number). Proposed patch restores pickling recursive dequeues. -- assignee: rhettinger components: Library (Lib) files:

[issue26478] dict views don't implement subtraction correctly

2016-03-04 Thread wim glenn
wim glenn added the comment: Well that was patched quickly, impressive turnaround on this -- nosy: +wim.glenn ___ Python tracker ___

[issue26481] unittest discovery process not working without .py source files

2016-03-04 Thread Stefan Seefeld
New submission from Stefan Seefeld: The unittest test discovery right now only looks into sub-packages if they contain a `__init__.py` file. That's an unnecessary requirement, as packages are also importable if only `__init__.pyc` is present. -- components: Library (Lib) messages:

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread Brett Cannon
Changes by Brett Cannon : -- type: behavior -> enhancement ___ Python tracker ___ ___

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread yuriy_levchenko
Changes by yuriy_levchenko : -- type: -> behavior ___ Python tracker ___ ___

[issue26480] add a flag that will not give the set a sys.stdin

2016-03-04 Thread yuriy_levchenko
New submission from yuriy_levchenko: i have Fatal Error "Py_Initialize: can't initialize sys standard streams" because fail to create fd = fileno(stdin); std = create_stdio(iomod, fd, 0, "", encoding, errors); I do not need to create this input|output if i comment this code, and setup

[issue25702] Link Time Optimizations support for GCC and CLANG

2016-03-04 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: You are doing measurements on a virtual machine... For sure you are not the only user that has active workloads on the physical machine while you do benchmarks :) On the other hand, the path you are going with just LTO is nice for experiments, but for

[issue25702] Link Time Optimizations support for GCC and CLANG

2016-03-04 Thread INADA Naoki
INADA Naoki added the comment: The machine is Google Compute Engine n1-highcpu-32 (Intel Ivy Bridge) Linux bench 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux cpuinfo: processor : 31 vendor_id : GenuineIntel cpu family : 6 model :

[issue17720] pickle.py's load_appends should call append() on objects other than lists

2016-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why this patch was not applied to 2.7? What is the spec of APPENDS? -- ___ Python tracker ___

[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

2016-03-04 Thread Michael Felt
Michael Felt added the comment: FYI: build as 64-bit (and shall only build as 64-bit from now I expect) and the output works as: == aixtools.python:aixtools.python.man.en_US:2.7.11.0::I:C:N:man pages0::

[issue26479] Init documentation typo "may be return" > "may NOT be returned"

2016-03-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: The text appears to be correct as it is. What is says is that __init__ must not return any value other than None and that is correct, you will get an exception when you return a value that is not None. >>> class C(): ...def __init__(self): return 42 ...

[issue26479] Init documentation typo "may be return" > "may NOT be returned"

2016-03-04 Thread Samuel Colvin
New submission from Samuel Colvin: https://docs.python.org/3/reference/datamodel.html#object.__init__ "no non-None value may be returned by __init__();" should read "no non-None value may *not* be returned by __init__();" -- assignee: docs@python components: Documentation messages:

[issue26456] import _tkinter + TestForkInThread leaves zombie with stalled thread

2016-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But please add a reference to this issue. -- ___ Python tracker ___ ___