Change by serge-sans-paille :
--
pull_requests: +22054
pull_request: https://github.com/python/cpython/pull/23141
___
Python tracker
<https://bugs.python.org/issue42
Change by serge-sans-paille :
--
keywords: +patch
pull_requests: +21955
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23037
___
Python tracker
<https://bugs.python.org/issu
New submission from serge-sans-paille :
How to reproduce:
```
git clone https://github.com/python/cpython && cd cpython
mkdir -p _build/optimized
cd _build/optimized
../../configure --enable-optimizations CC=clang
make
cd ..
./optimized/python -m test.regrtest -wW --slowest -j0 --time
Change by Serge Matveenko :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue40616>
___
___
Python-bugs-list
Change by Serge Matveenko :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33953>
___
___
Python-bugs-list
Change by Serge Matveenko :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue38701>
___
___
Python-bugs-list
Change by Serge Matveenko :
--
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue33953>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Serge Matveenko :
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue33953>
___
___
Python-bugs-list mailing list
Unsubscribe:
Serge Matveenko added the comment:
I would be happy to submit a PR if there would be an agreement on the format.
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Serge Matveenko :
It looks handy to be able to leverage `collections.deque` ability to be sized
it `asyncio.Queue`.
This could provide the ability to implement backpressure in the queue or just
use it as a buffer in messaging systems.
The implementation provided in the
New submission from Serge Matveenko :
Negative `timedelta` string representation is ambiguous.
```
>>> from datetime import datetime, timedelta
>>> d2 = datetime.now()
>>> d1 = d2 - timedelta(days=42, seconds=5)
>>> str(d2 - d1)
'42 days, 0:00:05'
serge-sans-paille added the comment:
@ned I(d rather see this as an evolution of Issue13631, as this solves a
problem when libreadline and libedit are both loaded in the same executable. As
such, using libedit instead of readline wouldn't solve the issue: what if the
program Pyth
Change by serge-sans-paille :
--
pull_requests: +16513
pull_request: https://github.com/python/cpython/pull/16986
___
Python tracker
<https://bugs.python.org/issue13
Change by serge-sans-paille :
--
keywords: +patch
pull_requests: +16512
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16986
___
Python tracker
<https://bugs.python.org/issu
New submission from serge-sans-paille :
See https://bugs.llvm.org/show_bug.cgi?id=43830, but basically the follwing
code:
```
// a.c
#include
int main() {
Py_Initialize();
PyRun_SimpleString("import readline; print(readline.__doc__)");
return 0;
}
```
compiled like this:
serge-sans-paille added the comment:
@vstinner: to reproduce the issue
```
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir _build
cd _build
cmake3 ../llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra"
-DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TY
Change by serge-sans-paille :
--
nosy: +serge-sans-paille
___
Python tracker
<https://bugs.python.org/issue37140>
___
___
Python-bugs-list mailing list
Unsub
New submission from serge g :
I am not sure if it is python's issue (correct me if this is wrong place for
report). But sometimes (probably every 3-4 attempt) when I run script,
interpreter just stucks for some time (0.5-3 minutes) and then actually runs
the script normally.
To figur
serge-sans-paille added the comment:
@vstinner: once you have a portable version of alignof, you can deciding to
*not* use the pool allocator if the required alignment is greater than 8B, or
you could modify the pool allocator to take alignment information as an extra
parameter
serge-sans-paille added the comment:
Not an expert of Python build, but I've been creating a few « reverse engineer
challenge » where I had to ship modified version of the interpreter, so played
with it a bit.
I agree consistency is nice to reason about. It looks better to me to *not*
serge-sans-paille added the comment:
Looks like a package dependency issue: installing ``llvm-dev`` package should
fix the problem. Or in that particular case ``llvm-3.8-dev``.
--
nosy: +serge-sans-paille
___
Python tracker
<ht
Change by Serge Droz :
--
type: -> security
___
Python tracker
<https://bugs.python.org/issue34104>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Serge Droz :
The issue is really this:
https://noxxi.de/research/mime-5-easy-steps-to-bypass-av.html
get_payload should with decode=Treu should check the validity of the syntax and
throw an error if it is not. This would happen if the underlying call to
base64.decode
New submission from Serge Matveenko :
There is the corresponding section on the topic here
https://github.com/python/cpython/blob/3.6/Doc/library/secrets.rst#how-many-bytes-should-tokens-use
The current value of 32 bytes is mentioned there correctly.
Unfortunately, there is no way to know
Serge Stroobandt added the comment:
Dear Keith, that is exactly how it should be! (I cross-checked with a HP
calculator to make sure.)
--
___
Python tracker
<http://bugs.python.org/issue26
Serge Stroobandt added the comment:
What most engineers would like to see implemented in Python is a new
engineering notation identical to the one implemented in the omnipresent HP
calculators.
Quoting from the HP-15C Owner's Handbook:
"- In engineering notation, the first signifi
Serge Stroobandt added the comment:
As per https://bugs.python.org/issue26223#msg259772 , can we please reopen this?
I kind of hate it when *real* issues are kept closed for years (6!) until
another lost soul comes by with the same itch...
--
nosy: +serge.stroobandt
versions: +Python
Serge Stroobandt added the comment:
Related issue:
https://bugs.python.org/issue8060
--
___
Python tracker
<http://bugs.python.org/issue26223>
___
___
Python-bug
Serge Stroobandt added the comment:
Mark: Don't shoot the messenger!
I literally quoted the implemented proprietary specification.
However, I do agree that the term "numbers (or bases) with an infinte decimal
representation" would be more appropriate in this context.
Serge Stroobandt added the comment:
An emphasized version of the exact quote is here now:
http://stackoverflow.com/a/35045233/2192488
--
___
Python tracker
<http://bugs.python.org/issue26
New submission from Serge Stroobandt:
In https://docs.python.org/2/library/string.html#formatstrings the proprietary
(IBM) specifcation "Decimal Arithmetic Specification"
http://www.gobosoft.com/eiffel/gobo/math/decimal/daconvs.html is incorrectly
being heralded as "the&quo
Serge Stroobandt added the comment:
@rhettinger
I completely agree with not creating a backward incompatibility at this point
in time.
The real issue is that decimal.to_eng_string() was written to a (unfortunately
chosen) proprietary specification which does not entirely correspond to the
serge-sans-paille added the comment:
ok, I'll report there then. Sorry for the noise :-/
--
resolution: -> not a bug
status: open -> closed
___
Python tracker
<http://bugs.python.
New submission from serge-sans-paille:
My use cas of virtual env was the following:
1. create a virtual env
2. install a third party shared library and its python wrapper
3. import the wrapper that itself loads the shared library
The problem is that the shared library gets install into /lib
Serge Matveenko added the comment:
Sorry for reopening. I completely agree with the point that is it not necessary
for Python and C implementations to duplicate each other.
But then the Python OrderedDict implementation should be dropped from the
library source. The code that is there now is
Serge Matveenko added the comment:
Ok, then the OrderedDict is useless for any advanced hacking like altering the
order in which __setitem__ stores items.
It is just useless Python code and so much appliances missed for this class:(
Thank you all for these completely helpful answers
Serge Matveenko added the comment:
If Python source does conform the one in C, it will be completely fine and
understandable to have such a change and to rely on it in using version checks
or whatever.
--
___
Python tracker
<http://bugs.python.
Serge Matveenko added the comment:
Zach, ok I got your point. But there is Python implementation in the library
still which does not conform the one done in C. Such a behavior is tremendously
confusing.
If there is both Python and C implementation in the library they must conform
each other
New submission from Serge Matveenko (lig):
Consider this code in Python 3.5.0:
Python 3.5.0 (default, Sep 26 2015, 14:59:25)
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>&
Serge Anuchin added the comment:
> Serge, you'll have to find some way to get more information on exactly what
> is failing in order for this issue to make progress.
This exception occurred only once and I can't reproduce it.
Additional system specs in attachment.
--
Serge Anuchin added the comment:
> Which platform & Python is that?
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2
Linux li307-195 2.6.39.1-x86_64-linode19 #1 SMP Tue Jun 21 10:04:20 EDT 2011
x86_64 GNU/Linux
--
___
New submission from Serge Anuchin:
It seems there is minor bug in random.choice.
I've got traceback from my server with IndexError from random.choice, but
sequence wasn't empty (seq value was:
u'\u0411\u0413\u0414\u0416\u0418\u041b\u0426\u042b\u042d\
u042e\u042f\u0410\u0412\u0
New submission from Serge Droz :
On MacOS in urllib the function proxy_bypass_macosx_sysconf does not handle
proxy settings which are just IP addresses correctly:
If there is any IP address, always true is reported.
Reason: the mask is calculated wrong.
The attached patch fixes this.
NB This
Serge added the comment:
TreeNode class which is used in IDLE class browser create a window for a text
label on each single click and apparently under Ubuntu tcl looses first left
button click and therefore doesn't generate left buttond double click event.
In this patch I make chang
Serge Julien added the comment:
Patch proposal.
Tell me if it's right to submit it here: this is the first patch I submit
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1094>
__
poplib.diff
Descrip
New submission from Serge Julien:
In poplib.py, lines 137-138, bytes and str are compared, leading to a
TypeError:
[...]
137while line != '.':
138if line[:2] == '..':
[...]
where type(line) =
--
components: Library (Lib)
messages: 55617
nosy: s
46 matches
Mail list logo