[issue45142] Import error for Iterable in collections

2021-09-08 Thread Joshua
New submission from Joshua : Traceback: Traceback (most recent call last): File "/Users/user/PycharmProjects/phys2/main.py", line 5, in from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Pyth

[issue45142] Import error for Iterable in collections

2021-09-08 Thread Joshua
Joshua added the comment: Update: I'm just dumb, should have used "from collections.abc import Iterable" -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https:/

[issue45394] pip install numpy not working in 3.11.0a on macOS 11.6

2021-10-06 Thread Joshua
New submission from Joshua : pip3.11 install numpy failed on a fresh install of python 3.11.0a on macOS 11.6. pip3.11 install numpy Collecting numpy Downloading numpy-1.21.1.zip (10.3 MB) || 10.3 MB 14.1 MB/s Installing build dependencies ... done

[issue45717] Bad link to python docs in help(_hashlib)

2021-11-04 Thread Joshua
New submission from Joshua : I was attempting to look through hashlib to try and understand more about python's built-in hash functions. As part of this, I ran 'help(_hashlib)' which returns this text: 'MODULE REFERENCE https://docs.python.org/3.11/library/_hashl

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-04 Thread Joshua
Joshua added the comment: I think that option 4 would work best but instead of putting any logic in (Lib/pydoc_data/topics.py)[https://github.com/python/cpython/blob/main/Lib/pydoc_data/topics.py] we could put the logic for working with private modules as well and other edge cases in (Lib

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua
New submission from Joshua : Attempting to parse specific keys in zoneinfo.ZoneInfo with tzdata installed will raise unhandled exceptions e.g. on windows >>> import zoneinfo >>> zoneinfo.ZoneInfo('Pacific') PermissionError: [Errno 13] Permission denied: '

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua
Joshua added the comment: tzdata was installed as an admin user, however this behaviour was reproducible on a linux installation where for the ZoneInfo.('Pacific') instance an IsADirectoryError would instead be raised. On Wed, Aug 12, 2020 at 9:50 PM STINNER Victor wrote: > >

[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Joshua
Joshua added the comment: I had opened a PR which just caught IsADirectoryError and PermissionError but closed it as you'd mentioned that handling PermissionError that way probably would not be the best, and I agree. I can reopen and modify to check path on OSerror if you'd like othe

[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

2020-08-12 Thread Joshua
Joshua added the comment: I'll reopen the PR with an attempted resolution of the OSError related issues however. In my quick testing it seems at least on Linux backports.zoneinfo segfaults when trying `ZoneInfo('__init__.py')` so that might be a larger issue for Pa

[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-03 Thread Joshua
New submission from Joshua: Process: Python [13106] Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier:Python Version: 2.7.10 (2.7.10) Code Type: X86-64 (Native

[issue30902] Python-Redmine plugin not seeing python install MacOS

2017-07-11 Thread Joshua
New submission from Joshua: trying to install the following on macos sierra 10.12.5. I am trying to install the python-redmine module. i ran the following: sudo easy_install pip pip install python-redmine i get the following output when trying to run a python script: Joshuas-MacBook-Pro

[issue18133] Modulus not calculating properly?

2013-06-04 Thread Joshua
New submission from Joshua: The Modulus doesn't seem to pull the proper remainder from simple calculations. Look at the difference below between the remainder of a regular division calculation and the modulus: Am I missing something??? >>> print (str(10.2 / 2)) 5.1 >>&

[issue18133] Modulus not calculating properly?

2013-06-04 Thread Joshua
Joshua added the comment: never mind, long day sorry! -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue27478] Python Can't run

2016-07-10 Thread Joshua
New submission from Joshua: I am using the book, Beginning Programming with Python For Dummies and I am stuck. On chapter 10 of the book, there is a dialog box that says"Changing the current python directory". Inside the dialog box there is an instruction on how to change director

[issue45959] Teach pprint about dict views

2021-12-14 Thread Joshua Insel
Joshua Insel added the comment: According to the documentation for pprint, it is supposed to print objects on a single line if possible. See the second paragraph here: https://docs.python.org/3/library/pprint.html -- nosy: +joshinsel ___ Python

[issue46144] math.log() returns improper output

2021-12-20 Thread Joshua Insel
New submission from Joshua Insel : math.log(536870912, 2) should return 29.0, because 2^29 = 536870912. However, it instead returns 29.004. -- messages: 408986 nosy: joshinsel priority: normal severity: normal status: open title: math.log() returns improper output type

[issue46144] math.log() returns improper output

2021-12-20 Thread Joshua Insel
Joshua Insel added the comment: The same problem occurs with the log function from the C standard library, which Python uses to implement its same-named function. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue45863] tarfile zeroes ustar header fields unnecessarily

2021-12-26 Thread Joshua Root
Joshua Root added the comment: PR has been marked stale; friendly ping. -- ___ Python tracker <https://bugs.python.org/issue45863> ___ ___ Python-bugs-list m

[issue45670] New .mapping attribute is broken for some existing uses of dict views

2021-12-31 Thread Joshua Bronson
Joshua Bronson added the comment: Dear Raymond, Thanks so much for the detailed response! I wonder if you could explain how this case is different from the following: >>> c = collections.ChainMap({1: 1}, {1: 2}) >>> iter(c) >>> isinstance(c, dict) # it'

[issue46684] Expose frozenset._hash classmethod

2022-02-08 Thread Joshua Bronson
New submission from Joshua Bronson : collections.abc.Set provides a _hash() method that includes the following in its docstring: """ Note that we don't define __hash__: not all sets are hashable. But if you define a hashable set type, its __hash__ should call this functi

[issue46684] Expose frozenset._hash classmethod

2022-02-08 Thread Joshua Bronson
Joshua Bronson added the comment: Thanks for the explanation, Raymond. Regarding: > Lastly, pure python hashable sets based on the ABC are not common This would have implications for other use cases though, that are perhaps more common. See, for example, the following code: ht

[issue46713] Provide a C implementation of collections.abc.KeysView and friends

2022-02-10 Thread Joshua Bronson
New submission from Joshua Bronson : As suggested by @rhettinger in https://bugs.python.org/msg409443, I'm creating a feature request for C implementations of collections.abc.KeysView, ValuesView, and ItemsView. Because these do not currently benefit from C speedups, they're a

[issue45670] New .mapping attribute is broken for some existing uses of dict views

2022-02-10 Thread Joshua Bronson
Joshua Bronson added the comment: Thank you for confirming that ChainMap.__iter__() would be in the same boat as bidict if a similar .mapping attribute were ever added to dict_keyiterators. The specifics of this issue are interesting, but even more interesting to me is whatever learnings we

[issue46771] Add some form of cancel scopes

2022-02-16 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue46771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13035] "maintainer" value clear the "author" value when registering

2011-09-23 Thread Joshua Bronson
New submission from Joshua Bronson : This issue was originally opened in the PyPI tracker but was dismissed on the theory that it's a bug in Python: https://sourceforge.net/tracker/index.php?func=detail&aid=3396924&group_id=66150&atid=513503 """ If in

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-10-26 Thread Joshua Chia
New submission from Joshua Chia : What steps will reproduce the problem? 1. Make a script containing this code: parser = argparse.ArgumentParser() parser.add_argument('-i', '--input-base-directory', type=argparse.FileType('r'),

[issue13343] Lambda keyword-only argument not updating co_freevars

2011-11-04 Thread Joshua Landau
New submission from Joshua Landau : When setting defaults to keyword-only arguments in lambdas which are inside non-global scopes, cPython doesn't push the name to it's closure's co_freevars. EXAMPLE: global_variable = None (lambda: (lambda *, keyword_only=global_variable: No

[issue13343] Lambda keyword-only argument not updating co_freevars

2011-11-04 Thread Joshua Landau
Joshua Landau added the comment: Glad to help :) It's made my day. I get to boast at school now! -- ___ Python tracker <http://bugs.python.org/is

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-11-21 Thread Joshua Root
Joshua Root added the comment: The fix that was committed doesn't work if CC is a full path like /usr/bin/clang. -- nosy: +jmr ___ Python tracker <http://bugs.python.org/is

[issue13658] Extra clause in class grammar documentation

2011-12-23 Thread Joshua Landau
New submission from Joshua Landau : Inside the grammar for classes[1], the documentation states that the inheritance list can be of type: "(" [argument_list [","] | comprehension] ")" The "comprehension" part seems to be superfluous, especially as it is

[issue7734] discuss mark-as-invalid trick in heapq docs

2010-08-12 Thread Joshua Bronson
Joshua Bronson added the comment: Thanks for the great additions. -- ___ Python tracker <http://bugs.python.org/issue7734> ___ ___ Python-bugs-list mailin

[issue6941] Socket error when launching IDLE

2010-11-15 Thread Joshua Purcell
Joshua Purcell added the comment: Sorry I've not replied to anyones thoughts until now but nothing seems to fix it -- components: +Windows -IDLE resolution: works for me -> status: closed -> open ___ Python tracker <http://b

[issue10426] The whole thing is NOT good

2010-11-15 Thread Joshua Purcell
New submission from Joshua Purcell : There is a complete FAIL in this versionand all other versions like 3.* THEY ALL FREEZE UP MY SYSTEM (Windows) HELP -- components: Windows messages: 121227 nosy: 08jpurcell priority: normal severity: normal status: open title: The whole thing is NOT

[issue11434] Python 3.2 input() does not remove "\r" at the end of returned string.

2011-03-07 Thread Joshua Logan
New submission from Joshua Logan : Hello, It is mentioned in the documentation for input() ( http://docs.python.org/py3k/library/functions.html#input ) that the newline is stripped from the end of the returned string. However, on Windows, it used to trim '\r\n'. Now it no longer

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-02 Thread Joshua Lock
Changes by Joshua Lock : -- nosy: +joshual ___ Python tracker <http://bugs.python.org/issue8194> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10988] Descriptor protocol documentation for super bindings is incorrect

2011-01-23 Thread Joshua Arnold
New submission from Joshua Arnold : In 'Doc/reference/datamodel.rst', the 'Invoking Descriptors' documentation specifies the following behavior for super objects: [snip] Super Binding If ``a`` is an instance of :class:`super`, then the binding ``super(B, obj).

[issue11007] stack tracebacks should give the relevant class name

2011-01-25 Thread Joshua Blount
New submission from Joshua Blount : When I get a stack traceback, it would be very handy if the traceback gave me the relevant class name (along with all the current information). -- components: Interpreter Core messages: 127015 nosy: stickwithjosh priority: normal severity: normal

[issue11007] stack tracebacks should give the relevant class name

2011-01-25 Thread Joshua Blount
Joshua Blount added the comment: Yes! -- ___ Python tracker <http://bugs.python.org/issue11007> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2138] Add a factorial function

2008-05-31 Thread Joshua Uziel
Joshua Uziel <[EMAIL PROTECTED]> added the comment: Or slightly better: from operator import mul def factorial(num): return reduce(mul, range(2, num+1), 1) ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2138] Add a factorial function

2008-05-31 Thread Joshua Uziel
Joshua Uziel <[EMAIL PROTECTED]> added the comment: It's a simplified version, but why not something like this: import operator def factorial(num): return reduce(operator.mul, range(1, num+1)) A product() function could also be done similarly. --

[issue3384] Documentation for re.findall and re.finditer lacks "ordering" information

2008-07-16 Thread Joshua Kugler
New submission from Joshua Kugler <[EMAIL PROTECTED]>: According to a discussion on comp.lang.python, re.findall and re.finditer scan strings from left to right, and returns them in the order it found them. It would be nice to note that in documentation. -- assignee: georg.

[issue3384] Documentation for re.findall and re.finditer lacks "ordering" information

2008-07-19 Thread Joshua Kugler
Joshua Kugler <[EMAIL PROTECTED]> added the comment: That looks good. Thanks! ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3384> ___ __

[issue3742] Parsing XML file with Unicode characters causes problem

2008-08-31 Thread Joshua Logan
New submission from Joshua Logan <[EMAIL PROTECTED]>: Python 3.0b2 will not parse the XML file located at http://rubyquiz.com/SongLibrary.xml.gz It complains of a UnicodeEncodeError 'charmap' codec can't encode character '\xc8' in position 45: ch aracter maps t

[issue7734] discuss mark-as-invalid trick in heapq docs

2010-01-18 Thread Joshua Bronson
New submission from Joshua Bronson : Though the heapq module does not support changing the priority of a particular element of the heap (a necessary operation for the A* search family of algorithms), such an element can be marked as invalid and a new element can be added with different

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
New submission from Joshua Bronson : os.makedirs' mode argument defaults to a hardcoded value of 511 (0777 in octal). This forces the caller to either pass in a different hardcoded value (commonly 0750), or to implement a workaround that calculates the expected mode based on the pr

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
Joshua Bronson added the comment: Ah, I was misunderstanding the behavior of mkdir, thank you for the explanation. My misunderstanding stemmed from recently coming across two widely-used packages which both pass mode=0750 to os.makedirs. I have no idea why they would be doing this (as it

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
Joshua Bronson added the comment: > My suspicion is that people setting explicit file permissions > typically know what they are doing, and that you will find that > your tickets get closed as invalid, explaining to you that this > mode usage is fully intentional. For what it'

[issue21041] pathlib.PurePath.parents rejects negative indexes

2019-09-13 Thread Joshua Cannon
Joshua Cannon added the comment: > it may explain why negative indices or slices were initially not implemented: > It already looks like the result of a slice. Sure the values of the sequence could be thought of as being increasingly smaller slices of some other sequence, however I

[issue35498] Parents objects in pathlib.Path don't support slices as __getitem__ arguments

2019-09-13 Thread Joshua Cannon
Joshua Cannon added the comment: Pretty much the same reason you would want to slice any other sequence. You want some range of values. top_most_3_dirs = myPath.parents[-3:] grandparents_and_beyond = myPath.parents[1:] The same goes for negative indexes

[issue38360] single-argument form of -isysroot should be supported

2019-10-03 Thread Joshua Root
New submission from Joshua Root : The path associated with the -isysroot compiler flag can be supplied either as a separate argument or in the same argument as -isysroot itself. The places in library code that do special handling of this flag should support both forms, but currently only

[issue38014] ./configure on recent macOS versions can fail with multiple "present but cannot be compiled" messages

2019-10-13 Thread Joshua Root
Joshua Root added the comment: The crash reported by BMinas is reputedly related to the -fstack-check option, which is said to be on by default when MACOSX_DEPLOYMENT_TARGET=10.15. I've been unable to confirm whether there was just a bug in the beta, or if it's still a problem on

[issue38360] single-argument form of -isysroot should be supported

2019-11-05 Thread Joshua Root
Joshua Root added the comment: Ping? -- ___ Python tracker <https://bugs.python.org/issue38360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-03-20 Thread Joshua Root
New submission from Joshua Root : The `-undefined dynamic_lookup` option can only be used in LDSHARED on Mac OS X 10.3 and later. There is a fallback to explicitly linking with the framework for 10.2 and earlier. I'm pretty sure that currently supported Python versions don't build

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-03-20 Thread Joshua Root
Change by Joshua Root : -- keywords: +patch pull_requests: +23702 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24941 ___ Python tracker <https://bugs.python.org/issu

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-04-02 Thread Joshua Root
Joshua Root added the comment: Here's the PR for pypa/distutils, which is just relaxing the MDT check since it has to work with older Python versions: https://github.com/pypa/distutils/pull/36 -- ___ Python tracker <https://bugs.py

[issue27815] Make SSL suppress_ragged_eofs default more secure

2021-04-05 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue27815> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43751] await anext() returns None when default is given

2021-04-08 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue43751> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-05-07 Thread Joshua Root
Joshua Root added the comment: Thanks Ned. Would it be OK to backport just the distutils change to 3.9? -- ___ Python tracker <https://bugs.python.org/issue43

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-05-08 Thread Joshua Root
Joshua Root added the comment: The part that is a bug is that the whole version was checked, not just the major version--you couldn't target macOS 11.0 if your Python was built for 11.3, for example. MacPorts users getting an error in that situation was the original motivation for comi

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-05-08 Thread Joshua Root
Change by Joshua Root : -- pull_requests: +24654 pull_request: https://github.com/python/cpython/pull/26001 ___ Python tracker <https://bugs.python.org/issue43

[issue43468] functools.cached_property incorrectly locks the entire descriptor on class instead of per-instance locking

2021-08-01 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue43468> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44853] 3.1.10rc1 published md5 and size do not match for source archives

2021-08-06 Thread Joshua Root
New submission from Joshua Root : The download page lists the following: Filenamemd5 size Python-3.10.0rc1.tgzc051bf7a52a45cb0ec2cefbe915417e1 40764776 Python-3.10.0rc1.tar.xz 2861cdd4cf71c6425fde1fedc14bb283 28197832 The downloaded files

[issue44853] 3.10.0rc1 published md5 and size do not match for source archives

2021-08-06 Thread Joshua Root
Change by Joshua Root : -- title: 3.1.10rc1 published md5 and size do not match for source archives -> 3.10.0rc1 published md5 and size do not match for source archives ___ Python tracker <https://bugs.python.org/issu

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-20 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue44963> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40890] Dict views should be introspectable

2021-10-11 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab nosy_count: 6.0 -> 7.0 pull_requests: +27187 pull_request: https://github.com/python/cpython/pull/28892 ___ Python tracker <https://bugs.python.org/issu

[issue45670] New .mapping attribute is broken for some existing uses of dict views

2021-10-29 Thread Joshua Bronson
New submission from Joshua Bronson : As of bpo-40890 (released in Python 3.10), dict views now provide a public .mapping attribute, intended to allow users to recover a mappingproxy pointing to the original mapping. However, this new attribute can actually point to the wrong mapping for some

[issue45863] tarfile zeroes ustar header fields unnecessarily

2021-11-22 Thread Joshua Root
New submission from Joshua Root : When using the pax format, tarfile will zero out the field in the ustar header for any values that are represented with a float, setting the correct value only in the pax header. This mainly seems to apply to the mtime. This behaviour doesn't cause pro

[issue45863] tarfile zeroes ustar header fields unnecessarily

2021-11-22 Thread Joshua Root
Change by Joshua Root : -- keywords: +patch pull_requests: +27931 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29693 ___ Python tracker <https://bugs.python.org/issu

[issue39819] NULL pointer crash in Modules/_cursesmodule.c in PyInit__curses() on MIPS uclibc-ng and ncurses-6.2

2020-03-01 Thread Joshua Kinard
New submission from Joshua Kinard : Inside a MIPS O32 chroot, based on uclibc-ng-1.0.32, if python-27 or python-3.7 are built against ncurses-6.2, then after compilation, there is a crash in the '_curses' module. Specific to Python-3.7, the crash is in Modules/_cursesmod

[issue39410] CentOS 6.10 SQLite 3.30.1 - _sqlite3 builds successfully but is removed because it cannot be imported.

2020-03-21 Thread Joshua Y
Joshua Y added the comment: I am hitting a possibly related issue. System is running Centos6.9 and SQLite 3.10.0. Python 3.8.2 built successfully (using pyenv / python-build), and I can import the sqlite3 lib with seemingly no issue... % python3 Python 3.8.2 (default, Mar 21 2020, 20:15:25

[issue39410] CentOS 6.10 SQLite 3.30.1 - _sqlite3 builds successfully but is removed because it cannot be imported.

2020-03-21 Thread Joshua Y
Joshua Y added the comment: It always a good idea to sleep on these things before I comment. Because I compiled SQLite3 under prefix /usr/local, I rebuilt Python 3.8.2 with `-L /usr/local/lib64` added to my LDFLAGS and now things are working fine (so far

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2020-04-06 Thread Joshua Merchant
Change by Joshua Merchant : -- nosy: +Joshua Merchant ___ Python tracker <https://bugs.python.org/issue36753> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38360] single-argument form of -isysroot should be supported

2020-04-22 Thread Joshua Root
Joshua Root added the comment: That ValueError I mentioned causes build failures for extension modules whenever the CFLAGS in sysconfig contains an -isysroot flag in the single arg form. We ran into it a lot in MacPorts on Mojave and Catalina. So I would consider it a bug, and would prefer

[issue31122] SSLContext.wrap_socket() throws OSError with errno == 0

2020-05-12 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue31122> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31601] Availability of utimensat, futimens not checked correctly on macOS

2020-12-08 Thread Joshua Root
Joshua Root added the comment: Looks like this is fixed as of 3.9.1. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42598] Some configure checks rely on implicit function declaration

2020-12-08 Thread Joshua Root
New submission from Joshua Root : There are several cases in the configure script of exit being used without including stdlib.h, and one case of close being used without including unistd.h. A compiler that does not allow implicit function declaration, such as clang in Xcode 12, will error

[issue42598] Some configure checks rely on implicit function declaration

2020-12-08 Thread Joshua Root
Change by Joshua Root : -- keywords: +patch pull_requests: +22558 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23690 ___ Python tracker <https://bugs.python.org/issu

[issue41617] __builtin_bswap16 is used without checking it is supported

2020-12-08 Thread Joshua Root
Joshua Root added the comment: Confirmed fixed in 3.9.1 and 3.10.0a3. Thanks Victor! -- ___ Python tracker <https://bugs.python.org/issue41617> ___ ___ Pytho

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-12-13 Thread Joshua Root
Joshua Root added the comment: Are there plans to backport PR 22855 to any branches older than 3.9? -- nosy: +jmr ___ Python tracker <https://bugs.python.org/issue41

[issue31861] add aiter() and anext() functions to operator module

2020-12-18 Thread Joshua Bronson
Change by Joshua Bronson : -- pull_requests: +22708 pull_request: https://github.com/python/cpython/pull/23847 ___ Python tracker <https://bugs.python.org/issue31

[issue31861] add aiter() and anext() functions

2020-12-18 Thread Joshua Bronson
Joshua Bronson added the comment: Please see https://github.com/python/cpython/pull/23847 for the C implementation of aiter and anext added to builtins, as requested. -- title: add aiter() and anext() functions to operator module -> add aiter() and anext() functi

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2020-12-20 Thread Joshua Root
New submission from Joshua Root : The line in posixmodule.c that checks for __builtin_available is rejected by compilers that don't have __has_builtin. The second check needs to be in a nested #if. -- components: Build, macOS messages: 383437 nosy: jmr, ned.deily, ronaldous

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2020-12-20 Thread Joshua Root
Change by Joshua Root : -- keywords: +patch pull_requests: +22735 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23873 ___ Python tracker <https://bugs.python.org/issu

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2021-02-03 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue14757> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43246] Dict copy optimization violates subclass invariant

2021-02-17 Thread Joshua Bronson
New submission from Joshua Bronson : If I understand correctly, it should be an invariant that in the code below, for all "Parent" classes, for all "method"s, Child1.method should return the same result as Child2.method: ``` class Parent: def __init__(self, value):

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-05-25 Thread Joshua Walden
Joshua Walden added the comment: I am interesting in contributing and would like to claim this issue. -- nosy: +Joshua Walden ___ Python tracker <https://bugs.python.org/issue40

[issue40916] Proposed tweak to allow for per-task async generator semantics

2020-06-08 Thread Joshua Oreman
New submission from Joshua Oreman : The current async generator finalization hooks are per-thread, but sometimes you want different async generator semantics in different async tasks in the same thread. This is currently challenging to implement using the thread-level hooks. I'm propos

[issue32884] Adding the ability for getpass to print asterisks when password is typed

2020-06-24 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue32884> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32561] Add API to io objects for cache-only reads/writes

2020-07-04 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue32561> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13322] The io module doesn't support non-blocking files

2020-07-04 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue13322> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22239] asyncio: nested event loop

2020-07-07 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue22239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40816] Add missed AsyncContextDecorator to contextlib

2020-07-25 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue40816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41451] Class with __weakref__ slot cannot inherit from multiple typing.Generic classes

2020-07-31 Thread Joshua Bronson
New submission from Joshua Bronson : This appears to be a bug in Python 3.6 that I hit while trying to add type hints to my bidirectional mapping library (https://bidict.rtfd.io). Pasting a working, minimal repro below for easier inline viewing, and also attaching for easier downloading and

[issue41451] Class with __weakref__ slot cannot inherit from typing.Generic subclass

2020-07-31 Thread Joshua Bronson
Joshua Bronson added the comment: It turns out that this bug reproduces with any subclass of the generic type with a weakref slot, even without any multiple inheritance going on. For example: class Invertible2(Invertible[KT1, KT2]): pass is enough to trigger this bug along with the

[issue41451] Cannot subclass typing.Generic with __weakref__ slot in Python 3.6

2020-07-31 Thread Joshua Bronson
Joshua Bronson added the comment: Whittled this down to an even more minimal repro: """Repro for Python 3.6 slots + weakref + typing.Generic subclass bug.""" from typing import Generic, TypeVar from weakref import ref T = TypeVar("T") class MyGen

[issue41451] Cannot subclass typing.Generic with __weakref__ slot in Python 3.6

2020-07-31 Thread Joshua Oreman
Joshua Oreman added the comment: The problem appears to be occurring when the base class is subscripted, not when it's inherited. I can reproduce this issue on Python 3.6.10 by just evaluating Base[T]. 'del Base.__slots__' after Base is constructed seems to work around the is

[issue41451] Cannot subclass typing.Generic with __weakref__ slot in Python 3.6

2020-08-01 Thread Joshua Bronson
Joshua Bronson added the comment: Thanks so much, @oremanj! Indeed, merely subscripting the class triggers the bug, and your 'del slots' workaround does the trick! For completeness, there is an updated (yet more minimal) repro below/attached. """Repro for P

[issue41303] perf_counter result does not count system sleep time in Mac OS

2020-08-04 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker <https://bugs.python.org/issue41303> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-11 Thread Joshua Oreman
Joshua Oreman added the comment: This doesn't appear to have been backported to 3.7, even though it's in 3.6.6 and 3.8.0a0. -- nosy: +Joshua Oreman, lukasz.langa ___ Python tracker <https://bugs.python.o

[issue14527] How to link with a non-system libffi?

2020-08-14 Thread Joshua Merchant
Change by Joshua Merchant : -- nosy: +Joshua Merchant ___ Python tracker <https://bugs.python.org/issue14527> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   4   >