[issue28353] os.fwalk() unhandled exception when error occurs accessing symbolic link target

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

[issue9850] obsolete macpath module dangerously broken and should be removed

2016-10-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: I'm just reading PEP-4 now for procedure of declaring a module deprecated. Should PEP-4 page be updated with the proposal / info for macpath deprecation? https://www.python.org/dev/peps/pep-0004/ Thanks. -- ___

[issue28362] Deprecation warning doesn't stand out enough

2016-10-04 Thread Mariatta Wijaya
New submission from Mariatta Wijaya: In documentation for python 3.3, the deprecation warning is rendered in a red box which is more eye-catching. eg https://docs.python.org/3.3/library/imp.html?highlight=imp#module-imp But since python 3.4 onwards, seems like the red box disappears and the

[issue28201] dict: perturb shift should be done when first conflict

2016-10-04 Thread INADA Naoki
INADA Naoki added the comment: Fixed conflict with current 3.6 branch, and added NEWS entry. -- Added file: http://bugs.python.org/file44966/dict-perturb-shift2.patch ___ Python tracker

[issue20491] textwrap: Non-breaking space not honored

2016-10-04 Thread R. David Murray
R. David Murray added the comment: It probably just got forgotten. If you want to help move it forward please do a review of the patch (see https://docs.python.org/devguide/tracker.html#reviewing-patches), including whether or not all outstanding review comments have been addressed, and post

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

2016-10-04 Thread George Fagin
George Fagin added the comment: Now you've got it. Clicking on the turtle results in an event message - at which point I spin the turtle and issue the message to make it clear that the message arrived. However, if you try doing that after a 'Turtle.stamp()' the message never comes. Issuing

[issue28222] test_distutils fails

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue13829] exception error in _scproxy.so when called after fork

2016-10-04 Thread Ned Deily
Changes by Ned Deily : -- priority: low -> normal stage: -> needs patch versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

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

2016-10-04 Thread Andre Roberge
Andre Roberge added the comment: When rhettinger created this issue, the goal was "Pydoc currently generated 1990's style html which mixes content and presentation, making it very difficult for users to customize the appearance of the output. ... Please convert it to simple, validated HTML

[issue3119] pickle.py is limited by python's call stack

2016-10-04 Thread Aaron Gallagher
Changes by Aaron Gallagher <_...@habnab.it>: -- nosy: -habnabit ___ Python tracker ___ ___ Python-bugs-list

[issue17188] Document 'from None' in raise statement doc.

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

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Michael Felt added the comment: I have spent the last two hours trying to run the test - however, it fails with: root@x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes]../../python util.py Traceback (most recent call last): File "util.py", line 102, in import ctypes._aix as aix File

[issue3119] pickle.py is limited by python's call stack

2016-10-04 Thread Aaron Gallagher
Aaron Gallagher added the comment: Definitely not interested in pickle at all anymore. -- ___ Python tracker ___

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

2016-10-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for the update, Berker. Would you be able to remove the 'easy' keyword from this ticket? I'll keep myself in the nosy list as I'm interested to learn about this anyway :) -- ___ Python tracker

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Michael Felt added the comment: Have a way to have both 64-bit and 32-bit modes working. root@x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes]../../python `pwd`/util.py m :: None c :: libc.a(shr_64.o) bz2 :: libbz2.a(libbz2.so.1) crypt :: libcrypt.a(shr_64.o) crypto :: c

[issue28361] BETA report: Python3.6 names pip pip3.6 (and why is the other name pip3)

2016-10-04 Thread Zachary Ware
Zachary Ware added the comment: Pip is a third party project, so if you'd like to pursue this please open an issue on the pip issue tracker at https://github.com/pypa/pip/issues. Anyway, pip installs links named the way it does so that you can be (more) sure that you're invoking the correct

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

2016-10-04 Thread Ned Deily
Ned Deily added the comment: It is a bit confusing but, in general these days, you should always install the current command line tools specific to the version of the Mac operating system you are running. That ensures that not only are the necessary build tools installed but also that the

[issue27998] Remove support of bytes paths in os.scandir()

2016-10-04 Thread STINNER Victor
STINNER Victor added the comment: I suggest to modify posixmodule.c to support bytes on Windows at the C level. Since Windows uses utf8, there is no more real reason to drop bytes support only on Windows. -- ___ Python tracker

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Michael Felt added the comment: Curious. When in 32-bit mode changing line 15 of _aix.py to +14 import re, os, sys +15 # from . import util The Lib/ctypes/util.py works. In 64-bit mode it does not: instead: root@x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes]../../python util.py

[issue27998] Remove support of bytes paths in os.scandir()

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm confused by the current title of this issue. Should the support of bytes paths in os.scandir() be removed or preserved? In latter case we can remove workaround code from os and glob. -- ___ Python tracker

[issue28222] test_distutils fails

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa09ba71babb by Berker Peksag in branch '3.5': Issue #28222: Don't fail if pygments is not available https://hg.python.org/cpython/rev/fa09ba71babb New changeset d5eefcfa3458 by Berker Peksag in branch '3.6': Issue #28222: Merge from 3.5

[issue26491] Defer DECREFs until enum object is in a consistent state for re-entrancy

2016-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___

[issue28359] Spam

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> not a bug status: open -> closed title: Norton.Helpline +1-888-879-.0163 Norton Technical Support telePhone number Norton phone Number -> Spam ___ Python tracker

[issue28360] Spam

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- components: -Argument Clinic nosy: -goon369, larry resolution: -> not a bug status: open -> closed title: **<<<1^888`879~O163 Norton antivirus customer support phone number -> Spam versions: -Python 3.7

[issue28360] **<<<<<<<1^888`879~O163>>>>>>>> Norton antivirus customer support phone number

2016-10-04 Thread goon
New submission from goon: USA..1 888-879-0163++ Norton 360 support phone number om Norton tech support phone number Norton 360 Tech Support Number USA..1 888-879-0163++ Norton 360 support phone number om Norton tech support phone number Norton 360 Tech Support Number USAtralia USA-1

[issue28360] Spam

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg278065 ___ Python tracker ___

[issue28358] Spam

2016-10-04 Thread Zachary Ware
Changes by Zachary Ware : -- Removed message: http://bugs.python.org/msg278063 ___ Python tracker ___

[issue28359] Spam

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg278064 ___ Python tracker ___

[issue28321] Plistlib: Half of the double width characters are missing when writing binary plist

2016-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker

[issue28190] Detect curses headers correctly for cross-compiling

2016-10-04 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: test_curses has been skipped almost. the skip reason has been written "cygwin's curses mostly just hangs" in test case class. I removed the skip condition, and ran test. Tests was almost passed. The only, unget_wch was failed by edge case '\U0010',

[issue28259] Ctypes bug windows

2016-10-04 Thread Aristotel
Aristotel added the comment: Unfortunately in my case "minimal" example is extremely long. Do you really need it& -- versions: +Python 3.5 ___ Python tracker

[issue28348] Doc typo in asyncio.Task

2016-10-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue28348] Doc typo in asyncio.Task

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c8692da071a by Berker Peksag in branch '3.5': Issue #28348: Fix typo in asyncio.Task() documentation https://hg.python.org/cpython/rev/8c8692da071a New changeset 99c37fa72b66 by Berker Peksag in branch '3.6': Issue #28348: Merge from 3.5

[issue25783] test_traceback.test_walk_stack() fails when run directly (without regrtest)

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27181] Add geometric mean to `statistics` module

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset de0fa478c22e by Steven D'Aprano in branch '3.6': Issue #27181 remove geometric_mean and defer for 3.7. https://hg.python.org/cpython/rev/de0fa478c22e -- ___ Python tracker

[issue26293] Embedded zipfile fields dependent on absolute position

2016-10-04 Thread spoo
spoo added the comment: I confirmed this fixes the issue loading zips on an iPad. -- ___ Python tracker ___

[issue28321] Plistlib: Half of the double width characters are missing when writing binary plist

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 381ef0f08f89 by Serhiy Storchaka in branch '3.5': Issue #28321: Fixed writing non-BMP characters with binary format in plistlib. https://hg.python.org/cpython/rev/381ef0f08f89 New changeset 3a7234d04fe9 by Serhiy Storchaka in branch '3.6': Issue

[issue28358] Spam

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- components: -Argument Clinic nosy: -goon369, larry resolution: -> not a bug status: open -> closed title: cakekup...@gmail.com -> Spam type: behavior -> versions: -Python 3.7 ___ Python

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Michael Felt added the comment: On 01-Oct-16 08:44, Martin Panter wrote: > Martin Panter added the comment: > > Hi Michael, I have done some cleanup and modifications to your patch. The > result is in aix-library.161001.patch, which has all the changes, i.e. it is > not based on another patch.

[issue28255] TextCalendar.prweek/month/year outputs an extra whitespace character

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It looks to me that only prmonth() should be changed. prweek() and pryear() either match the behavior of PYthon 2 or are the good approximation of it. -- ___ Python tracker

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

2016-10-04 Thread Ned Deily
Ned Deily added the comment: OK, I'm closing this a duplicate and I've updated #13829 to include currently 3.x versions. -- components: +Macintosh nosy: +ronaldoussoren stage: -> resolved status: open -> closed ___ Python tracker

[issue28359] Norton.Helpline +1-888-879-.0163 Norton Technical Support telePhone number Norton phone Number

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- components: -asyncio nosy: -goon369, gvanrossum, yselivanov type: crash -> versions: -Python 3.7 ___ Python tracker

[issue28229] lzma does not support pathlib

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue3119] pickle.py is limited by python's call stack

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be nice to support unlimitedly nested structures. C stack is more hard limit than Python stack. But the code of the pickle module (especially C implementation) is complicated and hardly optimized. I think it would be not easy to implement stackless

[issue3119] pickle.py is limited by python's call stack

2016-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> low stage: patch review -> needs patch ___ Python tracker ___

[issue27998] Remove support of bytes paths in os.scandir()

2016-10-04 Thread Guido van Rossum
Guido van Rossum added the comment: It went back and forth. The current feeling is to *keep* that support, especially since their deprecation on Windows has been *undone* in 3.6. Feel free to update the title (though the initial comments may be harder to understand without the context of the

[issue28321] Plistlib: Half of the double width characters are missing when writing binary plist

2016-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: -Python 2.7 ___ Python tracker ___

[issue28358] cakekup...@gmail.com

2016-10-04 Thread goon
New submission from goon: calli norton support 1-888-879-0163 phone number norton antivirus support customer dot support phone number usa calli norton support 1-888-879-0163 phone number norton antivirus support customer dot support phone number usa calli norton support

[issue28229] lzma does not support pathlib

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b512780c6589 by Berker Peksag in branch '3.6': Issue #28229: lzma module now supports pathlib https://hg.python.org/cpython/rev/b512780c6589 New changeset de398937653b by Berker Peksag in branch 'default': Issue #28229: Merge from 3.6

[issue28361] BETA report: Python3.6 names pip pip3.6 (and why is the other name pip3)

2016-10-04 Thread Michael Felt
New submission from Michael Felt: a) pip is embedded in Python for some time. b) pip is called pip3.5 (with link to pip3) c) in Python3.6 pip is now called pip3.6 and linked to pip3 pip is pip - not pip3* because python is now called python3* pip is pip - currently version 8.1.2 - what does

[issue28276] test_loading.py - false positive result for "def test_find" when find_library() is not functional or the (shared) library does not exist

2016-10-04 Thread Michael Felt
Michael Felt added the comment: On 01-Oct-16 05:57, Martin Panter wrote: > Martin Panter added the comment: > > Other tests in this file skip the test if libc_name is None. So I think it > would make more sense to skip the test rather than fail in test_find(). I.e. > > if not found: >

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Michael Felt added the comment: Besides correcting a small error, also my attempt to follow the guidelines to not import *, but to actually specify all bits that are to be imported. This is a patch compered to Python-3.6b1 -- hgrepos: +359 Added file:

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-10-04 Thread Michael Felt
Changes by Michael Felt : Added file: http://bugs.python.org/file44962/aix-modules.161004.patch ___ Python tracker ___

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

2016-10-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hi Andre, You can subscribe to the core mentorship mailing list here: https://mail.python.org/mailman/listinfo/core-mentorship Once you subscribed, you'll get access to the said discussion :) It is not required, but it's a great place to ask questions or

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : -- nosy: +jaysinh.shukla ___ Python tracker ___ ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : -- hgrepos: -358 ___ Python tracker ___ ___ Python-bugs-list

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44953/Doc_library_ctypes_rst_version_3_5.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : -- hgrepos: +358 Added file: http://bugs.python.org/file44952/Doc_library_ctypes_rst_version_2_7.diff ___ Python tracker

[issue28354] DeprecationWarning not reported for invalid escape sequences

2016-10-04 Thread Sergey B Kirpichev
New submission from Sergey B Kirpichev: We know from release notes, that "A backslash-character pair that is not a valid escape sequence now generates a DeprecationWarning". Sometimes it's true: $ python -W error Python 3.6.0b1+ (default, Oct 4 2016, 08:47:51) [GCC 4.9.2] on linux Type

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Jaysinh shukla added the comment: According to this email, conversation with Terry, https://mail.python.org/mailman/private/core-mentorship/2016-October/003662.html adding patch for `Doc/library/ctypes.rst` -- hgrepos: +357 Added file:

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : -- hgrepos: -357 ___ Python tracker ___ ___ Python-bugs-list

[issue28354] DeprecationWarning not reported for invalid escape sequences

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue28128. A warning should be emitted when you compile the code, but it shouldn't be emitted when you import compiled module. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: ->

[issue28353] os.fwalk() unhandled exception when error occurs accessing symbolic link target

2016-10-04 Thread Samson Lee
Samson Lee added the comment: Sorry, the target file needs to be in a directory you don't have permission to access: $ mkdir handsoff $ sudo chown root:root handsoff $ sudo chmod 700 handsoff $ ln -s handsoff/anything blah -- ___

[issue28353] os.fwalk() unhandled exception when error occurs accessing symbolic link target

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't reproduce the issue. $ mkdir testdir $ touch testdir/handsoff $ sudo chown root:root testdir/handsoff $ sudo chmod 700 testdir/handsoff $ ln -s handsoff testdir/blah $ python3.5 >>> import os >>> list(os.walk('testdir')) [('testdir', [], ['handsoff',

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44957/other_rst_version_3_5.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44954/Doc_library_ctypes_rst_version_3_6.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44958/other_rst_version_3_6.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44956/other_rst_version_2_7.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44955/other_rst_default.diff ___ Python tracker ___

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

2016-10-04 Thread Michael Foord
Michael Foord added the comment: This is a deliberate design decision of mock. Storing references works better for the more general case, with the trade-off being that it doesn't work so well for mutable arguments. See the note in the docs with a workaround:

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

2016-10-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Steve, I really think we should postpone to 3.7. [...] If these fixes have to be in by the next beta (10th Oct), I fear that you are right. I can build up to changeset 103135:8b74e5528f35, but not beyond. I will be able to rectify that, but realistically

[issue28229] lzma does not support pathlib

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: -> berker.peksag nosy: +serhiy.storchaka stage: patch review -> commit review ___ Python tracker

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-04 Thread Jaysinh shukla
Jaysinh shukla added the comment: @Treyy: I have uploaded patches according to your comment at Core mentorship here (https://mail.python.org/mailman/private/core-mentorship/2016-October/003662.html) `Since I applied the patch, I can say in in this particular case, re-open, preferably with

[issue28356] os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread stephan
New submission from stephan: Hi, I am just migrating my code from python 2.7.12 to 3.5.2 on Windows and stumbled on the following difference: In python 2.7.12: os.rename(filepath1, filepath2) works even if filepath1 and filepath2 are on different drives (or one on a local drive, the

[issue14438] _cursesmodule build fails on cygwin

2016-10-04 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: I don't agree with #14438 patch to apply branch. this is quickfix for just Cygwin. I think that curses library should be chosen using configure script. Erik, How about patch for #14598 or #28190? I prefer #28190 because better header is chosen using

[issue14438] _cursesmodule build fails on cygwin

2016-10-04 Thread Erik Bray
Erik Bray added the comment: I see what you're saying--thanks for pointing out those other tickets. I'll give #28190 a try first. -- ___ Python tracker

[issue15393] JSONDecoder.raw_decode breaks on leading whitespace

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

[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-10-04 Thread INADA Naoki
INADA Naoki added the comment: I've fixed dict support of python-gdb.py. But I found py-bt and py-bt-full are broken. They doesn't show builtin method. I think it's because FASTCALL. But I'm not sure. I just skip the test for py-bt in attached patch. -- assignee: -> inada.naoki

[issue13756] Python3.2.2 make fail on cygwin

2016-10-04 Thread Erik Bray
Erik Bray added the comment: FWIW, even with this patch and --without-threads Python does *not* build successfully on Cygwin64 (which is all I'm really interested in personally), though it does succeed on 32-bit Cygwin. This has two related reasons: 1) The build of Python's bundled libffi

[issue14438] _cursesmodule build fails on cygwin

2016-10-04 Thread Erik Bray
Erik Bray added the comment: I think it would still be worth including this patch in Python. It wouldn't be the only condition in py_curses.h for platform-specific oddities with ncurses. This patch is still needed for the _curses module to build on Cygwin. -- nosy: +erik.bray

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

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +steven.daprano ___ Python tracker ___ ___

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

2016-10-04 Thread Jaysinh shukla
Jaysinh shukla added the comment: Adding documentation patch on given `overridable_time_delay_v2.patch` for `default`. -- nosy: +jaysinh.shukla Added file: http://bugs.python.org/file44960/doc_patch_version_default.diff ___ Python tracker

[issue11664] Add patch method to unittest.TestCase

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

[issue21085] Cygwin does not provide siginfo_t.si_band

2016-10-04 Thread Erik Bray
Erik Bray added the comment: Thanks for the merge--targeting 3.7 for now and thinking about backporting later sounds fine to me. I'm also in the process of getting a Cygwin buildbot for Python up and running, but it's been slow going. That said, having a Cygwin buildbot is also high

[issue2897] Deprecate structmember.h

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review ___ Python tracker ___

[issue28355] wsgiref simple_server PATH_INFO treats slashes and %2F the same

2016-10-04 Thread Tobias Dammers
New submission from Tobias Dammers: The WSGI reference implementation does not provide any means for application code to distinguish between the following request lines: GET /foo/bar HTTP/1.1 GET /foo%2Fbar HTTP/1.1 Now, the relevant RFC-1945 (https://tools.ietf.org/html/rfc1945#section-3.2)

[issue24065] Outdated *_RESTRICTED flags in structmember.h

2016-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___

[issue21085] Cygwin does not provide siginfo_t.si_band

2016-10-04 Thread Zachary Ware
Zachary Ware added the comment: When you're ready to get your bot set up, ping me and I'll get you set up on the master side. Thanks! -- ___ Python tracker

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread STINNER Victor
STINNER Victor added the comment: On Python 3 on Windows, os.rename() is implemented as MoveFileExW() with flags=0. The doc says: "When moving a file, the destination can be on a different file system or volume. If the destination is on another drive, you must set the MOVEFILE_COPY_ALLOWED

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread Eryk Sun
Eryk Sun added the comment: 3.3 added os.replace, which on Windows entailed a switch from calling MoveFile to MoveFileEx in order to specify the MOVEFILE_REPLACE_EXISTING flag. However, not passing the MOVEFILE_COPY_ALLOWED broke compatibility with os.rename on Windows for versions prior to

[issue28350] Interning string constants with null character

2016-10-04 Thread STINNER Victor
STINNER Victor added the comment: I have no opinion on interning non-ASCII strings. -- ___ Python tracker ___

[issue13756] Python3.2.2 make fail on cygwin

2016-10-04 Thread Zachary Ware
Zachary Ware added the comment: Hmm, Cygwin64 is what I built on (successfully). _ctypes does not build, but that's due to not having any libffi available at all: the bundled copy is no longer included in 3.7, and I didn't install a system copy. I view ctypes support as a fairly

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread stephan
stephan added the comment: Hi, I tryed os.replace() as replacement for os.rename() too, but as you said it does not work if the files are on different drives. For now I switched to shutil.move() but I suppose its not as performant/optimal as an "move" or "rename" directly supported by the OS.

[issue14438] _cursesmodule build fails on cygwin

2016-10-04 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: My patch at issue28190 solves a different problem. IMO the correct way to go for this issue is issue25720. By the way, this problem affects more than Cygwin. (issue14598) -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue28350] Interning string constants with null character

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor. -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread STINNER Victor
STINNER Victor added the comment: Ah, on Linux rename() also fails if src and dst are on two different filesystems: OSError: [Errno 18] Invalid cross-device link. By the way, the Python document doesn't say anything about operation on two different filesystems :-/

[issue28353] os.fwalk() unhandled exception when error occurs accessing symbolic link target

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, there is a difference between os.walk() and os.fwalk() in some cases. I don't know whether it was introduced deliberately or by accident. os.fwalk() was added in issue13734, FileNotFoundError is used since issue14773. -- nosy: +hynek, loewis,

[issue20491] textwrap: Non-breaking space not honored

2016-10-04 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4 ___ Python tracker ___

[issue28288] Expose environment variable for Py_Py3kWarningFlag

2016-10-04 Thread Roy Williams
Roy Williams added the comment: Thanks for the feedback Berker! This is my first CPython patch :D. Added in a note in pyporting. I actually did a much more detailed write up here https://gist.github.com/rowillia/c0feed97c1863b2d8e5a3ed73712df65, but it seems a bit verbose for this document.

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

2016-10-04 Thread R. David Murray
R. David Murray added the comment: I've removed the easy tag. (Aside for those who can do the operation: to remove all tags from an issue one must select '-no selection-'; just ctrl-clicking the last tag to remove its highlight doesn't work...or at least that's what I remember, I didn't

  1   2   >