[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread miss-islington
miss-islington added the comment: New changeset 593af34e643220f40880e5dd0a8092a9ece70747 by Miss Islington (bot) in branch '3.7': bpo-35088: Update idlelib.help.copy_string docstring (GH-10164) https://github.com/python/cpython/commit/593af34e643220f40880e5dd0a8092a9ece70747 --

[issue35085] FileNotFoundError: [Errno 2] No such file or directory:

2018-10-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can see one another related report issue35084. As @steven.daprano said this is an expected traceback and it's working correctly. -d expects a valid base64 encoded file and supplying a non-existent file or file with invalid encoding is supposed

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread miss-islington
miss-islington added the comment: New changeset 09953141b9eb4c42fdf366d084f4f328ddbc0dc8 by Miss Islington (bot) in branch '3.6': bpo-35087: Update idlelib help files for the current doc build. (GH-10162) https://github.com/python/cpython/commit/09953141b9eb4c42fdf366d084f4f328ddbc0dc8

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread miss-islington
miss-islington added the comment: New changeset 2d3b7a99635b10873fdd6da01dcb7cfb33837633 by Miss Islington (bot) in branch '3.7': bpo-35087: Update idlelib help files for the current doc build. (GH-10162) https://github.com/python/cpython/commit/2d3b7a99635b10873fdd6da01dcb7cfb33837633

[issue35084] binascii.Error: Incorrect padding

2018-10-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please attach the file test.code1? Your original report says "test.code1" is not base64 encoded and -d takes a file that is base64 encoded and decodes it. Can you please be more descriptive about what you are

[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9491 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2b555fc1f07bee8b066a6d7da727e516f37e8e34 by Terry Jan Reedy in branch 'master': bpo-35088: Update idlelib.help.copy_string docstring (#10164) https://github.com/python/cpython/commit/2b555fc1f07bee8b066a6d7da727e516f37e8e34 --

[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9490 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9489 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9488 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset db40cb50eb823b8ef9040b1c9bf31a7475d94d39 by Terry Jan Reedy in branch 'master': bpo-35087: Update idlelib help files for the current doc build. (GH-10162) https://github.com/python/cpython/commit/db40cb50eb823b8ef9040b1c9bf31a7475d94d39

[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +9487 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35088] Update idlelib.help.copy_string docstring

2018-10-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : The current docstring still refers to hg and forward merging. -- assignee: terry.reedy components: IDLE messages: 328671 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: Update idlelib.help.copy_string

[issue34160] ElementTree not preserving attribute order

2018-10-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +9486 stage: -> patch review ___ Python tracker ___ ___

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +9485 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35087] IDLE: update idlelib help files for current doc build

2018-10-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : https://docs.python.org/3.6/library/idle.html starts with '25.5 IDLE'. https://docs.python.org/3.7/library/idle.html starts with 'IDLE'. The chapter and sections numbers are gone. The current idlelib/help.html was copied (and stripped) from a

[issue35086] tkinter docs: errors in A Simple Hello World Program

2018-10-27 Thread Daniel Lovell
Change by Daniel Lovell : -- keywords: +patch pull_requests: +9484 stage: -> patch review ___ Python tracker ___ ___

[issue35086] tkinter docs: errors in A Simple Hello World Program

2018-10-27 Thread Daniel Lovell
New submission from Daniel Lovell : In the documentation for tkinter, "A Simple Hello World Program" Application class does not hold onto the master Tk() instance as a class attribute. This is a good practice, and newcomers to tkinter would likely have trouble closing the window without this

[issue35085] FileNotFoundError: [Errno 2] No such file or directory:

2018-10-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: What do you mean, a crash report? You get a traceback telling you the problem: the file is missing. What behaviour did you expect if you try to decode a non-existent file? Perhaps you meant to write: python3 -m base64 -t "12s345a2" I don't think this is

[issue14856] argparse: creating an already defined subparsers does not raises an exception

2018-10-27 Thread Braden Groom
Braden Groom added the comment: https://github.com/python/cpython/pull/10159 -- nosy: +bradengroom ___ Python tracker ___ ___

[issue14856] argparse: creating an already defined subparsers does not raises an exception

2018-10-27 Thread Braden Groom
Change by Braden Groom : -- pull_requests: +9481, 9482, 9483 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue14856] argparse: creating an already defined subparsers does not raises an exception

2018-10-27 Thread Braden Groom
Change by Braden Groom : -- pull_requests: +9481, 9482 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14856] argparse: creating an already defined subparsers does not raises an exception

2018-10-27 Thread Braden Groom
Change by Braden Groom : -- pull_requests: +9481 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34751] Hash collisions for tuples

2018-10-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35085] FileNotFoundError: [Errno 2] No such file or directory:

2018-10-27 Thread TestUser
New submission from TestUser : Seems the base64 module has issues with bad file(s). This does not seems to generate a Crash Report. t:~$ python3 -m base64 -d "12s345a2" Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__",

[issue34751] Hash collisions for tuples

2018-10-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset aeb1be5868623c9cd9cf6d7de3015a43fb005815 by Raymond Hettinger (jdemeyer) in branch 'master': bpo-34751: improved hash function for tuples (GH-9471) https://github.com/python/cpython/commit/aeb1be5868623c9cd9cf6d7de3015a43fb005815

[issue35084] binascii.Error: Incorrect padding

2018-10-27 Thread TestUser
New submission from TestUser : The below "test.code1" is not base64 encoded. Though, it is a good file. t:~$ python3 -m base64 -d test.code1 Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +9480 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-27 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___

[issue6717] Some problem with recursion handling

2018-10-27 Thread Lion Kimbro
Lion Kimbro added the comment: I confirm that dragbug.py (2009-08-17!) is failing for me, almost ten years later. I'm using Python 3.6.1/win32 on Windows 10. This is really disappointing, because I have students who I'm teaching Python to via turtle, and I like to show them Python working.

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, if you now think that we should try to fix _tkinter to actually support non-thread tcl builds, please review the two PRs on this issue. -- ___ Python tracker

[issue33944] Deprecate and remove pth files

2018-10-27 Thread Anthony Sottile
Change by Anthony Sottile : -- nosy: +Anthony Sottile ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-27 Thread miss-islington
miss-islington added the comment: New changeset e2cf819539c836b670bf2ea4dd3c72ee39e084f1 by Miss Islington (bot) in branch '3.7': bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095) https://github.com/python/cpython/commit/e2cf819539c836b670bf2ea4dd3c72ee39e084f1

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9479 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-27 Thread Steve Dower
Steve Dower added the comment: New changeset 53125a53f483db0af76249b6af6efcdc200eb421 by Steve Dower in branch 'master': bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095) https://github.com/python/cpython/commit/53125a53f483db0af76249b6af6efcdc200eb421 --

[issue34160] ElementTree not preserving attribute order

2018-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Okay, lets just remove sorting. The method for creating XML file in the minidom module also sorts attributes. It should be changed as well. XMLGenerator in xml.sax.saxutils doesn't sort attributes. -- ___

[issue35083] Fix documentation for __instancecheck__

2018-10-27 Thread Joy Diamond
New submission from Joy Diamond : This is a request to fix the documentation for __instancecheck__. Please add the following: """ (Note that any object `x` is always considered to be an instance of `type(x)`, and this cannot be overridden.) """ Consider the following program: class M(type):

[issue34160] ElementTree not preserving attribute order

2018-10-27 Thread Tal Einat
Tal Einat added the comment: There is also a middle ground: Keep .write() as it is *and* have .dump() preserve the order in which the parameters were supplied in the constructor. They could both use a common *internal* method with a flag to select the desired ordering. --

[issue34510] add HTTPConnection.settimeout()

2018-10-27 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I think this is useful since it also sets conn.timeout so that both conn.sock.gettimeout() and conn.timeout return same value with this helper and don't cause confusion like using conn.socket.settimeout() that updates socket but not

[issue35078] Allow customization of CSS class name of a month in calendar module

2018-10-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35078] Allow customization of CSS class name of a month in calendar module

2018-10-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, I have left a PR comment [0] to add the actual enhancement in the NEWS entry so that it's visible. The original issue title was "Allow customization of css class name of a month in calendar module" and @thatiparthy changed the issue

[issue35078] Refactor code in calendar.py module

2018-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I was fooled by misleading titles and news entry. Please change them. -- resolution: rejected -> stage: resolved -> patch review status: closed -> open ___ Python tracker

[issue35078] Refactor code in calendar.py module

2018-10-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Serhiy, this adds a change where month's name CSS class is now customizable in LocaleHTMLCalendar. It's currently hard-coded as "month" though HTMLCalendar is customizable. I suggested method reuse since LocaleHTMLCalendar from HTMLCalendar that

[issue33236] MagicMock().__iter__.return_value is different from MagicMock().__iter__()

2018-10-27 Thread Michael Foord
Michael Foord added the comment: This isn't a bug. This is the intended behaviour, otherwise MagicMock objects would error out on iteration. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue35078] Refactor code in calendar.py module

2018-10-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : We don't usually do pure refactoring changes. -- nosy: +serhiy.storchaka resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35047] Better error messages in unittest.mock

2018-10-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35082] Mock.__dir__ lists deleted attributes

2018-10-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35064] COUNT_ALLOCS build export inc_count() and dec_count() functions which don't have a "Py_" prefix

2018-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +9478 stage: -> patch review ___ Python tracker ___ ___

[issue34624] -W option and PYTHONWARNINGS env variable does not accept module regexes

2018-10-27 Thread Thomas Gläßle
Thomas Gläßle added the comment: Hi, thanks for the consideration! Is there any reason to introduce different behaviour than with filterwarnings here? This increases the number of things to remember - and except for the dot regex syntax doesn't interfere with module names, so there is no big

[issue33236] MagicMock().__iter__.return_value is different from MagicMock().__iter__()

2018-10-27 Thread Mario Corchero
Mario Corchero added the comment: iter is initialized by using side_effects, not return_value. The statement "According to the documentation .return_value should be identical to the object returned when calling the mock" works only when it return_value has been used to define the behaviour

[issue34624] -W option and PYTHONWARNINGS env variable does not accept module regexes

2018-10-27 Thread Ned Batchelder
Ned Batchelder added the comment: Another option is to make clear in the docs that the command line does not accept regular expressions, but only literal module names, and raise an error if a non-importable name (for example with asterisks in it) is specified. And while we are here: the

[issue34279] RFC: issue a warning in regrtest when no tests have been executed?

2018-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +9477 stage: -> patch review ___ Python tracker ___ ___

[issue35082] Mock.__dir__ lists deleted attributes

2018-10-27 Thread Mario Corchero
Change by Mario Corchero : -- keywords: +patch pull_requests: +9476 stage: -> patch review ___ Python tracker ___ ___

[issue35082] Mock.__dir__ lists deleted attributes

2018-10-27 Thread Mario Corchero
New submission from Mario Corchero : Calling dir on unittest.mock.Mock will return deleted attributes. This is a result of the way del is implemented in Mock, which just sets a sentinel in the child mocks, so an AttributeError is raised if the attribute is later accessed. We can just check

[issue34547] Wsgiref server does not handle closed connections gracefully

2018-10-27 Thread Petter S
Change by Petter S : -- pull_requests: +9475 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35078] Refactor code in calendar.py module

2018-10-27 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- title: Allow customization of css class name of a month in calendar module -> Refactor code in calendar.py module ___ Python tracker

[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__

2018-10-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35074] source install [3.7.1] on debian jessie

2018-10-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, I am closing it with duplicate as resolution adding the related ticket issue34112 as superseder. Thanks for the report! -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 3.7.0 build error with

[issue35074] source install [3.7.1] on debian jessie

2018-10-27 Thread Leo Li
Leo Li added the comment: Sure! Yes, Pls close it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: