[issue37290] Mistranslation

2019-06-14 Thread p
New submission from p : https://docs.python.org/ja/3.5/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing (名前付きセマフォのリンク解除は、システムが個数の上限のみ許可している場合に深刻な問題になるため、それらは再起動されるまで自動的にリンク解除されることはありません。) -->(名前付きセマフォのリンク解除はシステムが限られた数しか許可しないので重大な問題であり、それらは次の再起動まで自動的にリンク解除され

[issue46315] Add support for WebAssembly System Interface (wasm32-wasi)

2022-01-09 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue46315> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2022-01-28 Thread pmp-p
Change by pmp-p : -- pull_requests: +29187 pull_request: https://github.com/python/cpython/pull/31006 ___ Python tracker <https://bugs.python.org/issue14

[issue45459] Limited API support for Py_buffer

2022-02-07 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue45459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue45459] Limited API support for Py_buffer

2022-02-07 Thread pmp-p
pmp-p added the comment: There's some side effects with "buffer.h" inclusion in Panda3D when building againt 3.11a5, project manager concerns are here https://github.com/python/cpython/pull/29991#issuecomment-1031731100 -- ___

[issue31370] Remove support for threads-less builds

2022-03-04 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue31370> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue3510] Site-specific configuration hook documentation incorrect

2008-08-06 Thread P. Roebuck
New submission from P. Roebuck <[EMAIL PROTECTED]>: Documentation does not match due to version number inconsistency. Current: < Then the following directories are added to sys.path, in this order: < < < /usr/local/lib/python2.3/site-packages/bar < /usr/local/lib/python

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue47232> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue35243] readline timeout too long for async gfx use

2019-09-13 Thread pmp-p
Change by pmp-p : -- nosy: +twouters -pmpp ___ Python tracker <https://bugs.python.org/issue35243> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35243] readline timeout too long for async gfx use

2019-09-23 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp type: enhancement -> performance ___ Python tracker <https://bugs.python.org/issue35243> ___ ___ Python-bugs-list mai

[issue38393] building modules from 3.8.0rc1 fails in a venv when system 3.8 is present

2019-10-07 Thread pmp-p
New submission from pmp-p : when trying to build rc1 from a b4 venv to prepare a python host for cross compilation on ubuntu xenial flavour x64 i got : cd /tmp python3.7 -m venv testenv cd testenv/ . bin/activate (testenv) /tmp/testenv $ tar xf /tmp/Python-3.8.0rc1.tar.xz && cd

[issue38393] building modules from 3.8.0rc1 fails in a venv when system 3.8 is present

2019-10-07 Thread pmp-p
Change by pmp-p : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue38393> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28833] cross compilation of third-party extension modules

2019-10-25 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue28833> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36666] threading.Thread should have way to catch an exception thrown within

2019-10-29 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue3> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38634] Symbol resolution conflict when embeding python in an application using libedit

2019-10-29 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue38634> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue17792] Unhelpful UnboundLocalError due to del'ing of exception target

2021-03-21 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue17792> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue44644] Implement “Happy Eyeballs” algorithim (RFC 8503) in socket.create_connection()

2021-07-15 Thread origin400-p
New submission from origin400-p : While support for the so-called “Happy Eyeballs” algorithim described in RFC 8503 was implemented for asyncio in Issue #33530, socket's create_connection function remains left without it causing suboptimal performance in broken dual-stack environ

[issue45256] Remove the usage of the C stack in Python to Python calls

2021-12-06 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue45256> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue45829] Remove C stack use by specializing BINARY_SUBSCR, STORE_SUBSCR, LOAD_ATTR, and STORE_ATTR

2021-12-06 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue45829> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38791] readline history file is hard-coded

2019-11-13 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue38791> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38791] readline history file is hard-coded

2019-11-13 Thread pmp-p
Change by pmp-p : -- nosy: +twouters ___ Python tracker <https://bugs.python.org/issue38791> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue39536] Datetime strftime: %Y exports years < 1000 with 3 digits instead of 4 on Linux

2020-02-03 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue39536> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40174] HAVE_CLOCK_GETTIME not repected in pytime.c

2020-04-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue40174> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40280] Consider supporting emscripten/webassembly as a build target

2020-04-14 Thread pmp-p
pmp-p added the comment: you can add * https://github.com/pmp-p/pydk/tree/master/sources.em/Python-3.8.0b4.patchset -- Python 3.8.x (wasm not asm.js, clang-10+ required) demo https://pmp-p.github.io/python-next/test.html CPython can already run in the browser with very little patching

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2020-12-07 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue3770> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42609] Eval with too high string multiplication crashes newer Python versions

2020-12-09 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue42609> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2021-02-28 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue22100> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue43410> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40710] Malfunctioning of '\r'

2020-05-21 Thread pmp-p
pmp-p added the comment: Hi, i can't reproduce on standard terminals, what is your OS version and terminal application ( also please state value of $TERM ) -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/is

[issue40743] [CMake] It's 2020, where is CMake?

2020-05-23 Thread pmp-p
pmp-p added the comment: Hi, I'm always curious about others experiences : why would you need cross-platform building for any of the officially supported platforms ? Also on some random unsupported platforms that require cross-compilation like maybe android, wasm or other uncommon

[issue40818] Run sys.__interactivehook__ for asyncio REPLs

2020-05-29 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue40818> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41111] Convert a few stdlib extensions to the limited C API

2020-07-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue4> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue22239] asyncio: nested event loop

2020-07-07 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue22239> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33129] Add kwarg-only option to dataclass

2020-07-22 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue33129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41440] os.cpu_count doesn't work on VxWorks RTOS

2020-08-03 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue41440> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2020-09-09 Thread pmp-p
pmp-p added the comment: all PyRun_InteractiveOne* functions are also affected it is really annoying when implementing repl behaviour when embedding( use cases : pyodide, android, wasi ) But I think the correct patch is : -char *newtok = PyOS_Readline(stdin, stdout, tok->pro

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2020-09-10 Thread pmp-p
Change by pmp-p : -- versions: +Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue14

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2020-09-10 Thread pmp-p
Change by pmp-p : -- pull_requests: +21251 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22190 ___ Python tracker <https://bugs.python.org/issu

[issue41770] Import module doesn't updated

2020-09-11 Thread pmp-p
pmp-p added the comment: Hi, you just need to call del sys.modules['xxx'] and have a look at https://docs.python.org/3.7/library/importlib.html#importlib.invalidate_caches before importing again -- nosy: +pmpp ___ Python track

[issue41770] Import module doesn't updated

2020-09-11 Thread pmp-p
Change by pmp-p : -- nosy: -pmpp ___ Python tracker <https://bugs.python.org/issue41770> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2020-09-14 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue14527> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue35243] readline timeout too long for async gfx use

2020-09-14 Thread pmp-p
Change by pmp-p : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue35243> ___ ___ Python-bugs-list mailing list Unsub

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2020-09-19 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue19915> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32682] test_zlib improve version parsing

2020-09-22 Thread pmp-p
Change by pmp-p : -- pull_requests: +21399 pull_request: https://github.com/python/cpython/pull/22361 ___ Python tracker <https://bugs.python.org/issue32

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

2020-09-28 Thread pmp-p
Change by pmp-p : -- nosy: -pmpp ___ Python tracker <https://bugs.python.org/issue14527> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2020-09-28 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue14527> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36125] Cannot cross-compile to more featureful but same tune

2020-09-29 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue36125> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-07 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue41972> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42266] LOAD_ATTR cache does not fully replicate PyObject_GetAttr behavior

2020-11-04 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue42266> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

2020-11-08 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue8041> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32682] test_zlib improve version parsing

2020-11-08 Thread pmp-p
Change by pmp-p : -- status: closed -> pending ___ Python tracker <https://bugs.python.org/issue32682> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27917] Choose platform triplets for android builds

2020-11-18 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker <https://bugs.python.org/issue27917> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2020-11-22 Thread pmp-p
pmp-p added the comment: I think the actual PR20451 with its proper use of pkgconfig could close https://bugs.python.org/issue31710 ( fixing at once android and wasm/wasi compilation ) -- ___ Python tracker <https://bugs.python.org/issue14

[issue28468] Add platform.freedesktop_osrelease()

2020-11-24 Thread pmp-p
pmp-p added the comment: -1 android and aosp, termux are also linux distributions without /etc/os-release the only thing reliable there is probably sysconfig.get_config_vars('MULTIARCH') when properly used. -- nosy: +pmpp ___ Pyth

[issue31525] require sqlite3_prepare_v2

2019-04-23 Thread Charles P
Change by Charles P : -- pull_requests: +12852 ___ Python tracker <https://bugs.python.org/issue31525> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36768] distutils.util.convert_path mangles windows paths with forward slashes

2019-05-01 Thread Charles P
New submission from Charles P : https://github.com/python/cpython/blob/master/Lib/distutils/util.py#L106-L131 Due to the split('/') and os.path.join(), this function converts an absolute path of the form "C:/foobar" into a relative "C:foobar", which is li

[issue11122] bdist_rpm should use rpmbuild, not rpm

2018-04-10 Thread Stanislav P
Stanislav P added the comment: can this patch be sped up? i am running into this issue with the latest python version the patch was submitted 7 years ago i don't see any workaround. -- nosy: +stanp versions: +Python 3.5, Python 3.6, Python 3.7, Pytho

[issue11122] bdist_rpm should use rpmbuild, not rpm

2018-04-11 Thread Stanislav P
Stanislav P added the comment: i am using this on redhat enterprise and mac. both running python 3.5 both running latest rpm. if you can make a pr it would great. -- ___ Python tracker <https://bugs.python.org/issue11

[issue11122] bdist_rpm should use rpmbuild, not rpm

2018-04-11 Thread Stanislav P
Stanislav P added the comment: the use case is being able to publish python package as rpm using setup.py on mac. -- ___ Python tracker <https://bugs.python.org/issue11

[issue13424] Add examples for open’s new opener argument

2012-11-03 Thread Guillaume P
Guillaume P added the comment: Here is a proposed patch to the documentation. -- keywords: +patch nosy: +guillaumep Added file: http://bugs.python.org/file27866/13424.patch ___ Python tracker <http://bugs.python.org/issue13

[issue22639] test "test_bad_address" fails on Python 3.4.2 under Linux Mint 13 Maya

2014-10-14 Thread Steve P
New submission from Steve P: Looking in past bug reports, I suspect the test itself is problematic. When I paste the (erroneous) URL the tests is using into Firefox, I get a page back from my ISP with "Sorry, the website sadflkjsasf.i.nvali.d cannot be found" Here's the out

[issue22639] test "test_bad_address" fails on Python 3.4.2 under Linux Mint 13 Maya

2014-10-14 Thread Steve P
Steve P added the comment: I got "test_bad_address" from what was reported using "make test". Perhaps at I read the log wrong, but it was clear I got a failure. At any rate, here's what I get with the correct test name: sp@chip:~/Downloads/Python-3.4.2 $ ./pyt

[issue22639] test "test_bad_address" fails on Python 3.4.2 under Linux Mint 13 Maya

2014-10-15 Thread Steve P
Steve P added the comment: I saw that issue, or one like it. I was very tempted to not report but the README says if there are any test failures, there is a problem. (I suppose it could mean there is a problem with my ISP, not python.) The dilemma is that we want to be able to count on a

[issue22647] test_readline failed on ScientificLinux 6.5

2014-10-15 Thread Steve P
New submission from Steve P: "make test" after clean build got one failure. This was under Python 3.4.2 newly downloaded. Here is the log: ./python -m test -v test_readline == CPython 3.4.2 (default, Oct 15 2014, 11:08:11) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] == Linux-2.6.32-43

[issue23478] A list arg with default value inside function got appended each time the function is called

2015-02-18 Thread P Yap
New submission from P Yap: I have a function (test) with a list variable APP and declared its default as an empty list [], while APP is not a global variable, if I execute the same function multiple times, each time the APP will get appended. To workaround this problem, I need to do APP.pop

[issue28552] Distutils fail if sys.executable is None

2016-10-28 Thread Alexander P
New submission from Alexander P: For example, Jython 2.7. When we try to execute `jython-standalone -m pip`, distutils.sysconfig tries to parse sys.executable as a path and obviously fails: Traceback (most recent call last): File "/home/ale/dev/3toj/jython-standalone-2.7.0.ja

[issue28552] Distutils fail if sys.executable is None

2016-10-29 Thread Alexander P
Alexander P added the comment: Well, project_base (which is what sys.executable is used for) is used only during build (i. e. python_build is True), if I understand it correctly. Normally, sys.prefix and sys.exec_prefix are used for all the paths. Also, project_base can be explicitly set

[issue44938] Expose PyErr_ChainExceptions in the stable API

2021-12-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: related: https://www.python.org/dev/peps/pep-0490/ (rejected pep to auto-chain from C API calls) I don't come across it often, but I did just review some code at work today where the chain might have been nice (though not a big deal). --

[issue31370] Remove support for threads-less builds

2021-12-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: https://web.dev/webassembly-threads/ suggests otherwise. -- ___ Python tracker <https://bugs.python.org/issue31370> ___ ___

[issue37584] Multiple test failures with OSError: [Errno 84] Invalid or incomplete multibyte or wide character on ZFS with utf8only=on

2021-12-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: Confirmed. Repro: Do an ubuntu 20.04 install and choose "experimental zfs" support during install - https://ubuntu.com/blog/zfs-focus-on-ubuntu-20-04-lts-whats-new). On such a zfs filesystem, the following tests from a ./python -m test.regrtest

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: While the discussion is interesting for some who are trying to work around security policy mechanisms, we can't control what policies people enforce upon themselves that make their machines useless for software development. Marking as not a bug.

[issue46077] Include sha256 hashes of release downloads in announcement communications

2021-12-14 Thread Gregory P. Smith
New submission from Gregory P. Smith : The announcement email list (https://mail.python.org/archives/list/python-announce-l...@python.org/) and other places we make announcements beyond just the release pages like https://www.python.org/downloads/release/python-3101/ should include a list of

[issue41222] POpen bufsize=0 ignored with universal_newlines=True

2021-12-21 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue41222> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Gregory P. Smith
New submission from Gregory P. Smith : Now that we have a shiny new parser, can we finally get rid of this language wart: assert thing, description # works as intended assert (thing, description) # always True as non-empty tuples are Truthy This most often happens when extending thing or

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: It's not about an advantage, it's about removing the problem of what edit to make when working on assert thing_that_has_a_meaningful_name.methods_have_good_names(value_from_somewhere) == other_thing_that_is_meaningful, "Description of wh

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue46150> ___ ___ Python-

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +28466 pull_request: https://github.com/python/cpython/pull/30244 ___ Python tracker <https://bugs.python.org/issue46

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset b8de8b7039cee47465b2af9950b0b9ed2d3f2903 by Nikita Sobolev in branch 'main': bpo-46150: ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser` (GH-30240) https://github.com/python/cpyt

[issue10202] ftplib doesn't check close status after sending file

2021-12-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: [pasting in my investigation that I replied with on a mailing list:] The possible problem does appear real but it likely not frequently observed and is something most people reading the code wouldn't see as it's rather esoteric: https://blog.net

[issue10202] ftplib doesn't check close status after sending file

2021-12-24 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <https://bugs.python.org/issue10

[issue10202] ftplib doesn't check close status after sending file

2021-12-24 Thread Gregory P. Smith
Change by Gregory P. Smith : -- stage: test needed -> needs patch ___ Python tracker <https://bugs.python.org/issue10202> ___ ___ Python-bugs-list mai

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 1b30660c3b40da557050948ac8635f2dc50c4ee2 by Nikita Sobolev in branch 'main': bpo-46120: State that `|` is preferred over `Union` (GH-30222) https://github.com/python/cpython/commit/1b30660c3b40da557050948ac8635f2dc50c4ee2 -

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-27 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-10 Thread Gregory P. Smith
New submission from Gregory P. Smith : cpython/b$ ./python Python 3.11.0a3+ (heads/main-dirty:081a214008, Jan 11 2022, 02:48:22) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ast &g

[issue46349] inspect.getdoc() should append parent class method docs when encountering a local one line docstring

2022-01-11 Thread Gregory P. Smith
New submission from Gregory P. Smith : Today `inspect.getdoc()` is quite simple. If a method has any docstring, it returns it. There is one idiom where this is not very useful to our users. A """See base class.""" docstring on a method. Rather than having to r

[issue46349] inspect.getdoc() should append parent class method docs when encountering a local one line docstring

2022-01-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: >From the context of help(typical_subclass_of_abstract_thing.method), the user >isn't told what the base classes are or which one might have documentation. >So it could become an exercise in frustration. and LOL yes the parameter name is si

[issue46347] memory leak in PyEval_EvalCodeEx

2022-01-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: when was the regression introduced? I wouldn't necessarily rush an urgent release out unless this was just introduced in the 3.10.1 patch release. Could it wait for 3.10.2 already scheduled for four weeks from now? -- nosy: +gregory.p.

[issue27273] subprocess.run(cmd, input='text') should pass universal_newlines=True to Popen

2022-01-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: agreed. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40255] Fixing Copy on Writes from reference counting

2022-01-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: [data] I finally dug up the old YouTube doc at work with their findings. Mostly just posting this here for future public reference if anyone wants. Nothing surprising. When youtube experimented with a modified 2.7 adding "eternal refcounts" in

[issue46406] optimize int division

2022-01-16 Thread Gregory P. Smith
New submission from Gregory P. Smith : Based on a python-dev thread, we've come up with faster int division code for CPython's bignums. https://mail.python.org/archives/list/python-...@python.org/thread/ZICIMX5VFCX4IOFH5NUPVHCUJCQ4Q7QM/#NEUNFZU3TQU4CPTYZNF3WCN7DOJBBTK5 filing this

[issue46406] optimize int division

2022-01-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +28829 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30626 ___ Python tracker <https://bugs.python.org/issu

[issue46406] optimize int division

2022-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: The PR was directly inspired by Mark Dickinson's code in the email thread directly using __asm__ to get the instruction he wanted. There is usually a way to make the compiler actually do what you intend. This appears to be it. Interest

[issue46406] optimize int division

2022-01-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +mark.dickinson ___ Python tracker <https://bugs.python.org/issue46406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46406] optimize int division

2022-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: I tested my PR branch on 32-bit arm (raspbian bullseye) and the microbenchmark timing shows no change (within the noise across repeated runs). Unsurprising as division is entirely different on 32-bit arm. Raspbian uses armv6 for compatibility with the

[issue45452] Support crash tolerance feature for gdbm module

2022-01-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: The gdbm module's purpose is effectively one of just exposing the underlying C library APIs to Python as you said. Consider this a +1 in favor of exposing the new APIs in the Python gdbm module. I'm not concerned about anyone wanting thes

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2022-01-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: off the top of my head that might actually work as I _think_ "empty" things are required to consume an unused byte of size no matter what meaning sizeof shouldn't change? Some testing and standards perusing for C99 is in order to conf

[issue39207] concurrent.futures.ProcessPoolExecutor does not properly reap jobs and spawns too many workers

2022-01-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - this appears to have caused https://bugs.python.org/issue46464 -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue39

[issue46464] concurrent.futures.ProcessPoolExecutor can deadlock when tcmalloc is used

2022-01-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: For context, the fundamental problem is that os.fork() is unsafe to use in any process with threads. concurrent/futures/process.py violates this. So long as its design involves a thread, it can never be guaranteed not to deadlock. POSIX forbids

[issue46493] Add an API to indicate if the process might have multiple threads

2022-01-23 Thread Gregory P. Smith
New submission from Gregory P. Smith : It'd be handy to have a function to determine if there are multiple threads in the current process or not - at least on POSIXish systems. This would be useful anytime a library is trying to use os.fork(), as fork() is not safe in a multi-thr

[issue5404] Cross-compiling CPython - need a buildbot

2022-01-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- title: Cross-compiling Python -> Cross-compiling CPython - need a buildbot versions: +Python 3.11 -Python 3.4 ___ Python tracker <https://bugs.python.org/iss

  1   2   3   4   5   6   7   8   9   10   >