[issue41405] python 3.9.0b5 test

2020-07-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems they were two tests were reported individually : test_curses - https://bugs.python.org/issue36630 test_tk - https://bugs.python.org/issue41306 Please also include the output of /opt/python/3.9.0/bin/python3 -m test.pythoninfo --

[issue41403] Uncaught AttributeError in unittest.mock._get_target

2020-07-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, mariocj89, michael.foord, xtreak ___ Python tracker ___ ___ Python-bugs-list

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread Inada Naoki
Inada Naoki added the comment: New changeset 5798f787779006a94a55ec74a86da4627de90146 by wasiher in branch 'master': bpo-41340: Removed fallback implementation for strdup (GH-21634) https://github.com/python/cpython/commit/5798f787779006a94a55ec74a86da4627de90146 --

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2020-07-26 Thread hudelgado
hudelgado added the comment: I took a look at it and have a some more questions. The class MacOSX(BaseBrowser) seems to be broken because it uses 'OpenUrl' which doesn't work in most recent versions of applescript, also that class doesn't seem to be used anywhere, is it ok to remove it, or

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for reporting this. In the future, you can suggest a fix on the issue, without a PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8b052751d32c43540e2786ce0b3f7e4b4d0ae161 by Miss Islington (bot) in branch '3.9': bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) https://github.com/python/cpython/commit/8b052751d32c43540e2786ce0b3f7e4b4d0ae161 --

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 104adedf641dc686069a20ae1a05c821b56e4aa4 by Miss Islington (bot) in branch '3.8': bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) https://github.com/python/cpython/commit/104adedf641dc686069a20ae1a05c821b56e4aa4 --

[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-07-26 Thread Zackery Spytz
Zackery Spytz added the comment: I have created PR 21633 to add these macros. Please consider taking a look. -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread fj92f3jj923f923
fj92f3jj923f923 added the comment: Created a new PR for removal of strdup (Hope it is correct) https://github.com/python/cpython/pull/21634 Closed old one -- ___ Python tracker

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +20778 pull_request: https://github.com/python/cpython/pull/21636 ___ Python tracker ___

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20777 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21635 ___ Python tracker

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f1d40f941a6483b1d4ea10f1051ace7b426fb8e7 by Akuli in branch 'master': bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) https://github.com/python/cpython/commit/f1d40f941a6483b1d4ea10f1051ace7b426fb8e7 -- nosy: +terry.reedy

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread fj92f3jj923f923
Change by fj92f3jj923f923 : -- pull_requests: +20776 pull_request: https://github.com/python/cpython/pull/21634 ___ Python tracker ___

[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-07-26 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 5.0 -> 6.0 pull_requests: +20775 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21633 ___ Python tracker

Re: Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Eryk Sun
On 7/26/20, Bolun Thompson wrote: > In the sys.executable documentation ( > https://docs.python.org/3/library/sys.html#sys.executable), they don't > specify if it follows symlinks. From my limited testing, it does not. Is > this behavior guaranteed? In Unix, the interpreter resolves the target

[issue41349] Tk window not going full screen on 90° rotated screen on mac

2020-07-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41388] IDLE fails to detect corresponding opening parenthesis

2020-07-26 Thread Lewis Ball
Lewis Ball added the comment: Okay that makes sense. Removing things from _synchre would slow down the matching slightly, although the matching still seems plenty fast enough when done inside an if clause at the moment, so I'm not sure how noticeable the removal of `else` would be. One

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: I guess the design space is wide open. Does parso have to be pure Python? If not, we could generate C code like we do for CPython's parser. Now, that doesn't work for incremental parsing, but I did an alternative implementation that uses a stack machine,

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-26 Thread David Halter
David Halter added the comment: Parso's incremental parser is a terrible idea. It also works and is pretty fast, but the design is pretty terrible (it took me a lot of fuzzing to make sure that it works decently well). The basic problem is that it's reusing nodes in a mutable way. If I were

[issue41405] python 3.9.0b5 test

2020-07-26 Thread YoSTEALTH
YoSTEALTH added the comment: while compiling i got this warning, maybe its related! gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers

Re: Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Chris Angelico
On Mon, Jul 27, 2020 at 8:04 AM Bolun Thompson wrote: > > In the sys.executable documentation ( > https://docs.python.org/3/library/sys.html#sys.executable), they don't > specify if it follows symlinks. From my limited testing, it does not. Is > this behavior guaranteed? I don't know about

Is sys.executable not supposed to follow symlinks?

2020-07-26 Thread Bolun Thompson
In the sys.executable documentation ( https://docs.python.org/3/library/sys.html#sys.executable), they don't specify if it follows symlinks. From my limited testing, it does not. Is this behavior guaranteed? -- https://mail.python.org/mailman/listinfo/python-list

[issue40939] Remove the old parser

2020-07-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +20774 pull_request: https://github.com/python/cpython/pull/19969 ___ Python tracker ___

[issue40939] Remove the old parser

2020-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/cpython/pull/19969 (Pablo's attempt at replacing the grammar in the reference docs with something derived from Grammar/python.gram). -- ___ Python tracker

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread fj92f3jj923f923
fj92f3jj923f923 added the comment: I can give a try with removing Please, wait Thanks everyone for giving a chance to make a PR :) -- ___ Python tracker ___

[issue41405] python 3.9.0b5 test

2020-07-26 Thread YoSTEALTH
New submission from YoSTEALTH : >>> /opt/python/3.9.0/bin/python3 -m test -uall == CPython 3.9.0b5 (default, Jul 22 2020, 13:13:23) [GCC 10.1.0] == Linux-5.8.0-1-MANJARO-x86_64-with-glibc2.31 little-endian == cwd: /tmp/test_python_39605æ == CPU count: 16 == encodings: locale=UTF-8, FS=utf-8

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-26 Thread Michael Felt
Michael Felt added the comment: Neat! extra arguments!! The warnings - extracted: == CPython 3.10.0a0 (heads/master-dirty:b1a8730, Jul 26 2020, 14:00:34) [GCC 7.2.0] == AIX-2-00F9C1964C00-powerpc-32bit big-endian == cwd: /home/aixtools/cpython/cpython-master/build/test_python_27984450▒ ==

Re: Symlinks already present

2020-07-26 Thread dn via Python-list
On 27/07/2020 00:56, Termoregolato wrote: There is any way to check if  a directory is already symlinked, without controlling every symlink viewing the link? That is a bit time consuming, due I've two or three directory that can have a new symlink, but I've to check on a list of 20-3

[issue41349] Tk window not going full screen on 90° rotated screen on mac

2020-07-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +Tkinter title: idle not going full screen when I rotate screen 90° on mac -> Tk window not going full screen on 90° rotated screen on mac ___ Python tracker

[issue41404] IDLE: test iomenu

2020-07-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : Test parts of iomenu changed by #41158 and fixed by #41300 and #41373. -- assignee: terry.reedy components: IDLE messages: 374342 nosy: terry.reedy priority: normal severity: normal stage: test needed status: open title: IDLE: test iomenu type:

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: >From a user point of view, your edit makes it look like they have to supply >__ne__() if they want support for the != operator. The user would have to >know the subtle details of the language to know this is not the case. In >documentation, more so

[issue41397] Restore default implementation of __ne__ in Counter

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: > The current code returns NotImplemented for non-Counter. > If we want to implement equality comparison with other > class we have to override __ne__. I'm fine with that. It is not an undue burden and it provides a nudge to be explicit and intentional

[issue41403] Uncaught AttributeError in unittest.mock._get_target

2020-07-26 Thread webisteme
New submission from webisteme : When calling `mock.patch` incorrectly, as in the following example, an uncaught error is thrown: ```shell >>> from unittest import mock >>> class Foo: ... pass ... >>> mock.patch(Foo()) Traceback (most recent call last): File "", line 1, in File

RE: Dowloading package dependencies from locked down machine

2020-07-26 Thread Mike Dewhirst
I think your best bet is to make a formal business case to your IT people and explain what's in it for them. If they hold all the cards you defeat them at your peril.Mike -- https://mail.python.org/mailman/listinfo/python-list

How to cast to a type WAS: How to limit *length* of PrettyPrinter

2020-07-26 Thread Stavros Macrakis
I was a bit unhappy with my convert function: def convert(typ,obj): newobj = typ.__new__(typ,obj) newobj.__init__(obj) return newobj because it called __xxx__ functions, which are supposed to be internal. It was also a surprise that __new__ ignores

Support both asyncio and synchronous callers

2020-07-26 Thread Damian Johnson
Hi. I'm the author of Stem, Tor's python library [1]. Recently we migrated to asyncio, but desire to still be usable by synchronous callers. We wrote a mixin [2][3] that transparently makes any class usable by both asyncio and synchronous callers...

[issue41335] free(): invalid pointer in list_ass_item() in Python 3.7.3

2020-07-26 Thread Howard A. Landman
Howard A. Landman added the comment: After a quick glance at the source code for the spidev library, I think it is unlikely but not impossible to be the home for the bug. It does do malloc() and free(), but only for data that is greater than 256 bytes. Short tx and rx data is kept in static

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2020-07-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +20772 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21631 ___ Python tracker

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2020-07-26 Thread Johannes Reiff
New submission from Johannes Reiff : If assigning binary content to an EmailMessage via set_content(), the function email.contentmanager.set_bytes_content() is called. This function fails when choosing the 7bit transfer encoding because of a call to data.decode('ascii'). --

[issue41397] Restore default implementation of __ne__ in Counter

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current code returns NotImplemented for non-Counter. If we want to implement equality comparison with other class we have to override __ne__. -- ___ Python tracker

[issue41383] Provide a limit arguments for __repr__

2020-07-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41383] Provide a limit arguments for __repr__

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I suggest taking this to Python ideas. While there is a legitimate concern about large objects in a Variable View, the idea impacts long-standing core APIs. Accordingly, it needs to be thought through, become better specified, and be evaluated against

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it good to provide incorrect information in the documentation? It is a matter of correctness, not style. -- ___ Python tracker ___

[issue41397] Restore default implementation of __ne__ in Counter

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: > The problem is that if you subclass Counter and override > its __eq__ method you will need to implement also the > __ne__ method. I don't think that is true. The current code for __ne__ calls "==" and inverts the result. Also, the docstring for the

Re: Symlinks already present

2020-07-26 Thread Termoregolato
Il 26/07/20 15:19, Barry ha scritto: No. None. Sob :-) But thanks for confirm. Don’t you have control of the code that is adding the symlinks? No, so I must traverse the directories where symlinks are, to deduplicate them. There are some modes to minimize the work, but that way could be

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: s/pedantic/formally but not helpfully/ -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: This will make the docs confusing and create an uncertainty for a user: if they define __eq__, do they, can they, or should they define __ne__. Also, it feels weird to have lists of five rich comparison methods rather than all six. Tthe current docs

[issue18280] Documentation is too personalized

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think they are not required, but recommended. >From https://www.python.org/dev/peps/pep-0008/#comments: You should use two spaces after a sentence-ending period in multi- sentence comments, except after the final sentence. >From

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-26 Thread hai shi
hai shi added the comment: >I haven't checked to see what's documented. I'm sure we'd accept a patch that >improves the documentation if it's lacking. +1 -- nosy: +shihai1991 ___ Python tracker

[issue41380] Add snake example to turtledemo

2020-07-26 Thread SilentGhost
Change by SilentGhost : -- nosy: -SilentGhost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41182] DefaultSelector fails to detect selector on VMware ESXi

2020-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: Thank you Abhijeet! Looking forward to more of your contributions. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: Thank you Joseph Perez! Looking forward to more of your contributions. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18280] Documentation is too personalized

2020-07-26 Thread Michael Felt
Michael Felt added the comment: I am taking a look at these, and I am sure there is a PEP I am unaware of - atm - so, a quick question. Is the double space at the end of a sentence 'required' by the rst processing, or is this also a 'personal' writing style in some of the documents (i.e.,

[issue41380] Add snake example to turtledemo

2020-07-26 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41182] DefaultSelector fails to detect selector on VMware ESXi

2020-07-26 Thread miss-islington
miss-islington added the comment: New changeset 6e4975a1c79d8433d9d5b50ff1c655b5b5a2acd2 by Miss Islington (bot) in branch '3.9': bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257) https://github.com/python/cpython/commit/6e4975a1c79d8433d9d5b50ff1c655b5b5a2acd2

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-26 Thread miss-islington
miss-islington added the comment: New changeset 41d1c04f73185c1238680142aa1a81f54f2bf4a4 by Miss Islington (bot) in branch '3.9': bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (GH-21553) https://github.com/python/cpython/commit/41d1c04f73185c1238680142aa1a81f54f2bf4a4

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34723] lower() on Turkish letter "İ" returns a 2-chars-long string

2020-07-26 Thread Şahin Kureta
Şahin Kureta added the comment: I know it is not finalized and released yet but are you going to implement Version 14.0.0 of the Unicode Standard? It finally solves the issue of Turkish lower/upper case 'I' and 'i'. [Here is the

[issue41380] Add snake example to turtledemo

2020-07-26 Thread SilentGhost
SilentGhost added the comment: Ehsonjon, please do not remove people from the nosy list. -- components: +Library (Lib) nosy: +SilentGhost, epaine, gregorlingl, terry.reedy, willingc type: -> enhancement versions: +Python 3.10 ___ Python tracker

[issue41182] DefaultSelector fails to detect selector on VMware ESXi

2020-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: This is a bit of a risky change looking at the PR but since it's a bugfix, we should have it for 3.9.0rc1. -- ___ Python tracker ___

[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-26 Thread Iman Sharafaldin
Iman Sharafaldin added the comment: Thank you for patching that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41182] DefaultSelector fails to detect selector on VMware ESXi

2020-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +20771 pull_request: https://github.com/python/cpython/pull/21630 ___ Python tracker ___

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: There’s probably also something in configure.in that can switch this on. -- ___ Python tracker ___

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +20770 pull_request: https://github.com/python/cpython/pull/21629 ___ Python tracker

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: Given the previous behavior was clearly a bug and after looking at the PR, I think it should go into 3.9.0rc1. -- ___ Python tracker ___

[issue41380] Add snake example to turtledemo

2020-07-26 Thread Ehsonjon Gadoev
Ehsonjon Gadoev added the comment: @gvanrossum, Can you merge my pull requests? -- components: -Library (Lib) nosy: -epaine, gregorlingl, terry.reedy, willingc type: enhancement -> versions: -Python 3.10 ___ Python tracker

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report (and for all other heroic work for maintaining AIX). Breaking only one test on AIX looks like a good news. Do you able to run tests manually? Could you please run the following command? ./python -m test --list-cases -uall

[issue41100] Build failure on macOS 11 (beta)

2020-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: PR21564 is my attempt to merge all changes needed to support macOS 11 and arm64. To be honest I had lost track of what's needed. With this the patch the tests pass on my DTK system. TODO: - Verify builds on older macOS versions - Maybe: support building

[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not think it is a security issue. The crash cannot be triggered by the user input unless you accept the pickle data from untrusted sources, but in that case you are in large danger, because you allow executing arbitrary code. The changes in this

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41090] Support for "Universal 2" binary builds

2020-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: We're tracking macOS 11 and arm64 support in #41100 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) ___ Python tracker

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-26 Thread Michael Felt
New submission from Michael Felt : issue41069 introduces tests for paths/files containing non-ascii characters. On AIX - since the merge of PR21035 and PR21156 - the bots have been broken, i.e., returning test failed. commit 700cfa8c90a90016638bac13c4efd03786b2b2a0 Author: Serhiy Storchaka

Re: Symlinks already present

2020-07-26 Thread Barry
> On 26 Jul 2020, at 14:03, Termoregolato wrote: > > There is any way to check if a directory is already symlinked, No. None. > without controlling every symlink viewing the link? That is a bit time > consuming, due I've two or three directory that can have a new symlink, but > I've to

[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-26 Thread Iman Sharafaldin
Iman Sharafaldin added the comment: @serhiy.storchaka Hi Serhiy, do you count this issue as a security issue? Also, I didn't see that in the latest changelog. Is it now patched on the latest version? https://docs.python.org/release/3.8.5/whatsnew/changelog.html --

Symlinks already present

2020-07-26 Thread Termoregolato
There is any way to check if a directory is already symlinked, without controlling every symlink viewing the link? That is a bit time consuming, due I've two or three directory that can have a new symlink, but I've to check on a list of 20-3 symlinks to delete it and avoid duplicates...

Dowloading package dependencies from locked down machine

2020-07-26 Thread Andrew McLean
At work my only Internet access is via a locked-down PC. The IT department are not willing to install Python on it [1]. Ideally I would download packages and their dependencies from PyPi using "pip download" at the command line. Any better solutions than downloading the package in a browser,

[issue41398] cgi module, parse_multipart fails

2020-07-26 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) nosy: +ethan.furman type: -> behavior ___ Python tracker ___ ___

[issue41399] Add stacklevel support for exceptions

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: warnings.warn(), the function which emits warnings, has the stacklevel parameter. But how do you provide stacklevel for exceptions? See also bpo-39725. -- nosy: +serhiy.storchaka ___ Python tracker

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20769 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21628 ___ Python tracker

[issue41400] Remove references to nonexisting __ne__ methods

2020-07-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There is the documentation for method __ne__ implementations in classes Set, Mapping, Header, Charset, Binary, but all these implementations are removed now and the default implementation of object.__ne__ is used instead. -- assignee:

[issue41399] Add stacklevel support for exceptions

2020-07-26 Thread wyz23x2
New submission from wyz23x2 : Now warnings.warn supports a stacklevel parameter. But many users want exceptions to support it too. Related: https://stackoverflow.com/questions/34175111/raise-an-exception-from-a-higher-level-a-la-warnings -- components: Interpreter Core messages:

[issue41398] cgi module, parse_multipart fails

2020-07-26 Thread Magnus Johnsson
New submission from Magnus Johnsson : When using the cgi module, parse_multipart fails with the supplied file with the error: Invalid boundary in multipart form: b'' A sample program that demonstrates the error: import cgi f = open("60_Request.txt", "r") print(cgi.parse_multipart(f,

[issue41397] Restore default implementation of __ne__ in Counter

2020-07-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20768 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21627 ___ Python tracker

[issue41397] Restore default implementation of __ne__ in Counter

2020-07-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently collections.Counter implements both __eq__ and __ne__ methods. The problem is that if you subclass Counter and override its __eq__ method you will need to implement also the __ne__ method. Usually you do not need to implement __ne__ because

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-26 Thread miss-islington
miss-islington added the comment: New changeset 8b7544cd024077615c62517f91ee74f50f40701d by Miss Islington (bot) in branch '3.9': bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608) https://github.com/python/cpython/commit/8b7544cd024077615c62517f91ee74f50f40701d --

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-26 Thread miss-islington
miss-islington added the comment: New changeset 33cebe0b9a71da97046fc67c03062987c1049418 by Miss Islington (bot) in branch '3.8': bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608) https://github.com/python/cpython/commit/33cebe0b9a71da97046fc67c03062987c1049418 --

[issue41373] IDLE: edit/save files created by Windows Explorer

2020-07-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +20766 pull_request: https://github.com/python/cpython/pull/21625 ___ Python tracker

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +20767 pull_request: https://github.com/python/cpython/pull/21626 ___ Python tracker ___

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b1a87300a06324c9fc7d6553906ed914489465aa by Serhiy Storchaka in branch 'master': bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608) https://github.com/python/cpython/commit/b1a87300a06324c9fc7d6553906ed914489465aa --