Boris Staletic added the comment:
The `multiprocessing.Process`, on Linux, ends up doing something like this:
pid = os.fork()
if pid == 0: os._exit()
Translated to C:
int main() {
Py_Initialize();
PyOS_BeforeFork();
pid_t pid = fork();
if (pid == 0
Boris Staletic added the comment:
Slightly simpler C example:
#include
int main()
{
Py_Initialize();
PyObject* multiprocessing = PyImport_ImportModule("multiprocessing");
PyObject* Process = PyObject_GetAttrString(multiprocessing, "Process");
New submission from Boris Staletic :
The following C code leaks 7 locks allocated with PyThread_allocate_lock:
#include
int main()
{
Py_Initialize();
PyObject* multiprocessing = PyImport_ImportModule("multiprocessing");
PyObject* Process = PyObject_Get
Boris Staletic added the comment:
Oops... I uploaded (and pasted) the wrong file. The /correct/ example can be
found here:
https://github.com/pybind/pybind11/pull/2797/#pullrequestreview-570541151
However, I have just realized that the example doesn't really need the embedded
module
Boris Staletic added the comment:
Thanks for looking into this.
> Looks like a bug in valgrind.
That actually explains why I wasn't able to reproduce this problem on my local
machine. Ubuntu 20.04 comes with valgrind 3.15.0, while my local machine has
3.16.1. Upgrading valgrind on Ubu
Change by Boris Yang :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue35286>
___
___
Python-bugs-list
Boris Staletic added the comment:
I can also reproduce the same problem with the ubuntu packaged python3, which
is 3.8.5 on Ubuntu 20.04. The only problem is that, with a stripped library,
you don't get line numbers in valgrind's output. Steps to repro:
1. apt install valgrind gcc python3
New submission from Boris Staletic :
When running valgrind on a C code that calls `PyUnicode_AsEncodedString` and
`PyUnicode_Decode`, valgrind reports that there's a conditional jump based on
uninitialized variable, if the encoding is "latin1".
I am able to replicate the
Change by Boris Yang :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue35289>
___
___
Python-bugs-list
Change by Boris Yang :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue35287>
___
___
Python-bugs-list
Change by Boris Yang :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue35288>
___
___
Python-bugs-list
New submission from Boris Yang :
How to repeat:
# -*- coding: UTF-8 -*-
from difflib import SequenceMatcher
seqMatcher = SequenceMatcher(None, "德阳孩子", "孩子德阳")
seqMatcher.get_matching_blocks()
Expect Result:
[Match(a=0, b=3, size=2), Match(a=2, b=0, size=2), Match(a=5, b=
Changes by Boris Dušek <m...@dusek.me>:
--
nosy: +dusek
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23794>
___
___
Python
Boris added the comment:
Probably the same issue: everything works when called from command line, but
when called via a desktop shortcut I get
...
_winapi.DUPLICATE_SAME_ACCESS)
OSError: [WinError 6] The handle is invalid
Changing pythonw to python solved the problem. ...this could
Changes by Boris bor...@appliedinfogroup.com:
--
nosy: +borisompol
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
___
Python-bugs-list
New submission from Boris:
f=open('prn.txt','w')
Traceback (most recent call last):
File pyshell#80, line 1, in module
f=open('prn.txt','w')
FileNotFoundError: [Errno 2] No such file or directory: 'prn.txt'
Names that fail:
prn.
prn.txt
prn.yourmmama.txt
...
Names that do not fail:
prn
New submission from Boris FELD:
I'm trying to create some UDP sockets for doing multicast communication. I have
the working code in synchronous way and try to port it to asyncio.
One last issue is blocking for me, I'm on Mac OS X and for multicast UDP to
work, the SO_REUSEPORT must be set
New submission from Boris:
When attempting to save a file containing an Aring; character with the
debugger open, IDLE freezes with/or without partially opening the warning
window. (Mac OS X 10.9.5, IDLE running python 2.7.5). Reproducible steps:
- Create and save file with one line:
1+1
Changes by Boris Dayma koush...@gmail.com:
--
nosy: +Borisd13
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Python-bugs-list mailing
Changes by Boris Dayma koush...@gmail.com:
--
nosy: +Borisd13
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21436
___
___
Python-bugs-list mailing
Boris FELD added the comment:
An issue has been opened in pip repository:
https://github.com/pypa/pip/issues/1441
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13943
Boris FELD added the comment:
I've the same problem today with package
https://pypi.python.org/pypi/httpretty/0.7.1 but only when I try to install one
of my project which requires httpretty, if I try to install it directly it
works like a charm.
pip install httpretty - works
pip install
Boris FELD lothiral...@gmail.com added the comment:
Add a patch for this issue, move attributes comments in TestCase docstring.
I think it should be a good idea too to add their in unittest doc.
--
keywords: +patch
nosy: +Boris.FELD
Added file: http://bugs.python.org/file24024
New submission from Boris FELD lothiral...@gmail.com:
Hello everyone, I juste tried to launch the stringbench on python3.2 and
python3.3 dev versions and some unicode tests run slower in python3.3 than in
python3.2.
I cc the two raw output of both runs. I also extracted most interesting data
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file23992/stringbench_log_cpython3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13621
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file23993/stringbench.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13621
Changes by Boris FELD lothiral...@gmail.com:
Removed file: http://bugs.python.org/file23993/stringbench.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13621
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file23994/compare.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13621
New submission from Boris FELD lothiral...@gmail.com:
Hello everyone, I juste tried to launch the stringbench on python3.2 and
python3.3 dev versions and some bytes tests run slower in python3.3 than in
python3.2.
I cc the two raw output of both runs. I also extracted most interesting data
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file23996/stringbench_log_cpython3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13622
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file23997/compare.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13622
Boris FELD lothiral...@gmail.com added the comment:
Forgot to describe my environment:
Mac OS X 10.6.8
GCC i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
CPython3.3 revision ea421c534305
CPython3.2 revision 0b86da9d6964
Boris FELD lothiral...@gmail.com added the comment:
Forgot to describe my environment:
Mac OS X 10.6.8
GCC i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
CPython3.3 revision ea421c534305
CPython3.2 revision 0b86da9d6964
New submission from Boris FELD lothiral...@gmail.com:
Hello everyone, I juste tried to launch the stringbench on python3.2 and
python3.3 dev versions and some bytes tests run slower in python3.3 than in
python3.2.
I cc the two raw output of both runs. I also extracted most interesting data
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file24000/iobench_log_python3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13623
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file24001/compare.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13623
Changes by Boris FELD lothiral...@gmail.com:
Removed file: http://bugs.python.org/file24000/iobench_log_python3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13623
Changes by Boris FELD lothiral...@gmail.com:
Added file: http://bugs.python.org/file24002/stringbench_log_cpython3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13623
Boris FELD lothiral...@gmail.com added the comment:
The problem still exists in trunk with 3.2 and 3.3.
--
nosy: +Boris.FELD
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5492
Boris FELD lothiral...@gmail.com added the comment:
I add a test to test_traceback.py for this bug. Bug is confirmed on python 3.2
and python3.3. I use 2.x behavior as reference.
I don't know if we should add an assertion in traceback.print_exception or
traceback._iter_chain, so I add
Changes by Boris FELD lothiral...@gmail.com:
--
nosy: +Boris.FELD
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1469629
___
___
Python-bugs-list
Boris FELD lothiral...@gmail.com added the comment:
Bug confirmed on python2.5+ and python3.2-.
If it works with the dash, is agree with the Marc-Andre solution.
--
nosy: +Boris.FELD
versions: +Python 2.5, Python 2.6
___
Python tracker rep
New submission from Boris FELD lothiral...@gmail.com:
Distutils2 install command don't display error if you try to launch it in a
directory without setup.py nor setup.cfg files. It install an
UNKNOWN-UNKNOWN.dist-info distribution in your site-package with all meta-data
file set to UNKNOWN
New submission from Boris FELD lothiral...@gmail.com:
Distutils2 install command fail with both python 2.5 and python 2.7 while it
works with python 2.6.
$ python -V
python 2.5.4
$ python -m distutils2.run install
usage: run.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts
Changes by Boris FELD lothiral...@gmail.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11026
___
___
Python-bugs-list
Boris FELD lothiral...@gmail.com added the comment:
The new command for installation is install_dist, sorry.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11026
Boris FELD lothiral...@gmail.com added the comment:
It also fails with python 2.5 and python 2.7 with install_dist command.
--
versions: +Python 2.5, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11025
48 matches
Mail list logo