Olli Lupton added the comment:
With apologies for the noise, I realise that the posted example does not handle
the GIL correctly.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
New submission from Olli Lupton :
The following function, compiled and linked into a shared library, segfaults
when called from Python:
```
#define PY_SSIZE_T_CLEAN
#include
extern "C" PyObject* my_func() {
return Py_BuildValue("(O)", Py_None);
}
```
called using cty
Olli added the comment:
Just because incorrect results are documented, that doesn't mean the current
implementation could not be improved.
More over, Python 2.7.16 on the same machine produces expected results:
Python 2.7.16 (default, Dec 21 2020, 23:00:36)
[GCC Apple LLVM 12.0.0 (clang
New submission from Olli :
When rounding numbers with round(), middle values at with even base number are
rounded in wrong direction.
Python 3.9.1 (default, Feb 3 2021, 07:38:02)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
macOS 11.2.3
Seppo Yli-Olli <seppo.yli-o...@iki.fi> added the comment:
I don't personally know enough of CPython (I barely know enough C) to do the
patches but I'd just comment that as this might increase complexity of
implementation and wide char API's are used, it might be prudent to make sure
t
New submission from Seppo Yli-Olli <seppo.yli-o...@iki.fi>:
MSDN documents that REG_MULTI_SZ is not supposed to have \0\0 anywhere else
than in the end. The comment in
https://github.com/python/cpython/blob/a5293b4ff2c1b5446947b4986f98ecf5d52432d4/PC/winreg.c#L504
clearly shows that
Seppo Yli-Olli added the comment:
Since Renata's ERRATA was unclear to whether or not this was *actually* removed
(please point to a changeset if the option was removed):
If the option is no longer required by Pidgin and that was the original reason
to have it in the first, there's really
Seppo Yli-Olli added the comment:
ERRATA
Misunderstood the meaning of ERRATA, please ignore my last post.
Roumen Petrov wrote:
Where is written that compiler is gcc ? Yes this is current distutils
code but please review my set of patches
I kinda like the using --target-help for finding out
Seppo Yli-Olli seppo.ylio...@gmail.com added the comment:
Would it be practical to have a trivial compilation test to see if we are
capable of using GCC with -mno-cygwin and if so, use it, otherwise drop off? I
think GNU autotools uses a similar strategy for detecting compiler capabilities
New submission from Seppo Yli-Olli seppo.ylio...@gmail.com:
Checksums need to be mirrored as well, otherwise having mirrors is a waste of
money because PyPi main server being slow ends up with whole download failing.
If this is the wrong bug tracker, please advice me to the right one so
Changes by Seppo Yli-Olli seppo.ylio...@gmail.com:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12430
___
___
Python
11 matches
Mail list logo