[issue26149] Suggest PyCharm Community as an editor for Unix platforms

2016-10-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for the feedback, Berker. I updated the patch as suggested. -- Added file: http://bugs.python.org/file44949/issue26149.patch ___ Python tracker

[issue28288] Expose environment variable for Py_Py3kWarningFlag

2016-10-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the new patch. > I've uploaded the new patchset here. We don't directly upload patches to Rietveld so you did the right thing :) See https://docs.python.org/devguide/patch.html for details. Can you also add a note about this new variable to

[issue28318] Python unittest.mock.mock_calls stores references to arguments instead of their values

2016-10-03 Thread Vedran Čačić
Vedran Čačić added the comment: > # passes, even though we didn't make the exact same call twice! Weird. It looks like a matter of perspective, but to me it surely _does_ seem like you _did_ make the exact same call twice. > test_function(arg) > test_function(arg) Neither test_function nor

[issue26149] Suggest PyCharm Community as an editor for Unix platforms

2016-10-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: ping :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28348] Doc typo in asyncio.Task

2016-10-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: fixed the typo as reported. -- keywords: +patch Added file: http://bugs.python.org/file44948/issue28348.patch ___ Python tracker

[issue19398] test_trace fails with -S

2016-10-03 Thread Tim Smith
Changes by Tim Smith : -- nosy: +tdsmith versions: +Python 2.7 ___ Python tracker ___

[issue28352] winfo_pathname(..) | window id "xyz" doesn't exist in this application. | Python 3.4.4

2016-10-03 Thread Zachary Ware
Zachary Ware added the comment: Can you provide a minimal example to reproduce the issue with Python 3.5.2 or 3.6b1 (3.4 is no longer receiving bug fixes)? Also, what OS are you on, and if not Windows, what version of Tcl/Tk are you using? -- nosy: +zach.ware

[issue28352] winfo_pathname(..) | window id "xyz" doesn't exist in this application. | Python 3.4.4

2016-10-03 Thread Tyler Sweeden
New submission from Tyler Sweeden: This issue presents itself in 3.4.4.. Reverted back to 3.4.1 and the issue was gone. -- components: Tkinter messages: 278004 nosy: Tyler Sweeden priority: normal severity: normal status: open title: winfo_pathname(..) | window id "xyz" doesn't exist

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-10-03 Thread karl
karl added the comment: @ezio.melotti What is the next step for getting the patch accepted. -- nosy: +karlcow ___ Python tracker ___

[issue28338] test_pdb doctests have been removed from its test suite

2016-10-03 Thread Łukasz Langa
Łukasz Langa added the comment: Uh oh. Sorry for the mess! If this is any consolation, that was in the heat of the sprint. Thank you for cleaning it up. -- ___ Python tracker

[issue26240] Docstring of the subprocess module should be cleaned up

2016-10-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- nosy: +Mariatta ___ Python tracker ___ ___

[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Alexander Mohr
Alexander Mohr added the comment: I'm sure it would work, I just wanted a solution that didn't changes to our build infrastructure. btw if we're marking this as a duplicate of the other bug, can we update the other bug to say it affects python3.x as well? Thanks! -- status: pending

[issue28130] Document that time.tzset updates time module globals

2016-10-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- nosy: +Mariatta ___ Python tracker ___ ___

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2016-10-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue28288] Expose environment variable for Py_Py3kWarningFlag

2016-10-03 Thread Roy Williams
Roy Williams added the comment: Thanks for the feedback Berker. I addressed your feedback, but unfortunately I get a 500 from Rietveld when I try to attach a new patchset. I've uploaded the new patchset here. -- ___ Python tracker

[issue28288] Expose environment variable for Py_Py3kWarningFlag

2016-10-03 Thread Roy Williams
Changes by Roy Williams : Added file: http://bugs.python.org/file44947/pythonenable3kwarningsflag.patch ___ Python tracker ___

[issue28111] geometric_mean can raise OverflowError for large input length

2016-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: Whoops; that patch was incomplete (it was missing the change to the geometric_mean function itself). Here's an updated patch. -- Added file: http://bugs.python.org/file44946/geometric_mean_long_input_v2.py ___

[issue28259] Ctypes bug windows

2016-10-03 Thread Eryk Sun
Eryk Sun added the comment: If you want a resolution to this issue, then you need to provide a minimal example that reproduces the problem. It would also be helpful if you could provide a download link for the library that you're wrapping. If not, at least upload a dump file, preferably from

[issue28351] statistics.geometric_mean can enter infinite loop for Decimal inputs

2016-10-03 Thread Mark Dickinson
Changes by Mark Dickinson : -- title: statistics.geometric_mean enters infinite loop for Decimal inputs -> statistics.geometric_mean can enter infinite loop for Decimal inputs ___ Python tracker

[issue28350] Interning string constants with null character

2016-10-03 Thread STINNER Victor
STINNER Victor added the comment: all_name_chars.patch LGTM. -- nosy: +haypo ___ Python tracker ___ ___

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2016-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: One more geometric_mean issue (the current code can enter an infinite loop for Decimal inputs): #28351. Steve, I really think we should postpone to 3.7. I'm very happy to help out with all the necessary fixes, tests and review, but I'm not going to have time

[issue28351] statistics.geometric_mean enters infinite loop for Decimal inputs

2016-10-03 Thread Mark Dickinson
New submission from Mark Dickinson: On my machine, the following code enters an infinite loop: Python 3.7.0a0 (default:14c52bb996be, Oct 3 2016, 20:20:58) [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.

[issue28350] Interning string constants with null character

2016-10-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently string constants are interned if they consist of ASCII word characters ([0-9A-Za-z_]). But strings are tested only to the first null character. This is not problem for names, since they can't include null characters, but string constants that

[issue28111] geometric_mean can raise OverflowError for large input length

2016-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: And here's the actual patch. :-) -- Added file: http://bugs.python.org/file44944/geometric_mean_long_input.py ___ Python tracker

[issue28111] geometric_mean can raise OverflowError for large input length

2016-10-03 Thread Mark Dickinson
Changes by Mark Dickinson : -- versions: +Python 3.7 ___ Python tracker ___ ___

[issue28111] geometric_mean can raise OverflowError for large input length

2016-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: The attached patch provides a fix, and is based partly on Tim Peters' suggestions and code from the issue 27761 discussion. It needs tests. For convenience, it includes the fix for #28327, since it needs the `_frexp_gen` function added there. --

[issue28335] Exception reporting in `logging.config`

2016-10-03 Thread Ram Rachum
Ram Rachum added the comment: Thanks for the quick fix Vinay! -- ___ Python tracker ___ ___ Python-bugs-list

[issue28259] Ctypes bug windows

2016-10-03 Thread Aristotel
Aristotel added the comment: CDLL. I didn't test it on Python 3.5.2, 3.3 - 3.4 only. And btw my OS is windows 7. Lib is also used by some apps (not Python apps) and there this function works well. -- ___ Python tracker

[issue28335] Exception reporting in `logging.config`

2016-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c005be54305 by Vinay Sajip in branch 'default': Issue #28335: made minor improvement to implementation. https://hg.python.org/cpython/rev/8c005be54305 -- ___ Python tracker

[issue2897] Deprecate structmember.h

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Changed the title to reflect the way forward and added affected versions to remember to update the documentation. See #28349 and #24065 for details. -- assignee: -> docs@python components: +Documentation nosy: +docs@python title: include

[issue28335] Exception reporting in `logging.config`

2016-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69bf09bf4952 by Vinay Sajip in branch 'default': Closes #28335: used 'raise from' in logging configuration code. https://hg.python.org/cpython/rev/69bf09bf4952 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open ->

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +Issues with PyMemberDef flags, Outdated *_RESTRICTED flags in structmember.h ___ Python tracker

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And please don't miss to fix the documentation in 2.7 and 3.5-3.6. -- ___ Python tracker ___

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PY_T_PY_SSIZE_T is not much readable than PY_T_PYSSIZET. I think it can be just PY_T_SSIZE. -- ___ Python tracker ___

[issue24065] Outdated *_RESTRICTED flags in structmember.h

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See #2897 for a plan to deperecate Include/structmember.h. -- nosy: +belopolsky resolution: -> duplicate status: open -> closed superseder: -> include structmember.h in Python.h ___ Python tracker

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: There is also #24065 ("Outdated *_RESTRICTED flags in structmember.h") which I think should be folded into #2897. -- ___ Python tracker

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah this is a duplicate of issue24065! -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: include structmember.h in Python.h -> Outdated *_RESTRICTED flags in structmember.h

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As explained in #24065, READ_RESTRICTED, PY_WRITE_RESTRICTED and RESTRICTED flags were used for "restricted mode" in Python 2. I don't think we would want to preserve these as we move the rest to object.h. --

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Serhiy, while I see that you've raised some additional issues here, let's keep the discussion related to Include/structmember.h in one place. I would not mind adding additional affected versions there. -- nosy: +belopolsky

[issue28335] Exception reporting in `logging.config`

2016-10-03 Thread Vinay Sajip
Vinay Sajip added the comment: Patch as posted will not work (contains a syntax error), and was thus never tested. Never mind, I will address this soon. -- assignee: -> vinay.sajip ___ Python tracker

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We still should correct the documentation in 2.7 and 3.x. -- resolution: duplicate -> stage: resolved -> needs patch status: closed -> open ___ Python tracker

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please don't forget to use "hg copy" for creating object.h from structmember.h. This preserves the history. structmember.h should be implemented using object.h. Include object.h and add aliases. Only READONLY flag is used in 3.x (issue28349). Other flags

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> include structmember.h in Python.h ___ Python tracker

[issue28318] Python unittest.mock.mock_calls stores references to arguments instead of their values

2016-10-03 Thread Guillaume Chorn
Guillaume Chorn added the comment: If it's true that our ability to accurately deep-copy mutable args makes fixing this behavior impossible, we should at the very least update the official unittest.mock documentation to warn users that testing for mock calls with mutable arguments is not

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would also like this opportunity to rename T_PYSSIZET to something more readable: maybe PY_T_PY_SSIZE_T or PY_T_SSIZE_T. -- ___ Python tracker

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The latter issue is a duplicate of issue2897. -- ___ Python tracker ___

[issue28349] Issues with PyMemberDef flags

2016-10-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: As documented in Doc/extending/newtypes.rst, the flags field of PyMemberDef must be bitwise-or-ed combination of flag constants READONLY, READ_RESTRICTED, WRITE_RESTRICTED and RESTRICTED. There are problems with this: 1. Actually WRITE_RESTRICTED was

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a patch that implements steps 1 and 2 of Martin's plan. There are over 50 files that include structmember.h. I am not sure it is worth the trouble to update all those files before structmember.h is actually removed. If we agree that

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2016-10-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Ned Deily
Ned Deily added the comment: Glad you have it working. Did you try the suggested workaround of setting environment variable "no_proxy" to "*"? I believe that should have had the same net effect as the monkey patching. -- status: open -> pending

[issue20491] textwrap: Non-breaking space not honored

2016-10-03 Thread Johannes Bauer
Johannes Bauer added the comment: Hey there, wanted to follow up on the state of this... is there a reason why this has not made it into vanilla yet? If so, I'd like to try to help out clear impediments if I can. This issue is *really*, really, really annoying me. I've posted about a year

[issue2897] include structmember.h in Python.h

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +skip.montanaro versions: +Python 3.7 -Python 3.4 ___ Python tracker ___

[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Alexander Mohr
Alexander Mohr added the comment: ya I did a monkey patch which resolved it. if sys.platform == 'darwin': import botocore.vendored.requests.utils, urllib.request botocore.vendored.requests.utils.proxy_bypass = urllib.request.proxy_bypass_environment

[issue28128] Improve the warning message for invalid escape sequences

2016-10-03 Thread Nick Coghlan
Nick Coghlan added the comment: Eric's basic approach sounds fine to me, as it gets the traceback in the right place (i.e. blaming the code being compiled, not the code doing the import). For beta 2, how about we just go with a plain SyntaxWarning? Since users running pre-compiled modules

[issue28128] Improve the warning message for invalid escape sequences

2016-10-03 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___

[issue28286] gzip guessing of mode is ambiguous

2016-10-03 Thread Jim Jewett
Changes by Jim Jewett : -- title: gzip guessing of mode is ambiguilous -> gzip guessing of mode is ambiguous ___ Python tracker

[issue28348] Doc typo in asyncio.Task

2016-10-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for the report. Seems like easy fix :) I'll work on a patch for this today. -- nosy: +Mariatta ___ Python tracker

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2016-10-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would like to revisit this for 3.7. -- keywords: -needs review, patch priority: low -> normal resolution: rejected -> stage: commit review -> needs patch status: closed -> open versions: +Python 3.7 -Python 3.2

[issue28218] Windows docs have wrong versionadded description

2016-10-03 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: -> patch review versions: +Python 3.7 -Python 3.4 ___ Python tracker ___

[issue5907] repr of time.struct_time type does not eval

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- priority: low -> normal versions: +Python 3.7 -Python 3.3 ___ Python tracker ___

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2016-10-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: needs patch -> patch review versions: +Python 3.7 -Python 3.5 ___ Python tracker

[issue28218] Windows docs have wrong versionadded description

2016-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset de79cc895203 by Steve Dower in branch '3.6': Issue #28218: Fixes versionadded description in using/windows.rst https://hg.python.org/cpython/rev/de79cc895203 -- nosy: +python-dev ___ Python tracker

[issue28217] Add interactive console tests

2016-10-03 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue28217] Add interactive console tests

2016-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 363888141f41 by Steve Dower in branch '3.6': Issue #28217: Adds _testconsole module to test console input. Fixes some issues found by the tests. https://hg.python.org/cpython/rev/363888141f41 New changeset 3ec6a610e93e by Steve Dower in branch

[issue28251] Help manuals do not appear in Windows search

2016-10-03 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue28348] Doc typo in asyncio.Task

2016-10-03 Thread Poren Chiang
New submission from Poren Chiang: Version: Latest (v3.5.2) Affected module: asyncio (section 18.5) Problem: Under section 18.5.3.5. "Task", The word "completion" is misspelled "completition". > A task is responsible for executing a coroutine object in an event loop. If > the wrapped

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2016-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: I have merged the upstream fix (and some other things) into 3.5, 3.6, 3.7. changeset: 104262:7f0d27180b6d tag: tip parent: 104259:36b052adf5a7 parent: 104261:0e0189b47291 user:Guido van Rossum date:Mon

[issue21124] _struct module compilation error under Cygwin 1.7.17 on Python 3.4

2016-10-03 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: unpack_iterator type has not been registered into _struct module. And all users get only unpack_iterator object from function returning iterator. The object iterating doesn't need reference to type. Therefore, I think issue finish by PyType_Ready fix

[issue28329] Add support for customizing scheduler's timefunc and delayfunc using subclassing

2016-10-03 Thread Raymond Hettinger
New submission from Raymond Hettinger: Why do you need a second way to do it? Is there any use case not handled by the current API? -- nosy: +rhettinger ___ Python tracker

[issue28259] Ctypes bug windows

2016-10-03 Thread Eryk Sun
Eryk Sun added the comment: Since this is 32-bit, are you using CDLL (cdecl) or WinDLL (stdcall)? Either way, I made a simple test for the given function prototype, and it worked fine in 32-bit 3.5.2 on Windows 10 for both calling conventions. You'll have to provide a minimal example that

[issue28329] Add support for customizing scheduler's timefunc and delayfunc using subclassing

2016-10-03 Thread Satoru Logic
Changes by Satoru Logic : Added file: http://bugs.python.org/file44942/overridable_time_delay_v2.patch ___ Python tracker ___

[issue28344] Python 3.5.2 installer hangs when run in session 0

2016-10-03 Thread spooja
spooja added the comment: Thank you for the link, yes am running in session 0 via the task scheduler. -- ___ Python tracker ___

[issue28344] Python 3.5.2 installer hangs when run in session 0

2016-10-03 Thread Eryk Sun
Eryk Sun added the comment: For some reason you're trying to schedule the installer to run in session 0. I thought you were running python.exe in session 0 via the task scheduler, which would hang in the REPL [1]. [1]: https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop

[issue28088] Document Transport.set_protocol and get_protocol

2016-10-03 Thread INADA Naoki
INADA Naoki added the comment: lgtm. But I think adding note like following may be helpful to avoid users try switching protocols which protocol author doesn't expect. (I'm not good English writer. I hope someone polish my sentence). .. note:: Generally speaking, switching protocols

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2016-10-03 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I have submitted a PR with one of the quick fixes upstream (to python/typing). Also I have played a bit with a more permanent fix. Here is an important observation: it is not easy to avoid adding parameterized generics to __subclasses__. For example,

[issue26617] Assertion failed in gc with __del__ and weakref

2016-10-03 Thread JIahua Guo
JIahua Guo added the comment: Hi asvetlov, debug mode of python interpreter should be enabled to reproduce this bug, cause assertion is disabled in release mode. (https://hg.python.org/cpython/file/104259/Modules/gcmodule.c#l365) One environment that can reproduce this bug: $ cat /etc/issue

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2016-10-03 Thread INADA Naoki
INADA Naoki added the comment: Attached patch fixes first two errors. Last one error is from test. I've commented it in review tool. -- Added file: http://bugs.python.org/file44941/geometric_mean.patch ___ Python tracker

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2016-10-03 Thread INADA Naoki
INADA Naoki added the comment: I run attached test, and saw following errors. On macOS 10.11 (XCode 8) $ hg summary parent: 104258:0d948a46c59a test_invalid_sequences seems don't have to stay in CAPITest. branch: 3.6 commit: 1 modified, 1 unknown update: (current) $ ./python.exe -m

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved ___ Python tracker ___ ___

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-03 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks, Ned. Unintuitive though it may be, that seems to have done the trick. -- ___ Python tracker ___

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10
lurker10 added the comment: This has to be it, thank you! I used github to get source. -- resolution: -> not a bug status: open -> closed ___ Python tracker

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread Berker Peksag
Berker Peksag added the comment: How did you get 3.7.0a1? I assumed you cloned it from hg.python.org. If you clone it from the GitHub mirror, you can use the trick mentioned at http://bugs.python.org/issue23404#msg275285 -- ___ Python tracker

[issue28344] Python 3.5.2 hangs when running in session 0

2016-10-03 Thread spooja
spooja added the comment: Sorry I did not understand your comment, what is REPL? I am not using any script just scheduling a task to run python using this command 'python-3.5.2-x86.exe' with /quiet option. Are u telling me to kill the 2nd process that is getting created by the installer and

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10
lurker10 added the comment: Ok, a new error when running make touch. Not a mercurial directory (no .hg found). I am not familiar with mercurial though, could be an easy fix. It happens for both 3.7.0a1 and for the current 3.6 branch. It's alright I'll just use the 3.6.0b1 from the official

[issue18235] _sysconfigdata.py wrong on AIX installations

2016-10-03 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: ...a long time since I've been in this area... David, I'm not completely sure which code fragments you're talking about for "revert or change". Anyway: If I remember correctly, the confusion here is about the idea behind LDSHARED and BLDSHARED. As far

[issue28344] Python 3.5.2 hangs when running in session 0

2016-10-03 Thread Eryk Sun
Eryk Sun added the comment: Are you running python.exe without a script or command? That runs the REPL in session 0, which will block reading from stdin. It's harmless to kill this process. The REPL could detect that it's running in session 0 and exit. However, I'm not in favor of such a

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread Berker Peksag
Berker Peksag added the comment: Running make distclean make touch should solve your problem. There isn't any significant change between 3.6.0b1 and 3.7.0a1 to cause build problems if I recall correctly. -- ___ Python tracker

[issue26617] Assertion failed in gc with __del__ and weakref

2016-10-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: I was unable to reproduce a crash but the patch looks straightforward and obvious. After applying test suite for aiohttp still works without problems at least. -- nosy: +asvetlov ___ Python tracker

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10
lurker10 added the comment: I am sorry, it's actually 3.7.0a1 I was trying to build that errors. 3.6.0b1 builds fine. -- ___ Python tracker ___

[issue28345] 8/3 is calculated incorrectly

2016-10-03 Thread Eryk Sun
Eryk Sun added the comment: A CPython float uses the platform's double-precision floating point. The significand of a double has 53 bits of precision, which is 15 decimal digits of precision. However, uniquely representing a double in decimal requires 17 digits, which is why the str and repr

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. I think you need to run "make touch". -- nosy: +berker.peksag ___ Python tracker ___

[issue28346] 3.6 source doesn't build on centos 6

2016-10-03 Thread lurker10
New submission from lurker10: Centos 6.7 Python 2.6.6 (default in Centos 6, no other python installed) GCC 4.4.7 # ./configure ... (no errors) # make python ./Tools/scripts/generate_opcode_h.py ./Lib/opcode.py ./Include/opcode.h /bin/mkdir -p Include python ./Parser/asdl_c.py -h Include

[issue27859] argparse - subparsers does not retain namespace

2016-10-03 Thread Nick Papior
Nick Papior added the comment: Sorry I haven't responded previously. Thanks a lot for helping me. I hadn't realized the `register` function. -- ___ Python tracker

[issue26617] Assertion failed in gc with __del__ and weakref

2016-10-03 Thread STINNER Victor
STINNER Victor added the comment: I don't think that the crash is a release blocker, but I just sent an email to python-dev to ask for reviews. -- nosy: +larry, ned.deily priority: normal -> release blocker ___ Python tracker

[issue26617] Assertion failed in gc with __del__ and weakref

2016-10-03 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-03 Thread Berker Peksag
Berker Peksag added the comment: (As a result of the discussion at http://psf.upfronthosting.co.za/roundup/meta/issue605, I started to re-triage all easy issues.) I don't think this is a suitable task for new contributors. It requires a) good HTML and CSS knowledge b) familiarity with pydoc

[issue28264] Turtle.onclick events blocked by Turtle.stamp

2016-10-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I understand now, you mean the printing of '* turtle click detected *' is suppressed by turning stamping on. It is slightly confusing that the effect of clicking the stamp box, to disable or re-enable, does not happen until after the

[issue28344] Python 3.5.2 hangs when running in session 0

2016-10-03 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue28345] 8/3 is calculated incorrectly

2016-10-03 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker ___ ___

  1   2   >