New submission from p :
https://docs.python.org/ja/3.5/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing
(名前付きセマフォのリンク解除は、システムが個数の上限のみ許可している場合に深刻な問題になるため、それらは再起動されるまで自動的にリンク解除されることはありません。)
-->(名前付きセマフォのリンク解除はシステムが限られた数しか許可しないので重大な問題であり、それらは次の再起動まで自動的にリンク解除され
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue46315>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
pull_requests: +29187
pull_request: https://github.com/python/cpython/pull/31006
___
Python tracker
<https://bugs.python.org/issue14
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue45459>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
--
___
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue31370>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue47232>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +twouters -pmpp
___
Python tracker
<https://bugs.python.org/issue35243>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by pmp-p :
--
nosy: +pmpp
type: enhancement -> performance
___
Python tracker
<https://bugs.python.org/issue35243>
___
___
Python-bugs-list mai
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
Change by pmp-p :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue38393>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue28833>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue3>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue38634>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue17792>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue45256>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue45829>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue38791>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +twouters
___
Python tracker
<https://bugs.python.org/issue38791>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue39536>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue40174>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue3770>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue42609>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue22100>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue43410>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
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
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue40818>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue4>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue22239>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue33129>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue41440>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
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
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
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
Change by pmp-p :
--
nosy: -pmpp
___
Python tracker
<https://bugs.python.org/issue41770>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue14527>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue35243>
___
___
Python-bugs-list mailing list
Unsub
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue19915>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
pull_requests: +21399
pull_request: https://github.com/python/cpython/pull/22361
___
Python tracker
<https://bugs.python.org/issue32
Change by pmp-p :
--
nosy: -pmpp
___
Python tracker
<https://bugs.python.org/issue14527>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue14527>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue36125>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue41972>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue42266>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue8041>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
status: closed -> pending
___
Python tracker
<https://bugs.python.org/issue32682>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue27917>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
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
Change by Charles P :
--
pull_requests: +12852
___
Python tracker
<https://bugs.python.org/issue31525>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
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
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).
--
Gregory P. Smith added the comment:
https://web.dev/webassembly-threads/ suggests otherwise.
--
___
Python tracker
<https://bugs.python.org/issue31370>
___
___
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
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.
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
Change by Gregory P. Smith :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue41222>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Gregory P. Smith :
--
assignee: -> gregory.p.smith
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue46150>
___
___
Python-
Change by Gregory P. Smith :
--
pull_requests: +28466
pull_request: https://github.com/python/cpython/pull/30244
___
Python tracker
<https://bugs.python.org/issue46
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
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
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
Change by Gregory P. Smith :
--
stage: test needed -> needs patch
___
Python tracker
<https://bugs.python.org/issue10202>
___
___
Python-bugs-list mai
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
-
Change by Gregory P. Smith :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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.
Gregory P. Smith added the comment:
agreed.
--
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
Change by Gregory P. Smith :
--
nosy: +mark.dickinson
___
Python tracker
<https://bugs.python.org/issue46406>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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 - 100 of 3452 matches
Mail list logo