[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-08-02 Thread miss-islington
miss-islington added the comment: New changeset c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2 by Miss Islington (bot) (Ngalim Siregar) in branch 'master': bpo-37444: Update differing exception between builtins and importlib (GH-14869)

[issue37749] ipaddress - is_global method all multicast addresses and networks return true

2019-08-02 Thread Brandon James
Change by Brandon James : -- keywords: +patch pull_requests: +14833 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15088 ___ Python tracker ___

[issue37749] ipaddress - is_global method all multicast addresses and networks return true

2019-08-02 Thread Brandon James
New submission from Brandon James : When using the ipaddress library, all multicast addresses and networks return True when using the is_global method for their respective classes. I believe their are two possible fixes for this. 1) In practice no multicast addresses are globally routable.

[issue37627] IDLE: populate Run Customized arguments with previous entry

2019-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issues fixed item 2 above. Re-ordering the Run menu is #37748 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> IDLE: Re-order run menu title: Minor improvements to IDLE's "Run Customized" -> IDLE:

[issue37748] IDLE: Re-order run menu

2019-08-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : With the addition of Run Customized, the run menu looks like Python Shell Check Module Run Module Run... Customized This order resulted from Check and Run Module originally being implemented as extensions, which forced them to be below Python Shell. The

[issue37746] Provide Windows predefined access type constants

2019-08-02 Thread Eryk Sun
Eryk Sun added the comment: > Perhaps _winapi is the best place? It already includes CreateFile and > OpenProcess, both of which also use these flags and already have some > of the "preconstructed" values exposed. I'd like to see an os.windows namespace, with os.windows.constants and

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-08-02 Thread Aaron Meurer
Aaron Meurer added the comment: This seems related. It's also possible I'm misunderstanding what is supposed to happen here. If you create test.py with just the 2 lines: """ a and run python test.py from CPython master, you get $./python.exe test.py File

[issue37746] Provide Windows predefined access type constants

2019-08-02 Thread Steve Dower
Steve Dower added the comment: At least the first five can be used to open keys with even less rights than default, which can sometimes be necessary for keys with obscure ACLs. Having the constants present is also helpful when rendering a text view. Perhaps _winapi is the best place? It

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Steve Dower
Steve Dower added the comment: > I think it's possible that there is code that detects whether AF_UNIX is an > attribute on socket or not and does something different on Windows, but I > haven't seen an example of it so far. One of the test suites linked above had a

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Marking this easy/newcomer friendly. This should catch the ModuleNotFoundError raised when _crypt is missing and raise a more informative ImportError saying that crypt is unsupported. All the other modules that are missing are native extension modules that are

[issue31476] Stdlib source files not installed

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Closing this as out of date, but if you're still watching Zero, make sure you aren't browsing the __pycache__ directory instead of the source directories. We definitely ship sources with all of our distributions. -- resolution: -> out of date stage:

[issue31612] Building 3.6 fails on Windows

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread miss-islington
miss-islington added the comment: New changeset a49f203e052c6fb1244d4e55c3fccc439dda0e2e by Miss Islington (bot) in branch '3.7': bpo-30974: Change os.path.samefile docstring to match docs (GH-7337) https://github.com/python/cpython/commit/a49f203e052c6fb1244d4e55c3fccc439dda0e2e

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread miss-islington
miss-islington added the comment: New changeset 6b833901fe9053937c289c6371bb731c9aceb58e by Miss Islington (bot) in branch '3.8': bpo-30974: Change os.path.samefile docstring to match docs (GH-7337) https://github.com/python/cpython/commit/6b833901fe9053937c289c6371bb731c9aceb58e

[issue34026] Request for 2 Windows installation changes.

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue33220] Antivirus hits on python-2.7.14.amd64.msi file

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34232] Python3.7.0 exe installers (32 and 64 bit) failing on Windows7

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Sorry about forgetting this - this is an issue with certain security configurations where variables are not passed across the Administrator boundary properly (and the subinstallers are automatically elevated to Administrator). If you right click the installer

[issue1327594] Static Windows Build fails to locate existing installation

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue34142] Windows launcher version lookup flawed

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Still needs a 2.7 backport if someone would like to do it. -- ___ Python tracker ___ ___

[issue31534] python 3.6.2 installation failed 0x80070002 error

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread Steve Dower
Steve Dower added the comment: I'm not personally thrilled about it being documented like this, but it's certainly how the current documentation reads. Consistency is better until we get motivated enough to fix all of it. Thanks for the patch! -- stage: patch review -> backport

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14831 pull_request: https://github.com/python/cpython/pull/15086 ___ Python tracker ___

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14832 pull_request: https://github.com/python/cpython/pull/15087 ___ Python tracker ___

[issue30974] Update os.samefile docstring to match documentation

2019-08-02 Thread Steve Dower
Steve Dower added the comment: New changeset 8e568ef266a2805f9a6042003723d9c050830461 by Steve Dower (Timo Furrer) in branch 'master': bpo-30974: Change os.path.samefile docstring to match docs (GH-7337) https://github.com/python/cpython/commit/8e568ef266a2805f9a6042003723d9c050830461

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread miss-islington
miss-islington added the comment: New changeset 79af3bd1d170ed6a72a5c126e862590cdbf192d7 by Miss Islington (bot) in branch '3.8': bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) https://github.com/python/cpython/commit/79af3bd1d170ed6a72a5c126e862590cdbf192d7 --

[issue34470] windows msi in headless mode fails to install Script directory on reinstall if the python folder was deleted but not uninstalled

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34564] Tutorial Section 2.1 Windows Installation Path Correction

2019-08-02 Thread Steve Dower
Steve Dower added the comment: I updated this section in a separate issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread miss-islington
miss-islington added the comment: New changeset 1ff7dd681c7f3e31524bfada6d6d2786d4e37704 by Miss Islington (bot) in branch '3.7': bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) https://github.com/python/cpython/commit/1ff7dd681c7f3e31524bfada6d6d2786d4e37704 --

[issue33617] subprocess.Popen etc do not accept os.PathLike in passed sequence on Windows

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

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

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

[issue21983] segfault in ctypes.cast

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- assignee: steve.dower -> stage: patch review -> backport needed versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue34562] cannot install versions 3.6.5+ on Windows

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35058] Unable to Install Python on Windows

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33779] Error while installing python 3.6.5 on windows 10

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23451] Deprecation warnings building 3.5 Visual Studio Windows 8.1 64 bit

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

[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

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

[issue32326] Update Build projects to version 10.0.16299.0 of the Windows 10 SDK.

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14829 pull_request: https://github.com/python/cpython/pull/15084 ___ Python tracker ___

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread Steve Dower
Steve Dower added the comment: New changeset 7ea9a85f132b32347fcbd2cbe1b553a2e9890b56 by Steve Dower (Timothy Hopper) in branch 'master': bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) https://github.com/python/cpython/commit/7ea9a85f132b32347fcbd2cbe1b553a2e9890b56

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14830 pull_request: https://github.com/python/cpython/pull/15085 ___ Python tracker ___

[issue20523] global .pdbrc on windows 7 not reachable out of the box

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Paul Monson
Paul Monson added the comment: If you try to create a datagram socket with the current AF_UNIX changes on Windows the error is: OSError: [WinError 10047] An address incompatible with the requested protocol was used All of the examples given will fail to load with AttributeError on Windows

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

2019-08-02 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20391] windows python launcher should support explicit 64-bit version

2019-08-02 Thread Steve Dower
Steve Dower added the comment: This has been implemented. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue36394] test_multiprocessing_spawn fails on Windows7 3.x buildbot

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

[issue36311] Flaw in Windows code page decoder for large input

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14828 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/15083 ___ Python tracker

[issue36311] Flaw in Windows code page decoder for large input

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36311] Flaw in Windows code page decoder for large input

2019-08-02 Thread Steve Dower
Steve Dower added the comment: If we reduce our chunk size below INT_MAX, then we avoid the issue entirely. Our logic for hitting the middle of a multibyte character is fine (perhaps fixed since this issue was opened?), there's just a weird edge case at 2 GiB in the API call. As a bonus,

[issue36077] Inheritance dataclasses fields and default init statement

2019-08-02 Thread Daniel Lepage
Daniel Lepage added the comment: A simpler way to merge them would be to make all arguments after a default argument keyword-only, e.g. __index__(self, i, j=0, *, k, l=0) It does mean you'd have to explicitly write e.g. Child(1, k=4), but that's a lot more readable than seeing Child(1, 4)

[issue37746] Provide Windows predefined access type constants

2019-08-02 Thread Eryk Sun
Eryk Sun added the comment: The STANDARD_RIGHTS_* and SPECIFIC_RIGHTS_ALL constants aren't used much in practice. Do you have a particular case that needs them? I don't think we have direct use for the standard rights constants in winreg. For example, deleting a key via winreg.DeleteKeyEx

[issue36557] Python (Launcher)3.7.3 CMDLine install/uninstall

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Sorry for the slow reply. > immediately begin removing Python - no prompt will be displayed This is meant to imply that no *confirmation* prompt will be displayed before uninstall starts. Documentation patches are welcome :) > tell me something about passive

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2019-08-02 Thread Michael Felt
Michael Felt added the comment: Issue36210 needs a back-port to 3.7 and 3.6. -- ___ Python tracker ___ ___ Python-bugs-list

[issue31226] shutil.rmtree fails when target has an internal directory junction (Windows)

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Sorry for being slow to review, I just added a few more comments on the PR and I think we're nearly done. -- versions: +Python 3.9 -Python 3.6 ___ Python tracker

[issue36590] Add Bluetooth RFCOMM Support for Windows

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker

[issue36590] Add Bluetooth RFCOMM Support for Windows

2019-08-02 Thread Steve Dower
Steve Dower added the comment: New changeset 8fbece135d7615e836a845ca39223097046c8b8b by Steve Dower (Greg Bowser) in branch 'master': bpo-36590: Add Bluetooth RFCOMM and support for Windows. (GH-12767) https://github.com/python/cpython/commit/8fbece135d7615e836a845ca39223097046c8b8b

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Most of those examples would break today if run on Windows, though (AttributeError). So they'd just continue to break, probably with a different error (I'm not clear what happens if we specify SOCK_DGRAM with this change). Having an undocumented field doesn't

[issue36683] duplicate method definition in Lib/test/test_utf8_mode.py

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36678] duplicate method definitions in Lib/test/test_dataclasses.py

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36681] duplicate method definition in Lib/test/test_logging.py

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36680] duplicate method definition in Lib/test/test_importlib/test_util.py

2019-08-02 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2019-08-02 Thread Tal Einat
Change by Tal Einat : -- nosy: +Michael.Felt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37724] [[Errno 17] File exists: ] # Try create directories that are not part of the archive with

2019-08-02 Thread Tal Einat
Tal Einat added the comment: Hi Tal, could you please make your report clearer by giving more context? Right now it is very hard to understand. The following would be helpful: * What are you trying to do that is failing? (perhaps extract a Zip archive?) * Which libraries/classes/functions

[issue37745] 3.8b3 - windows install gui/ inconsistent options

2019-08-02 Thread Steve Dower
Steve Dower added the comment: The "for all users" checkbox you refer to only applies to the launcher, which is why it is immediately alongside the option to install the launcher (and above the comment about the launcher). The "Install for all users" option on the final page is for the

[issue37747] _markupbase.py fails with TypeError on invalid keyword in marked section

2019-08-02 Thread bp256r1
New submission from bp256r1 :

Hello,

I'm not sure if this a bug, but I noticed that a TypeError is raised by the 
parse_marked_section function of the _markupbase module in Python 3.7.4 when 
attempting to parse a name token of 

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-08-02 Thread Eric Snow
Eric Snow added the comment: New changeset 375f35be0688da0fc0f27afc4faea76590d7c24d by Eric Snow (Miss Islington (bot)) in branch '3.8': bpo-36487: Make C-API docs clear about what the main interpreter is. (gh-15080)

[issue37746] Provide Windows predefined access type constants

2019-08-02 Thread Steve Dower
New submission from Steve Dower : We currently do not provide the standard access type constants anywhere, despite providing some of the specific access type flags (e.g. in `winreg`): #define DELETE (0x0001L) #define READ_CONTROL (0x0002L)

[issue37745] 3.8b3 - windows install gui/ inconsistent options

2019-08-02 Thread Christopher Brousseau
New submission from Christopher Brousseau : When installing 3.8.0b3 64-bit into Win 10 using the gui following the `customize installation` path, there are duplicate and inconsistent options on three different screens for the `install for all users` checkbox. Observed Behavior: 1. first

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14827 pull_request: https://github.com/python/cpython/pull/15081 ___ Python tracker ___

[issue37742] logging.getLogger accepts name='root' leading to confusion

2019-08-02 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14826 pull_request: https://github.com/python/cpython/pull/15080 ___ Python tracker ___

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-08-02 Thread Eric Snow
Eric Snow added the comment: Thanks, Joannah! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue37742] logging.getLogger accepts name='root' leading to confusion

2019-08-02 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset cb65b3a4f484ce71dcb76a918af98c7015513025 by Vinay Sajip in branch 'master': bpo-37742: Return the root logger when logging.getLogger('root') is c… (#15077) https://github.com/python/cpython/commit/cb65b3a4f484ce71dcb76a918af98c7015513025

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-08-02 Thread Eric Snow
Eric Snow added the comment: New changeset 854d0a4b98b13629252e21edaf2b785b429e5135 by Eric Snow (Joannah Nanjekye) in branch 'master': bpo-36487: Make C-API docs clear about what the main interpreter is. (gh-12666)

[issue17254] add thai encoding aliases to encodings.aliases

2019-08-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14825 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15079 ___ Python tracker

[issue34488] improve performance of BytesIO.writelines() by avoiding creation of unused PyLongs

2019-08-02 Thread Sergey Fedoseev
Sergey Fedoseev added the comment: `BytesIO.write()` and `BytesIO.writelines()` are independent of each other. -- ___ Python tracker ___

[issue17254] add thai encoding aliases to encodings.aliases

2019-08-02 Thread Benjamin Wood
Benjamin Wood added the comment: >From what I can tell cp874 != ibm_874 != iso_8859_11 What I can say is that the current cp874 is the implementation of the windows_874 code page. The page itself references the microsoft code page, and also contains the appropriate characters (like EURO

[issue29036] logging module: Add `full_module_name` to LogRecord details

2019-08-02 Thread João Eiras
João Eiras added the comment: Hi. I ask for this to be reconsidered. The "recommended" approach of using "getLogger(__name__)" comes with some downsides. In my projects I often have many many files (in one particularly I have hundreds) and creating Logger object for each and every file, so

[issue37742] logging.getLogger accepts name='root' leading to confusion

2019-08-02 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +14824 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15077 ___ Python tracker ___

[issue37742] logging.getLogger accepts name='root' leading to confusion

2019-08-02 Thread Vinay Sajip
Change by Vinay Sajip : -- assignee: -> vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Michael Felt added the comment: On 02/08/2019 11:57, Michael Felt wrote: > On 02/08/2019 11:48, Ronald Oussoren wrote: >> Ronald Oussoren added the comment: >> >> That code is only called if THREAD_STACK_SIZE is defined. The block I >> mention defines it for macOS and FreeBSD, but not for

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Michael Felt added the comment: On 02/08/2019 11:48, Ronald Oussoren wrote: > Ronald Oussoren added the comment: > > That code is only called if THREAD_STACK_SIZE is defined. The block I mention > defines it for macOS and FreeBSD, but not for other platforms. I therefore > expect that this

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2019-08-02 Thread LIU YONG
LIU YONG added the comment: Additional information of environment OS - AIX 7.1 (7100-05-03-1838) gcc version 6.3.0 (GCC) ncurses-6.1-2.ppc ncurses-devel-6.1-2.ppc I had tried to build Python3.7.3 and Python3.6.9, it hit same errors It looks like some issue with ncurses version --

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Michael Felt added the comment: Going to take a stab in the dark - the the issue lies here: "./Python/errors.c" #ifndef Py_NORMALIZE_RECURSION_LIMIT #define Py_NORMALIZE_RECURSION_LIMIT 32 #endif As there is not enough memory for this to run in the default memory model. However, 32 does not

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: That code is only called if THREAD_STACK_SIZE is defined. The block I mention defines it for macOS and FreeBSD, but not for other platforms. I therefore expect that this code is not used on AIX (which would be easy enough to verify by adding an #error to

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Michael Felt added the comment: *** Looking in ./Python/thread_pthread.h" +252 #if defined(THREAD_STACK_SIZE) +253 PyThreadState *tstate = _PyThreadState_GET(); +254 size_t stacksize = tstate ? tstate->interp->pythread_stacksize : 0; +255 tss = (stacksize != 0) ?

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: @Michael: The relevant code is in Python/thread_pthread.h: https://github.com/python/cpython/blob/bf8162c8c45338470bbe487c8769bba20bde66c2/Python/thread_pthread.h#L34 There are already blocks for macOS and FreeBSD, adding a block for AIX should be easy

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-08-02 Thread Oleksandr Pavliuk
Oleksandr Pavliuk added the comment: Please, pay attention to this issue. Pull request needs core review. -- ___ Python tracker ___

[issue29636] Specifying indent in the json.tool command

2019-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Serhiy] > I don't think this PR should be merged. It adds too much options. [Daniel] > Since opening this issue, I've encountered several additional > instances where indentation control would have been nice. > I don't agree that jq is a sufficient

[issue18049] Re-enable threading test on macOS

2019-08-02 Thread Michael Felt
Michael Felt added the comment: @Ronald - thanks. Gives me something to work from. Would not have found this so easily! But - where to put it... :) -- nosy: +Michael.Felt ___ Python tracker

[issue14384] Add "default" kw argument to operator.itemgetter and operator.attrgetter

2019-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking as closed for the reasons listed above. And there has been no further comments for over a year. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue37729] gc: stats from multi process are mixed up

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14823 pull_request: https://github.com/python/cpython/pull/15076 ___ Python tracker ___

[issue37729] gc: stats from multi process are mixed up

2019-08-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset bf8162c8c45338470bbe487c8769bba20bde66c2 by Inada Naoki in branch 'master': bpo-37729: gc: write stats at once (GH-15050) https://github.com/python/cpython/commit/bf8162c8c45338470bbe487c8769bba20bde66c2 --

[issue37742] logging.getLogger accepts name='root' leading to confusion

2019-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: It looks like the issue is that the root logger is missing from the manager's loggerDict. A suggested fix is to change the creation of the loggerDict in the Manager class: - self.loggerDict = {} + self.loggerDict = {rootnode.name: rootnode}

[issue37743] How should contextmanager/ContextDecorator work with generators?

2019-08-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: