[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-20 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +5559 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-20 Thread Eric Snow
Eric Snow added the comment: New changeset f53d9f2778a87bdd48eb9030f782a4ebf9e7622f by Eric Snow in branch 'master': bpo-32604: Swap threads only if the interpreter is different. (gh-5778) https://github.com/python/cpython/commit/f53d9f2778a87bdd48eb9030f782a4

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-20 Thread Eric Snow
Eric Snow added the comment: New changeset eed3c7af4ec520d324a55e0357f41589a66906f7 by Eric Snow (Miss Islington (bot)) in branch '3.7': bpo-32604: Swap threads only if the interpreter is different. (gh-5783) https://github.com/python/cpython/commit/eed3c7af4ec520d324a55e0357f415

[issue32820] Add __format__ method to ipaddress

2018-02-23 Thread Eric Osborne
Eric Osborne added the comment: I dunno, I think this might be useful. A binary representation is itself a string, and takes formatting as such (ditto for hex, as hex(int()) returns a string: In [20]: a Out[20]: IPv4Address('1.2.3.4') In [92]: f'{a}' Out[92]: '1.2.

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread Eric Gorr
New submission from Eric Gorr : I have the following code: import multiprocessing from multiprocessing import Pool, Manager import time import random def worker_function( index, messages ): print( "%d: Entered" % index ) time.sleep( random.rand

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-26 Thread Eric Snow
Eric Snow added the comment: As far as I know, everything related to this issue is in a stable state. I have not been able to determine any way in which the reported memory leak (in test_multiprocessing_fork) could be related. Sorry, I didn't notice the release blocker priority. I d

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-26 Thread Eric Snow
Eric Snow added the comment: Still planned for 3.7: 1. add more tests in Lib/test/test__xxsubinterpreters.py 2. add test.support.interpreters (high-level module) 3. add more tests in Lib/test/test_interpreters.py At that point I'll start using the high-level module in test

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-27 Thread Eric Snow
Eric Snow added the comment: Sounds good, Ned. Sorry for my confusion. -- ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailin

[issue32973] Importing the same extension module under multiple names breaks non-reinitialisable extension modules

2018-03-02 Thread Eric Snow
Eric Snow added the comment: PEP 489 ("Multi-phase extension module initialization") is relevant here, so I've nosied Petr. -- nosy: +encukou ___ Python tracker <https://bugs.pyt

[issue32820] Add __format__ method to ipaddress

2018-03-04 Thread Eric Osborne
Eric Osborne added the comment: I have pushed out new diffs. * moved __format__ to _BaseAddress, where it should have been in the first place * redid format parser as regexp, as it was getting awfully complicated * added support for 'X' * added support for 's' by fallin

[issue23159] argparse: Provide equivalent of optparse.OptionParser.{option_groups, option_list, get_option}

2018-03-05 Thread Eric McDonald
Eric McDonald added the comment: Yes, this issue could be closed. I think the concept is still valid and perhaps worthy of future consideration as it is a means of unifying two different configuration processing mechanisms in the standard library without having developers reinvent that wheel

[issue26701] Documentation for int constructor mentions __int__ but not __trunc__

2018-03-07 Thread Eric Appelt
Change by Eric Appelt : -- keywords: +patch pull_requests: +5788 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue26701> ___ ___ Python-

[issue29712] --enable-optimizations does not work with --enable-shared

2018-03-12 Thread Eric Dujardin
Eric Dujardin added the comment: I have the same error when building 3.6.4, however not exactly with the same options. Some context first: $ lsb_release -d; lscpu |head -1 Description:Ubuntu 14.04.5 LTS Architecture: x86_64 $ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4

[issue28716] Fractions instantiation revisited

2018-03-13 Thread Eric Wieser
Eric Wieser added the comment: > Are you suggesting that _if_ they were to implement `as_integer_ratio` at > some point in the future, then they'd become compatible with `Fraction` Yes, exactly. Conversely, there's little gain in implementing it _until_ `Fraction` sup

[issue33093] Fatal error on SSL transport

2018-03-17 Thread Eric Toombs
New submission from Eric Toombs : I'm not exactly sure what caused this error, but I was a client receiving messages on a websocket for a while (about 12 hours). Suddenly all incoming data stopped, then nothing happened for about 5 hours. Finally, I received a ConnectionClosed an

[issue33104] Documentation for EXTENDED_ARG in dis module is incorrect for >=3.6

2018-03-19 Thread Eric Appelt
New submission from Eric Appelt : The documentation for the EXTENDED_ARG instruction in the dis module documentation refers to the way the opcode worked before 3.6: https://docs.python.org/3.6/library/dis.html#opcode-EXTENDED_ARG As I understand, since moving to 2-byte wordcode in 3.6, each

[issue32625] Update the dis module documentation to reflect switch to wordcode

2018-03-19 Thread Eric Appelt
Change by Eric Appelt : -- nosy: +Eric Appelt ___ Python tracker <https://bugs.python.org/issue32625> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33104] Documentation for EXTENDED_ARG in dis module is incorrect for >=3.6

2018-03-19 Thread Eric Appelt
Eric Appelt added the comment: Yes, thanks. I failed to see the duplicate searching for open issues, closing. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33093] Fatal error on SSL transport

2018-03-23 Thread Eric Toombs
Eric Toombs added the comment: Well, that looks good! Looking forward to 3.6.5! -- ___ Python tracker <https://bugs.python.org/issue33093> ___ ___ Python-bug

[issue33267] ctypes array types create reference cycles

2018-04-12 Thread Eric Wieser
New submission from Eric Wieser : Discovered in https://github.com/numpy/numpy/pull/10882/files#r180813166 A reproduction: ``` In [1]: import ctypes In [2]: def make_array_ctype(shape): ...: import ctypes ...: ct = ctypes.c_uint8 ...: for i in shape: ...: ct = i

[issue33267] ctypes array types create reference cycles

2018-04-12 Thread Eric Wieser
Eric Wieser added the comment: Apologies, I missed the important part of that snippet: ``` In [3]: gc.collect(); x = make_array_ctype((1,)); del x; gc.collect() Out[3]: 7 ``` -- ___ Python tracker <https://bugs.python.org/issue33

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-14 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6499 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-lis

[issue33492] Updating the Evaluation order section to cover *expression in calls

2018-05-15 Thread Eric Lebigot
Change by Eric Lebigot : -- nosy: +Eric Lebigot ___ Python tracker <https://bugs.python.org/issue33492> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-15 Thread Eric Snow
Eric Snow added the comment: New changeset 6bd0c476c58ca0046969f70dc2a4e4dfb3268062 by Eric Snow in branch '3.7': bpo-32604: Remove xid registry. (#6813) https://github.com/python/cpython/commit/6bd0c476c58ca0046969f70dc2a4e4

[issue33470] Changes from GH-1638 (GH-3575, bpo-28411) are not documented in Porting to Python 3.7

2018-05-15 Thread Eric Snow
Eric Snow added the comment: Yeah, I added an extra parameter. Since it's an internal API I didn't think anything of it. -- ___ Python tracker <https://bugs.python.o

[issue33454] Mismatched C function signature in _xxsubinterpreters.channel_close()

2018-05-15 Thread Eric Snow
Eric Snow added the comment: Thanks for catching this, Serhiy! I've approved the PR. -- ___ Python tracker <https://bugs.python.org/issue33454> ___ ___

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-15 Thread Eric Snow
Eric Snow added the comment: +1 on using ":" as the separator. -- ___ Python tracker <https://bugs.python.org/issue32414> ___ ___ Python-bugs-l

[issue31553] Extend json.tool to handle jsonlines (with a flag)

2017-09-25 Thread Eric Moyer
Eric Moyer added the comment: I planned to write the PR myself, on the principle of "it's my itch, I should scratch it." But if you think it is better for someone else to write it, you know the codebase better than I, and you know how long a PR takes to review/fix. My intention i

[issue28716] Fractions instantiation revisited

2017-11-05 Thread Eric Wieser
Eric Wieser added the comment: > allows Fraction instantiation from duck-typing classes that provide > as_integer_ratio This would allow the numpy `np.floating` types to take part in `Fraction` conversion as well, which would be great. As far as I can tell, `Decimal` already follow

[issue31801] vars() manipulation encounters problems with Enum

2017-11-15 Thread Eric Wieser
Eric Wieser added the comment: Not necessarily an argument against this feature, but two workarounds exist for this already: 1. Use `nonlocal` to prevent `value` going into the class namespace: value = None class BaudRate(enum.Enum): nonlocal value for value

[issue32086] C API: Clarify which C functions are safe to be called before Py_Initialize()

2017-11-20 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue32086> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-20 Thread Eric Snow
New submission from Eric Snow : (see the python-dev thread [1]) (related: issue #32086) When I consolidated the global runtime state into a single global, _PyRuntime, calls Py_DecodeLocale() started to break if the runtime hadn't been intialized yet. This is because that function reli

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-20 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +4418 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32096> ___ ___ Python-

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-21 Thread Eric Snow
Eric Snow added the comment: I see at least 3 ways to sort this out: 1. partially revert the _PyRuntime change, sort of temporarily ("revert the change on memory allocators, and retry later to fix it, once other initializations issues are fixed", as suggested by Victor in

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-21 Thread Eric Snow
Eric Snow added the comment: I thought issue #32086 was about documentation (which is worth having a separate issue for), not about a fix to the regression. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-21 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +4432 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32096> ___ ___ Python-bugs-list mai

[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

2017-11-21 Thread Eric Snow
Eric Snow added the comment: > IMHO for the long term, the best would be to have a structure for > pre-Py_Initialize configuration, maybe _PyCoreConfig, and pass it > to functions that can be called before Py_Initialize(). +1 As an alternative to that, we could also deprecate usi

[issue32124] Document functions safe to be called before Py_Initialize()

2017-11-24 Thread Eric Snow
Eric Snow added the comment: I've left a review (writing it as you merged the PR). My main concern is that we not promise more than we must. Every pre-init function or variable we promise to embedders represents global state that is hard to get rid of. It also entrenches pre-init AP

[issue32280] Expose `_PyRuntime` through a section name

2017-12-12 Thread Eric Snow
Eric Snow added the comment: Note that in the long term we are considering support for embedding multiple runtimes in a single process. So anything that assumes there is only a single runtime in each process is problematic. -- ___ Python tracker

[issue32377] Difference in ressurrection behavior with __del__ in py2 vs. py3

2017-12-19 Thread Eric Cousineau
New submission from Eric Cousineau : Due to how `PyObject_CallFinalizer` is written in python3, `__del__` will only *ever* be called once. In my use case, I am experimenting with a feature in `pybind11` to prevent slicing with Python class instances that inherit from pybind11-C++ base

[issue32377] Difference in ressurrection behavior with __del__ in py2 vs. py3

2017-12-19 Thread Eric Cousineau
Eric Cousineau added the comment: You're welcome, and thank you for the prompt response! I will say that it feels a tad odd to only have `tp_finalize` be called once for the entire lifetime of the object, while still having the option of it being resurrected. Is there any way to someho

[issue32248] Port importlib_resources (module and ABC) to Python 3.7

2017-12-19 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue32248> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6582 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue401713] Free extension DLLs' handles during the Py_Finalize()

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue401713> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23402] dynload_shlib does not close ldl handles when the interpreter is shut down

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue23402> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14597] Cannot unload dll in ctypes until script exits

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue14597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1144263] reload() is broken for C extension objects

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue1144263> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-16 Thread Eric Snow
Eric Snow added the comment: New changeset 6d2cd9036c0ab78a83de43d1511befb7a7fc0ade by Eric Snow in branch 'master': bpo-32604: Improve subinterpreter tests. (#6914) https://github.com/python/cpython/commit/6d2cd9036c0ab78a83de43d1511bef

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-17 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6607 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-17 Thread Eric Snow
Eric Snow added the comment: New changeset 3ab0136ac5d6059ce96d4debca89c5f5ab0356f5 by Eric Snow in branch 'master': bpo-32604: Implement force-closing channels. (gh-6937) https://github.com/python/cpython/commit/3ab0136ac5d6059ce96d4debca89c5

[issue33470] Changes from GH-1638 (GH-3575, bpo-28411) are not documented in Porting to Python 3.7

2018-05-21 Thread Eric Snow
Eric Snow added the comment: Under Py_LIMITED_API: typedef struct _is PyInterpreterState; Also, the actual removal of the "modules" field was reverted. The field is still there until I get back to fixing https://github.com/python/cpython

[issue23188] Provide a C helper function to chain raised (but not yet caught) exceptions

2018-05-22 Thread Eric Snow
Eric Snow added the comment: FTR, see PEP 490 ("Chain exceptions at C level") which proposed implicitly chaining exceptions in the PyErr_* API. While that PEP was rejected (not all exceptions should be chained), it does make a good point about the clunkiness of using _PyErr_Chain

[issue33607] Explicitly track object ownership (and allocator).

2018-05-22 Thread Eric Snow
New submission from Eric Snow : When an object is created it happens relative to the current thread (ergo interpreter) and the current allocator (part of global state). We do not track either of these details for the object. It may make sense to start doing so (reasons next). Regarding

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2018-05-22 Thread Eric Snow
New submission from Eric Snow : In order to keep subinterpreters properly isolated, objects from one interpreter should not be used in C-API calls in another interpreter. That is relatively straight-forward except in one case: indicating that the other interpreter doesn't need the obje

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2018-05-22 Thread Eric Snow
Eric Snow added the comment: As a lesser (IMHO) alternative, we could also modify Py_DECREF to respect a new "shared" marker of some sort (perhaps relative to #33607), but that would probably still require one of the refcount-based solutions (and add a branch to Py_DECREF). -

[issue23188] Provide a C helper function to chain raised (but not yet caught) exceptions

2018-05-22 Thread Eric Snow
Eric Snow added the comment: good point :) -- ___ Python tracker <https://bugs.python.org/issue23188> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-23 Thread Eric Snow
Eric Snow added the comment: I'll take a look. Thanks! -- assignee: -> eric.snow ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Py

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-23 Thread Eric Snow
Eric Snow added the comment: FTR, this started happening after the following commit: commit 6d2cd9036c0ab78a83de43d1511befb7a7fc0ade Author: Eric Snow Date: Wed May 16 15:04:57 2018 -0400 bpo-32604: Improve subinterpreter tests. (#6914) Add more tests for subinterpreters. This

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-23 Thread Eric Snow
Eric Snow added the comment: There are a couple of other buildbots with the same failure: ARMv7 Ubuntu 3.x: http://buildbot.python.org/all/#/builders/106/builds/1066 PPC64 AIX 3.x: http://buildbot.python.org/all/#/builders/10/builds/1005

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread Eric Snow
Eric Snow added the comment: Correct. These failures are only on master. -- ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-bugs-list m

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-24 Thread Eric Snow
Eric Snow added the comment: no worries :) -- ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33607] [subinterpreters] Explicitly track object ownership (and allocator).

2018-05-29 Thread Eric Snow
Eric Snow added the comment: Note that I wouldn't call this issue absolutely specific to subinterpreters. The "ownership" part is, but tracking the allocator has practical application under a single interpreter. I suppose I could split this issue apart. I lumped the two t

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-29 Thread Eric Snow
Eric Snow added the comment: I haven't been able to reproduce the issue thus far. From the assert in the buildbot logs, it's clear that I've decref'ed an object one too many times. Given the relevant PR, it's probably something I changed in the channel implemen

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-30 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6877 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-30 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +6876 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6914 ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6915 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12029] Allow catching virtual subclasses in except clauses

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue12029> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-31 Thread Eric Snow
Eric Snow added the comment: New changeset 110bc01407ac8c75545d0386577c6e17254d97d9 by Eric Snow in branch 'master': bpo-33615: Temporarily disable a test that is triggering crashes on a few buildbots. (gh-7288) https://github.com/python/cpyt

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-31 Thread Eric Snow
Eric Snow added the comment: New changeset 110bc01407ac8c75545d0386577c6e17254d97d9 by Eric Snow in branch 'master': bpo-33615: Temporarily disable a test that is triggering crashes on a few buildbots. (gh-7288) https://github.com/python/cpyt

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-05-31 Thread Eric Snow
Eric Snow added the comment: Thanks, Victor. I'll take a look. FYI, it seems that the same 3 buildbots from bpo-33615 are seeing these same test failures. -- ___ Python tracker <https://bugs.python.org/is

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-31 Thread Eric Snow
Eric Snow added the comment: FYI, I plan on closing this issue only *after* I've re-enabled the crashing test and it passes. :) -- ___ Python tracker <https://bugs.python.org/is

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: Okay, apparently this is only happening on 2 of the buildbots from bpo-33615: ARMv7 Ubuntu 3.x PPC64 AIX 3.x Judging by the failures I'm guessing that it's something related to handling of int64_t. I'm looking into it. -- assignee

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: I'm pretty sure at this point that the failures are due to using a %d format string for int64_t instead of %lld. I'll have a PR up shortly. -- ___ Python tracker <https://bugs.python.o

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +6959 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33724> ___ ___ Python-

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6960 ___ Python tracker <https://bugs.python.org/issue32604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 6854e803b73ac4d02ba160d514b8a53dd7a62905 by Eric Snow in branch 'master': bpo-33724: Use the right format code for int64_t in subinterpreters code. (gh-7330) https://github.com/python/cpython/commit/6854e803b73ac4d02ba160d514b8a5

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: The fix took care of the failures. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 63799136e6c0491bb5d6f4a234d5a775db3458db by Eric Snow in branch 'master': bpo-33615: Re-enable a subinterpreter test. (gh-7251) https://github.com/python/cpython/commit/63799136e6c0491bb5d6f4a234d5a7

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 63799136e6c0491bb5d6f4a234d5a775db3458db by Eric Snow in branch 'master': bpo-33615: Re-enable a subinterpreter test. (gh-7251) https://github.com/python/cpython/commit/63799136e6c0491bb5d6f4a234d5a7

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> pending ___ Python tracker <https://bugs.python.or

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-04 Thread Eric Snow
Eric Snow added the comment: This appears to be recurring on the "x86 Gentoo Refleaks 3.x" builder still. I was thrown off by the success of the first run after I landed my fix: http://buildbot.python.org/all/#/builders/1/builds/241 FYI, the other buildbots having this issue b

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-04 Thread Eric Snow
Eric Snow added the comment: Sorry for any confusion. This issue is still resolved. It is bpo-33615 that had an unexpected recurrence. I've re-opened that one. -- resolution: -> fixed status: open -> closed ___ Python trac

[issue21142] Daily/weekly ABI scan?

2018-06-04 Thread Eric Snow
Eric Snow added the comment: FTR, the issue of ABI breakage has come up quite a few times on the mailing list. Most recently: https://mail.python.org/pipermail/python-dev/2018-June/153775.html -- ___ Python tracker <https://bugs.python.

[issue21142] Daily/weekly ABI scan?

2018-06-04 Thread Eric Snow
Eric Snow added the comment: That email thread contains multiple references to scripts that may be used to identify ABI issues, among other good points. FWIW, when consolidating the C globals last year I added a tool to track the remaining globals: Tools/c-globals It is similar (at

[issue17045] Improve C-API doc for PyTypeObject

2018-06-04 Thread Eric Snow
Eric Snow added the comment: I'll definitely take a look. It might not be until Friday though. -- ___ Python tracker <https://bugs.python.org/is

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-04 Thread Eric Snow
Eric Snow added the comment: FTR, bpo-33724 is related -- ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-bugs-list mailing list Unsub

[issue17045] Improve C-API doc for PyTypeObject

2018-06-04 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +7038 ___ Python tracker <https://bugs.python.org/issue17045> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17045] Improve C-API doc for PyTypeObject

2018-06-04 Thread Eric Snow
Eric Snow added the comment: I found some time to at least get the patch to apply cleanly to master and to make a PR. :) -- ___ Python tracker <https://bugs.python.org/issue17

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Eric Snow
Eric Snow added the comment: @Christian, you can use the "blurb" tool to create the NEWS entry. You can use pip to install it. See: https://devguide.python.org/committing/?highlight=blurb#what-s-new-and-news-entries -- nosy:

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-08 Thread Eric Snow
Eric Snow added the comment: Yeah, I did a custom build the other day. Sorry about the delay in disabling the test again and thanks for getting it done. -- ___ Python tracker <https://bugs.python.org/issue33

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-08 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +7184 ___ Python tracker <https://bugs.python.org/issue33615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26698] Tk DPI awareness

2018-06-08 Thread Eric Fahlgren
Eric Fahlgren added the comment: Still blurry with 3.6.5 on Win 10 with a 2560x1600 monitor at 125% scaling (I compared it to 2.7.15, they looked identical). If I go to the Windows properties for pythonw.exe and turn on "Override high DPI scaling behavior" it's

[issue26698] Tk DPI awareness

2018-06-08 Thread Eric Fahlgren
Eric Fahlgren added the comment: I used the default Application setting. -- ___ Python tracker <https://bugs.python.org/issue26698> ___ ___ Python-bugs-list m

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-09 Thread Eric Fahlgren
Eric Fahlgren added the comment: https://msdn.microsoft.com/en-us/library/windows/desktop/mt748620(v=vs.85).aspx gives the syntax for adding dpiAwareness to the Windows manifest. -- nosy: +eric.fahlgren ___ Python tracker <https://bugs.python.

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-09 Thread Eric Fahlgren
Eric Fahlgren added the comment: So maybe add the dpiAware and dpiAwareness settings to the manifest for just Windows' pythonw.exe and leave the python.exe console interpreter alone? I'm going to guess that the pythonw.exe manifest already has some settings related to its uni

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-13 Thread Eric Snow
Eric Snow added the comment: New changeset ab4a1988fd4347484a7928394b94e2cdf5f8f2a7 by Eric Snow in branch 'master': bpo-33615: Re-enable subinterpreter tests. (#7552) https://github.com/python/cpython/commit/ab4a1988fd4347484a7928394b94e2

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-13 Thread Eric Snow
Eric Snow added the comment: I've re-enabled the subinterpreter tests, but left the one problem test (ChannelTests.test_run_string_arg_resolved) disabled. I also changed all uses of %lld to use PRId64 instead. (Thanks, Victor, for the suggestion.) The buildbots look good. I'

[issue17045] Improve C-API doc for PyTypeObject

2018-06-13 Thread Eric Snow
Eric Snow added the comment: @Cheryl, thanks for pointing that out. I'll take a look. -- ___ Python tracker <https://bugs.python.org/issue17045> ___ ___

[issue23869] Initialization is being done in PyType_GenericAlloc

2018-06-13 Thread Eric Snow
Eric Snow added the comment: Thanks for bringing this up, Hristo! "Initialization" (in this context, and hopefully everywhere in the C-API docs) is referring specifically to setting fields on a custom instance, much as you would expect in __init__ (or sometimes even __new__)

<    14   15   16   17   18   19   20   21   22   23   >