[issue37673] Tkinter won't create 5000 check boxes, stops at 1309.

2019-07-26 Thread Lou Perazzoli
Lou Perazzoli added the comment: Thanks for the reply. I’ll make it simpler Regards Lou > On Jul 26, 2019, at 9:26 PM, Terry J. Reedy wrote: > > > Terry J. Reedy added the comment: > > It stopped at 1309 for me too, running with IDLE, then added 4999 and the > quit button, which did

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +14744 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14975 ___ Python tracker

[issue37689] Add Path.is_relative_to()

2019-07-26 Thread hai shi
hai shi added the comment: antoine, let me try it;) -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32409] venv activate.bat is UTF-8 encoded but uses current console codepage

2019-07-26 Thread Steve Dower
Steve Dower added the comment: This appears to be completely resolved now, but if it's not, please ping with the details and we'll reopen. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14731 pull_request: https://github.com/python/cpython/pull/14964 ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset ea0f7aa47c5d2e58dc99314508172f0523e144c6 by Miss Islington (bot) in branch '3.7': bpo-37664: Update bundled pip to 19.2.1 and setuptools to 41.0.1 (GH-14934) https://github.com/python/cpython/commit/ea0f7aa47c5d2e58dc99314508172f0523e144c6

[issue37685] Fix equality checks for some types

2019-07-26 Thread Vedran Čačić
Vedran Čačić added the comment: Wat?? Are we heading towards the world where 3.2 == 'something' is NotImplemented? I understand `__lt__`, of course, but in my opinion Python has always defined equality comparisons between different types. I think this is a huge regression. -- nosy:

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37685] Fix equality checks for some types

2019-07-26 Thread Paul Ganssle
Paul Ganssle added the comment: @veky I can't be sure, but I think you may not understand what returning `NotImplemented` does - this makes comparisons *more* versatile, not less. The way it works is that when Python does, for example, x == y, it will first call x.__eq__(y) and check the

[issue37130] pathlib.Path.with_name() handles '.' and '..' inconsistently

2019-07-26 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I'll take a crack at adding support for Path('.').name == '.'. -- ___ Python tracker ___ ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14743 pull_request: https://github.com/python/cpython/pull/14974 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14742 pull_request: https://github.com/python/cpython/pull/14973 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-26 Thread Raymond Hettinger
New submission from Raymond Hettinger : I did some user testing with Python 3.8 and found that math.dist() was a little restrictive in only accepting coordinates as tuples. Mostly it worked out fine except but was a little inconvenient with generalized unpacking: label, *coordinates =

[issue11953] Missing WSA* error codes

2019-07-26 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-07-26 Thread mental
mental added the comment: > The root of the error is that struct.pack_into starts by memsetting the > underlying memory area with NULL bytes before filling the data with memcpy. I've had a fix spinning for about a day now, it introduced a `multiprocessing.Lock` and it was simply wrapped

[issue37673] Tkinter won't create 5000 check boxes, stops at 1309.

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: It stopped at 1309 for me too, running with IDLE, then added 4999 and the quit button, which did not work. If you can, try to make the code simpler. Here is one guide. https://stackoverflow.com/help/minimal-reproducible-example However, limitations in

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread David Edelsohn
David Edelsohn added the comment: Runtime linking allows a dynamically loaded library to interpose symbols. The classic example is allowing a program or dynamic library to overload C++ operator new. A library or program overrides the symbol by name. Python does not require this. Python does

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset 9e7697b3c55e0bd8663cf0641d4718e853af2d9c by Miss Islington (bot) in branch '3.7': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959) https://github.com/python/cpython/commit/9e7697b3c55e0bd8663cf0641d4718e853af2d9c

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset f6ab188323444fe0dd916ed3860cc5c8806caa16 by Miss Islington (bot) in branch '3.8': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959) https://github.com/python/cpython/commit/f6ab188323444fe0dd916ed3860cc5c8806caa16

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Kirill Balunov
Kirill Balunov added the comment: I understand the reasons, I only say that it does not correspond to my perception of their equivalence, because: os.path.isdir('') != os.path.isdir('.') while: Path('').is_dir() == Path('.').is_dir() and I can confirm that some libraries rely on

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37679] test_with_pip fails on FreeBSD 10 bot

2019-07-26 Thread Kubilay Kocak
Kubilay Kocak added the comment: Since this is likely a regression from issue 37664, which is still open, and also contains the report, I'd close this issue in favour of the former. Having regression reports in separate issues for still open in new/separate issues tends to results in them

[issue37409] relative import without parent succeeds with builtins.__import__

2019-07-26 Thread Ben Lewis
Change by Ben Lewis : -- pull_requests: +14724 pull_request: https://github.com/python/cpython/pull/14956 ___ Python tracker ___

[issue36279] os.wait3() leaks some uninitialized stack when no processes exist

2019-07-26 Thread David Wilson
David Wilson added the comment: The original diff is attached here (per the old process) so others can find it, and the PR+fork are closed, as carrying a fork in my GitHub for 4 months has non-zero cost. I'm presently more interested in having a clean GH account than carrying around the

[issue17535] IDLE editor line numbers

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: After testing it on Linux (through the latest dev version, launched with `./.python -m idlelib`), the line numbers seem to be working quite well across several different fonts and font sizes. My only suggestion for minor visual improvement would be to

[issue37684] list.extend docs inaccurate

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Clarification: Since I posted two potential suggestions, I'm referring to the one using the interpreter, not the one that changed it into two lines and added indentation. -- ___ Python tracker

[issue37340] remove free_list for bound method objects

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

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Kirill Balunov
Kirill Balunov added the comment: Forgot to write the result for Path variant: >>> Path(dummy).is_dir() True -- ___ Python tracker ___

[issue37684] list.extend docs inaccurate

2019-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion, but I'm going to reject this. The existing rough equivalent isn't exact but it does do a better job of communicating a bulk update rather than a series of appends. Also, it isn't far from how the C list_extend() is actually

[issue37686] No error message in joining two root directories

2019-07-26 Thread Eryk Sun
Eryk Sun added the comment: The behavior in question is documented as follows: "If a component is an absolute path, all previous components are thrown away and joining continues from the absolute path component." In Windows, this is extended to support drives and the six file-path types:

[issue37684] list.extend docs inaccurate

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Raymond, what were your thoughts on the alternative suggestion I posted on the GitHub PR? My suggestion might have been too different from the original PR, but personally I think it's a bit more appropriate for the tutorial than the existing example. Would it

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: Thanks for trying this and giving such useful feedback, Kyle! Interestingly, Terry just opened an issue about exactly what you mention regarding the font configuration window; see issue #37628. -- ___ Python tracker

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: Correction: Terry commented on that issue (#37628) earlier today; Raymond Hettinger originally reported it a about a week ago. -- ___ Python tracker

[issue37682] random.sample should support iterators

2019-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > ISTM that if a generator produces so much data that it is infeasible to fit > in memory, then it will also take a long time to loop over it and generate a > random value for each entry. Good point! $ ./python -m timeit -s 'from random import sample as

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Kirill Balunov
New submission from Kirill Balunov : In the documentation it is said that os.path.isdir(...) an Path(...).is_dir()are equivalent substitutes. https://docs.python.org/3/library/pathlib.html#correspondence-to-tools-in-the-os-module But they give different result for empty path strings: >>>

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: And maybe a horizontal scroll. In any case, line wrap should be off. Feel free to whip up a minimal change PR that we can merge before Monday. -- ___ Python tracker

[issue37635] Using constant for whence arg in seek()

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Upon further consideration, I think that it would be best to leave the code examples as is in the "inputoutput" tutorial, but it still be worth mentioning that the constants exist as alternatives. This is due to adding the additional step of "import io" in

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is because Path() == Path('') == Path('.'). -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current right margin is 1 pixel. Let's try making it 2. -- ___ Python tracker ___ ___

[issue37676] cmath.phase array support

2019-07-26 Thread Mark Dickinson
Mark Dickinson added the comment: I think you want numpy.angle (https://docs.scipy.org/doc/numpy/reference/generated/numpy.angle.html). NumPy is a third-party library, so it doesn't make sense to have the math or cmath functions be aware of NumPy arrays; none of the other math or cmath

[issue37635] Using constant for whence arg in seek()

2019-07-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know. "whence" is the official name of the argument in the POSIX API: https://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html Perhaps "from_what" is assumed to be more understandable by the average reader? Also, os.lseek() uses "how":

[issue37538] Refactor zipfile to ease subclassing and enhancement

2019-07-26 Thread Daniel Hillier
Change by Daniel Hillier : -- keywords: +patch pull_requests: +14725 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14957 ___ Python tracker ___

[issue37682] random.sample should support iterators

2019-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thomas, thank you for the suggestion but I think we should decline. The API for sample() is consistent with choice(), choices() and shuffle(). For the most part the sequence based API has worked out well. -- resolution: -> rejected stage: ->

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-07-26 Thread Pierre Glaser
Pierre Glaser added the comment: The root of the error is that struct.pack_into starts by memsetting the underlying memory area with NULL bytes before filling the data with memcpy. If ShareableList._get_packing_format is called between the two operations (through a concurrent __getitem__

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-26 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +14726 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14958 ___ Python tracker

[issue37340] remove free_list for bound method objects

2019-07-26 Thread Inada Naoki
Inada Naoki added the comment: New changeset 3e54b575313c64f541e98216ed079fafed01ff5d by Inada Naoki in branch 'master': bpo-37340: remove free_list for bound method objects (GH-14232) https://github.com/python/cpython/commit/3e54b575313c64f541e98216ed079fafed01ff5d --

[issue37682] random.sample should support iterators

2019-07-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM that if a generator produces so much data that it is infeasible to fit in memory, then it will also take a long time to loop over it and generate a random value for each entry. FWIW, every time we've looked at reservoir sampling it has been less

[issue37628] IDLE: Fix Font sample (config dialog) geometry

2019-07-26 Thread Tal Einat
Tal Einat added the comment: See proposed fix in PR GH-14958. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37679] test_with_pip fails on FreeBSD 10 bot

2019-07-26 Thread Steve Dower
Steve Dower added the comment: Could you please nosy yourself on the other issue and help us address it then? The only change was upgrading pip, and the error is just a new warning message, but unless someone knows how bad it is then we'll "fix" it by ignoring the warning. --

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +14727 pull_request: https://github.com/python/cpython/pull/14959 ___ Python tracker ___

[issue31370] Remove support for threads-less builds

2019-07-26 Thread Kaeptm Blaubaer
Kaeptm Blaubaer added the comment: Unfortunately, this also leads to less good LTO if you use a single static executable, similar to what Tools/freeze produces but including libpython itself. I'm currently trying to make LLVM do that, but since I can't build without threads, it'd be

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: > The current right margin is 1 pixel. Let's try making it 2. See PR GH-14959. I added 2 pixels of horizontal padding to the line numbers text widget, and it certainly does look much nicer. Thanks for the suggestion, Kyle! --

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Brett Cannon
Brett Cannon added the comment: I think you're reading "equivalence" too strictly here to mean "exactly the same semantics". In this instance it means "for similar functionality, the equivalent method is ..." (admittedly this might be a quirk of the use of the word "equivalent" in North

[issue35524] using/windows launcher image might be deprecated

2019-07-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14734 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14966 ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread Steve Dower
Steve Dower added the comment: Hey Ned, would you like a bundled pip update for 3.7? We haven't gone that far back. -- nosy: +ned.deily ___ Python tracker ___

[issue36529] Python from WindowsStore: can't install package using "-m pip"

2019-07-26 Thread Steve Dower
Steve Dower added the comment: Resolved by issue37672 (because I didn't find this issue when I was looking for it, so I created a new one) -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Switch Windows Store package to use pip.ini for user mode

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14730 pull_request: https://github.com/python/cpython/pull/14963 ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset 0225d58cc8b786caec12f45e9245f90497610a2d by Miss Islington (bot) in branch '3.7': bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960) https://github.com/python/cpython/commit/0225d58cc8b786caec12f45e9245f90497610a2d

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Michael.Felt, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread Steve Dower
Steve Dower added the comment: Actually, we're already ignoring this message, but now it includes "WARNING: " at the start and doesn't match the existing regex. So we can just continue to ignore it. -- ___ Python tracker

[issue35476] _imp_create_dynamic_impl() does not clear error.

2019-07-26 Thread Eric Snow
Eric Snow added the comment: Sorry, @Batuhan. We appreciate your effort and would be glad to see more contributions from you. I hope you at least learned something positive while working on this. :) -- ___ Python tracker

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14728 pull_request: https://github.com/python/cpython/pull/14960 ___ Python tracker ___

[issue35476] _imp_create_dynamic_impl() does not clear error.

2019-07-26 Thread Eric Snow
Eric Snow added the comment: Hmm, looks like this was already fixed by Serhiy (for bpo-35454) the day before I opened this issue. :) 3.8/master: GH-11077 8905fcc85a6fc3ac394bc89b0bbf40897e9497a6 3.7: GH-11105 62674f3a36ec55f86a5f20ee028a37fbd549bd6c 3.6: GH-11106

[issue37684] list.extend docs inaccurate

2019-07-26 Thread wim glenn
wim glenn added the comment: Raymond, I understand that consecutive appends could potentially trigger multiple resizes behind the scenes, and so it's not really showing that extend is more like a bulk update as you mentioned. That's a good point! However I think it's a more important

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

2019-07-26 Thread Eric Snow
Eric Snow added the comment: FTR, Antoine originally removed in b43c4caf81b10e5c7ebaeb3a712c6db584f60bbd and added back (but deprecated) a few days later in b43c4caf81b10e5c7ebaeb3a712c6db584f60bbd. [1] That happened in September 2017 for Python 3.7. [1]

[issue18748] io.IOBase destructor silence I/O error on close() by default

2019-07-26 Thread Yhojann Aguilera
Yhojann Aguilera added the comment: I hope that when an error occurs, python tells me what the problem is. The abort core error is a problem at a lower level than python because python is not able to recognize or handle the error. The main problem is that I exceeded the maximum number of

[issue37689] Add Path.is_relative_to()

2019-07-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : Right now, to know whether a Path is relative to another one, you have to call Path.relative_to(), catch ValueError, and act in consequence. It would be nice to have a Path.is_relative_to() that does the equivalent for you and returns True/False. This is

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14729 pull_request: https://github.com/python/cpython/pull/14961 ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset b1eb20e68e30c8ab128f9d63d622f0a8b49dcf34 by Steve Dower in branch 'master': bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960) https://github.com/python/cpython/commit/b1eb20e68e30c8ab128f9d63d622f0a8b49dcf34

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread Ned Deily
Ned Deily added the comment: Yeah, we should update 3.7, too, so people don’t keep getting the upgrade warning. -- versions: +Python 3.7 ___ Python tracker ___

[issue12989] Consistently handle path separator in Py_GetPath on Windows

2019-07-26 Thread Steve Dower
Steve Dower added the comment: This code has been significantly rewritten since this bug, and I believe it's no longer an issue. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34011] Default preference not given to venv DLL's

2019-07-26 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- pull_requests: +14732 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14965 ___ Python tracker ___

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele : Have the approach of building shared libraries on the AIX operating system be similar to that of a System V system. The primary benefit of this change is the elimination of custom AIX paths and reducing the changes at `./configure` to affect just the

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: If "equivalent" is deceiving, perhaps replace it with "similary" or "roughly equivalent". Feel free to post a PR with your preferred wording. -- ___ Python tracker

[issue37496] Support annotations in signature strings.

2019-07-26 Thread Eric Snow
Eric Snow added the comment: +1 on using a string for Parameter.annotation and Signature.return_annotation. -- ___ Python tracker ___

[issue37664] Update bundled pip and setuptools

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset c5033901263d64a533ee47a84c6d286a223540c9 by Miss Islington (bot) in branch '3.8': bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960) https://github.com/python/cpython/commit/c5033901263d64a533ee47a84c6d286a223540c9

[issue37287] picke cannot dump Exception subclasses with different super() args

2019-07-26 Thread Fabian Raab
Fabian Raab added the comment: It seems to that this problem is affecting __new__ methods independent of exceptions: >>> class NewBreaker: ... def __new__(cls, arg): ... return super().__new__(cls) ... >>> nb = NewBreaker(42) >>> import pickle >>> dumped = pickle.dumps(nb)

[issue35524] using/windows launcher image might be deprecated

2019-07-26 Thread Steve Dower
Steve Dower added the comment: I made a fake 3.8.0 installer and made the screenshot, so we'll only backport it to 3.8. I think 3.7 is fine with what it has. -- versions: +Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker

[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used

2019-07-26 Thread Derek Keeler
Change by Derek Keeler : -- keywords: +patch pull_requests: +14737 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14968 ___ Python tracker ___

[issue37684] list.extend docs inaccurate

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Upon further consideration, I think the code example suggestion I made using the interpreter could be in a separate PR or issue and doesn't have to replace the the current "Equivalent to ..." portion. I'll open a separate PR for that (which isn't attached to

[issue35712] Make NotImplemented unusable in boolean context

2019-07-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: Moving to 3.9 target, per Serhiy's request. PR has been rebased against master, including updating the What's New info to be in the 3.9 version, not 3.8. -- versions: +Python 3.9 -Python 3.8 ___ Python tracker

[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14740 pull_request: https://github.com/python/cpython/pull/14971 ___ Python tracker ___

[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset 06e8fc95d138775e942c18c8e47e72cdcc32f95c by Miss Islington (bot) in branch '3.8': bpo-32910: Remove implementation detail in venv documentation. (GH-14968) https://github.com/python/cpython/commit/06e8fc95d138775e942c18c8e47e72cdcc32f95c

[issue37685] Fix equality checks for some types

2019-07-26 Thread Vedran Čačić
Vedran Čačić added the comment: Thanks for the clarification. Yes, now I see how it really works, but I saw some comment about not wanting to backport it to 3.7, because it changes the semantics. Now that I understand the implementation, it seems to me that it really doesn't change the

[issue37130] pathlib.Path.with_name() handles '.' and '..' inconsistently

2019-07-26 Thread Brett Cannon
Brett Cannon added the comment: Anyone up for doing a PR that makes Path('.').name == '.'? It would be good to see if that would break the stdlib as a proxy as to how many people might be relying on these semantics. My hope is nothing breaks in which case we can make the change in 3.9 and

[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14741 pull_request: https://github.com/python/cpython/pull/14972 ___ Python tracker ___

[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used

2019-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 91e49575095ca16d1b67dd8822deeb7885e421da by Steve Dower (Derek Keeler) in branch 'master': bpo-32910: Remove implementation detail in venv documentation. (GH-14968) https://github.com/python/cpython/commit/91e49575095ca16d1b67dd8822deeb7885e421da

[issue37635] Using constant for whence arg in seek()

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Clarification: By "latest commit" should be "oldest commit" with regards to the oldest commit in GitHub's history of the section of the "inputouput" tutorial that used the *from_what* argument for seek(). -- ___

[issue37635] Using constant for whence arg in seek()

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: > I don't know. "whence" is the official name of the argument in the POSIX API > Perhaps "from_what" is assumed to be more understandable by the average > reader? >From looking at the blame on GitHub, it looks like the use of the "from_what" >argument in the

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > This is horrible and completely wrong. I'm not an expert in AIX and xlc, by any means. I would greatly appreciate your help to better understand so I can see the problem in the way you are to figure the best approach I can take. My primary

[issue35524] using/windows launcher image might be deprecated

2019-07-26 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14738 pull_request: https://github.com/python/cpython/pull/14969 ___ Python tracker ___

[issue35524] using/windows launcher image might be deprecated

2019-07-26 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37685] Fix equality checks for some types

2019-07-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: @p-ganssle: Yup. If both sides return NotImplemented, __eq__ and __ne__ return a result based on an identity comparison; all other rich comparisons raise TypeError in that case. Code is here: https://github.com/python/cpython/blob/3.7/Objects/object.c#L679

[issue35667] activate for venv containing apostrophe doesn't work in powershell

2019-07-26 Thread Derek Keeler
Change by Derek Keeler : -- keywords: +patch pull_requests: +14736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14967 ___ Python tracker ___

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread David Edelsohn
David Edelsohn added the comment: Absolutely, positively no. This is horrible and completely wrong. Applications on AIX should not be compiled to allow dynamic linking to make them operate more like SVR4/Linux. Python does not require dynamic linking. This simply is masking a symptom in a

[issue35524] using/windows launcher image might be deprecated

2019-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 886e66d111b6b865e582d8cc7974d5c0b398da99 by Steve Dower in branch '3.8': bpo-35524: Update Windows installer image in docs (GH-14966) https://github.com/python/cpython/commit/886e66d111b6b865e582d8cc7974d5c0b398da99 --

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Kirill Balunov
Kirill Balunov added the comment: I am reading "equivalence" too strictly (like "as a substitute"), because this is part of the documentation :) and I agree that in ordinary speech I would use it rather in the sense of “similar”. In order to make sure, that everyone agrees only on that this

[issue11602] python-config code should be in sysconfig

2019-07-26 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >