Alex Willmer added the comment:
On 6 July 2010 18:03, Matthew Barnett wrote:
> The file at http://pypi.python.org/pypi/regex/ was downloaded 75 times, if
> that's any help. (Now reset to 0 because of the bug fix.)
>
Each release was downloaded between 50 and 100 times. Matthew
Alex Willmer added the comment:
On 13 July 2010 22:34, Jonathan Halcrow wrote:
> The most recent version on pypi (20100709) seems to be missing _regex_core
> from py_modules in setup.py.
Sorry, my fault. I've uploaded a corrected version
http://pypi.python.org/pypi/regex/0.1
Changes by Alex Rodriguez :
--
nosy: +Alex.Rodriguez
___
Python tracker
<http://bugs.python.org/issue9227>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Willmer added the comment:
On 25 July 2010 03:46, Matthew Barnett wrote:
> issue2636-20100725.zip is a new version of the regex module.
This is now packaged and uploaded to PyPI
http://pypi.python.org/pypi/regex/0.1.20100725
--
___
Pyt
Alex Robinson added the comment:
Here go, Terry. Copies of the two files in the latest ZIP file.
Hmmm. Well. Maybe just one of 'em. Looks like the only way to upload files is
to add a msg, so I'll upload the other file in another msg.
--
Added file: http://bugs.python.org
Alex Robinson added the comment:
OK, here's the other.
--
Added file: http://bugs.python.org/file18452/test_wave.py
___
Python tracker
<http://bugs.python.org/i
Alex Quinn added the comment:
I am on Windows 7. I realized the "echo" command I'm piping to belongs to
Cygwin. I'll try to make a different example to either support this, or
otherwise close the bug.
Thanks!
--
___
P
Changes by Alex Gaynor :
--
nosy: +alex, dstufft, janssen
___
Python tracker
<http://bugs.python.org/issue28854>
___
___
Python-bugs-list mailing list
Unsub
New submission from Alex Jurkiewicz:
The typing.AnyStr documentation:
https://docs.python.org/3/library/typing.html#typing.AnyStr
It gives some examples using u-strings (u'foo') but doesn't make explicit some
subtleties about behaviour with Python 2. Specifically, with Python 2
Changes by Alex Grönholm :
--
nosy: +alex.gronholm
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue23242>
___
___
Python-bugs-list mailin
Alex Grönholm added the comment:
Are you sure this has been fixed? The attached script reproduces the bug 100%
reliably on my laptop.
--
Added file: http://bugs.python.org/file46198/read_subprocess.py
___
Python tracker
<http://bugs.python.
Alex Gaynor added the comment:
We can easily just add `TLS13:...` at the from of our ciphersuite list and
it'll be ok though right? (Note to self, do the same in urllib3, twisted,
requests, god only knows what else)
--
nosy: +alex
___
P
Changes by Alex Gaynor :
--
nosy: -alex
___
Python tracker
<http://bugs.python.org/issue11549>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Gordon:
Broadly speaking, there are three main output styles for json.dump/dumps:
1. Default: json.dumps(obj)
2. Compact: json.dumps(obj, separators=(',', ':'))
3. Pretty-printing: json.dumps(obj, sort_keys=True, indent=4)
The 'compact'
Alex Gordon added the comment:
The point is that, as a principle of good API design, the json module should
not generate malformed JSON unless the user very explicitly asks for their JSON
to be corrupted.
Python stands alone in having a JSON serializer that can produce strings such
as {&q
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue29505>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Wang:
PR submitted here: https://github.com/python/cpython/pull/129
--
components: Build
messages: 288535
nosy: awang
priority: normal
severity: normal
status: open
title: --enable-optimizations compiler flag has no effect
type: behavior
versions: Python 2.7
Changes by Alex Wang :
--
pull_requests: +253
___
Python tracker
<http://bugs.python.org/issue29643>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Wang added the comment:
At least when I last built Python, configure always said that optimizations
were not enabled regardless of whether I passed in the flag.
>From what it looked like to me, it's because configure uses the $enableval
>variable to store the result of th
New submission from Alex CHEN:
Hi,
Our tool reported a position that doesn't check for returned value (from a
function that might returns null). might need a look that is there any problem
or I am missing something.
in function PyUnknownEncodingHandler of file pyexpat.c,
New submission from Alex Chan:
Since Python is a proper noun, it should be capitalised. Fix a case where the
docs used lowercase "python".
The phrase "by the python runtime" was added in the 2.7 docs; the 2.6 docs just
say "if symbolic links are not supported&quo
New submission from Alex Willmer:
While trying a cross compile of Python 3.6 I encountered the following
alex@martha:~/src/cpython default☿ hg summary
parent: 101753:31ad7885e2e5
Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.
branch: default
commit: (clean
Alex Gaynor added the comment:
This doesn't look correct to me. Despite what the Linux maintainers insist,
it's a _bug_ that /dev/urandom will return immediately if the system's entropy
pool has never been seeded; one of the whole points of the getrandom syscall is
that it
Alex Gaynor added the comment:
Repeating what a few other folks have said: the of os.urandom's callers
shouldn't have to pay for the hash seed implementation. If Python internally is
ok with suboptimal entropy, it should use a different function. Or early-boot
Python users
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue27250>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue27249>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Colm -- how is that situation not addressed by fixing the hash seed generation
specifically, rather than patching all consumers of os.urandom?
--
___
Python tracker
<http://bugs.python.org/issue26
New submission from Park Alex:
Hello,
I would like to report two heap corruption issue.
Test environment:
python ersion: python 2.7.11+
hg id: d858eadf2602 (2.7)
compile: clang with ASAN
OS: ubuntu x86_64
One is heap-buffer-overflow, the other is heap-user-after-free.
All of samples are
Park Alex added the comment:
all of .pyc files had been altered by fuzzer.
original py code is following:
$ cat helloworld.py
def hello(s=0x4142434445464748):
print s
if type(s) == str:
print s.encode('hex')
print repr(s)
else:
s = str(s)
p
Park Alex added the comment:
I totally agreed with your opinion.
So I hesitated before reporting the issue (I thought)
It's kinda, we have different point of view.
As far as I can tell,
python could be corrupted with .pyc like heap-use-after-free, buffer overrun
and so on.
Again, I a
Park Alex added the comment:
oops, I cannot modify reply even I wrote it,
want to fix tiny typo.
I don't want to bother you guys, I respect python-dev as always.
Thanks,
-- Alex
--
___
Python tracker
<http://bugs.python.org/is
New submission from Alex Willmer:
Building current tip (rev 102062:3d726dbfca31), on Ubuntu 16.04/x86_64, using
--without-thread fails; with the following error
gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes-Werror=declaration-after-statement
Alex Gaynor added the comment:
I'm opposed to adding FIPS knobs to Python's SSL module for a few reasons:
- FIPS is a bad standard (which I'm happy to talk at length about)
- OpenSSL is regularly on the verge of dropping FIPS support
(https://www.openssl.org/blog/blog/2016/07/
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue27701>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
So, for servers really what we care about is if the _client_ has
PCLMULQDQ/AESNI, not whether the server itself does. Unfortunately, there's no
sane way to do this.
Haven't reviewed this patch in terribly much detail, but conceptually fine.
Cory, we s
Alex Gaynor added the comment:
Simply doing AES-GCM before ChaCha20 is probably the simplest thing to start
with, can always get fancier later.
--
___
Python tracker
<http://bugs.python.org/issue27
Alex Gaynor added the comment:
Exposing it in some way would be good, but we can make that a seperate issue.
--
___
Python tracker
<http://bugs.python.org/issue27
Alex Gaynor added the comment:
In this case, performance is security. Both AES-GCM and ChaCha20-Poly1305 are
secure. Modulo one thing: GCM in software is hard to implement in
constant-time, so it's strongly preferable to use it only when there's a
hardware implementation. It works
Alex Gaynor added the comment:
+! from me, removing 3DES is a totally sane default, people who need IE8+XP
compat can change the default.
--
___
Python tracker
<http://bugs.python.org/issue27
New submission from Alex Groce:
Using a random testing system to compare Python long behavior to GMP (via
gmpy2), I notice that in a low-memory situation (created by allocating many
large integers in both Python and GMP), a left-shift of 0 by large number of
bytes:
- returns 0 via gmpy2
Alex Gaynor added the comment:
- The 2.7 patch contains numerous references to 3.6, these should be rewritten
to 2.7.x
-
--
___
Python tracker
<https://bugs.python.org/issue26
Alex Groce added the comment:
(to clarify:
0 << N
allocates memory (which can fail, raising MemoryError) based on N. GMP simply
returns 0 for any N.
--
___
Python tracker
<https://bugs.python.org/i
Alex Groce added the comment:
AND, right shift >> does not allocate memory, so there is a lack of symmetry
that indicates the optimization might be desired.
see
https://github.com/agroce/tstl/tree/master/examples/gmpy2/leftshiftalloc.py
vs.
https://github.com/agroce/tstl/tree/master/ex
Alex Groce added the comment:
Allocates, then fails to perform the operation (with MemoryError). Neither a
crash nor resource allocation, precisely, just fails to carry out operation GMP
integers can do under the same circumstances.
--
___
Python
Alex Groce added the comment:
I mean a Python long. GMP mpz (via gmpy2) is supposed to be "drop-in"
replacement, but it's choice to handle 0 << N even if N is too large to
allocate (since you get back a 1-bit number, 0) seems reasonable, if not
required for correct beh
New submission from Alex Gaynor:
Following the length_hint PEP, we should expose this facility to end-python
programmers. The semantics would be basically: the list has behavior identical
to if you hadn't provided length_hint, except the VM is free to preallocate
efficiently.
CPython
Alex Gaynor added the comment:
python-dev/ideas may be a better place to have this discussion, but basically
if you're going to insist that stuff like this doesn't go into Python "because
it isn't C++", people are going to have to write C++, and that makes me
in
Alex Gaynor added the comment:
That strategy only works if you know the exact count, it fails if you only have
an estimate (as __length_hint__ gives you).
--
___
Python tracker
<http://bugs.python.org/issue17
New submission from Alex Gaynor:
str.split returns a list, which is inefficient when you just want to process
items one be one. You could emulate this with str.find and tracking indexes
manually, but this should really be a builtin behavior.
--
messages: 183411
nosy: alex
priority
New submission from Alex Orange:
The documentation at
http://docs.python.org/2/c-api/typeobj.html#PySequenceMethods is missing
sq_slice between sq_item and sq_ass_item. This will mess up anyone trying to
use anything after sq_item (that isn't using designated initial
Alex Orange added the comment:
If you look at the 2.7.3 version of that file:
http://hg.python.org/cpython/file/70274d53c1dd/Include/object.h it has more
information. It is a ssizessizeargfunc. I assume it passes the lower and upper
bound and expects back a subsequence
Alex Orange added the comment:
Just to clarify though, that is entirely an assumption as to how it's supposed
to be used.
--
___
Python tracker
<http://bugs.python.org/is
Alex Orange added the comment:
I must admit I'm a little new to the development side of things. Can someone
point me at a repo or something that the documentation files are in? I'm sort
of guessing that the html is the processed output of
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17423>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Alex Gaynor added the comment:
The patch has been merged into libffi upstream:
https://github.com/atgreen/libffi/pull/32
--
___
Python tracker
<http://bugs.python.org/issue17
New submission from Alex Gaynor:
If I run:
$ python -mtest.test_tk
I get a skip, after speaking with people familiar with OS X, it appears that
the condition for the skip uses old Carbon APIs, which are totally deprecated
under 64-bit. Attached is a patch which should work.
--
files
Alex Gaynor added the comment:
This is a result of your shell automatically expeanding that, depending on what
shell you use there'll be a way to escape the *.
--
nosy: +alex
resolution: -> invalid
___
Python tracker
<http://bugs
Alex Gaynor added the comment:
In my opinion that should use PyLong_CheckExact
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17576>
___
___
Pytho
Alex Gaynor added the comment:
Raymond: Is that for the wrong ticket, or was the message incorrect? :)
--
___
Python tracker
<http://bugs.python.org/issue17
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17655>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Alex Waite:
spwd uses -1 rather than '' for empty attributes. This is different from the
behaviour in the pwd module, and makes it more difficult to generate a new,
valid shadow entry.
In my opinion, simply doing a ':'.join(str(val) for val in rec)
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17701>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Alex Gaynor added the comment:
If a pure python operator module were a part of the stdlib, we (PyPy) would
probably delete most (if not all) of our own operator module.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue16
Alex Gaynor added the comment:
Looking at the patch (haven't actually benchmarked it), I have two concerns
with respect to performance:
a) The need for locking, this doesn't exist in the C or RPython versions
because of the GIL. That locking is going to be distinctly un-free.
b) Th
Alex Leach added the comment:
The configure.ac patch works for me, on x86_64 Arch Linux. I just updated to
GCC-4.8.0 and came across an overwhelming number of these warnings when
compiling extension modules. Thanks for the simple fix David.
Tested on hg branch 2.7; the testsuite completes
Alex Leach added the comment:
I've just ran into tp_version_tag, when running the boost python testsuite and
wondered what it was... Since upgrading to GCC 4.8, I've started to get a lot
more warnings with Python extensions, e.g.:-
boost/python/opaque_pointer_converter.hpp:122:1
Changes by Alex Gaynor :
--
nosy: +alex, fijall
___
Python tracker
<http://bugs.python.org/issue17800>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Leach added the comment:
I don't think I can tell you anything you don't know already, but ...
On Tue, 23 Apr 2013 19:38:18 +0100, Dave Malcolm
wrote:
> BTW, is that GCC format checking code available anywhere?
Is this what you mean?
http://gcc.gnu.org/viewcvs/gcc/trunk
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17853>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17947>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Alex Rhatushnyak:
In Python 2.7.4:
import math
for i in range(40, 55): print int(math.log(2**i, 2)),
output:
40 41 42 43 44 45 46 46 48 49 49 50 52 53 53
--
messages: 188976
nosy: Alex.Rhatushnyak
priority: normal
severity: normal
status: open
title: int(math.log
Alex Gaynor added the comment:
This would preclude code like:
class Shape(Enum):
rectangle = shape = 2
which seems (to me) to be the most reasonable way to express aliasing.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17
Alex Gaynor added the comment:
It could also track tids and raise an error if you attempt to use it from
multiple threads.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue17
Alex Gaynor added the comment:
>From PyPy's perspective we don't really care what you name this particular
>bikeshed, and it's probably not that important to us (in this particular case).
As far as I know IronPython is the only Python VM that doesn't have _getframe(
Alex Gaynor added the comment:
I don't see why we need some C level _fileio, the os module has everythign we
need.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/is
New submission from Alex Gaynor:
This patch splits a dictionary that maps integer and string representations of
levels to each other out into two dictionaries, one which goes int -> string,
and the other which is string -> int. This makes it easier to reason about what
a variable co
Changes by Alex Gaynor :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue18046>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Burka :
--
nosy: +Alex.Burka
___
Python tracker
<http://bugs.python.org/issue18050>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Parrill:
Passing False to the allow_fragments argument to urljoin doesn't remove
fragments.
Is this a bug, or am I misunderstanding the allow_fragments parameter? It's not
perfectly clear what "fragment identifiers are not allowed" means (strips
Alex Gaynor added the comment:
Updated patch cherry-picks in some of the documentation updates that were
pushed by Victor.
--
Added file: http://bugs.python.org/file36868/issue22559.diff
___
Python tracker
<http://bugs.python.org/issue22
New submission from Alex Vaystikh:
parsing query-string before and after cleaning with urllib.parse.unquote can
have very different results:
http://nbviewer.ipython.org/gist/bornio/e112e6d8d04dfed898c8
Perhaps it should be better documented, or make the method more idempotent
Changes by Alex Vaystikh :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue22618>
___
___
Python-bugs-list mailing list
Unsubscrib
Alex Vaystikh added the comment:
It is much clearer after your insight:
- I wasn't aware that 'parse_qs' unquotes values. That's most helpful!
- I had no idea what 'keep_blank_values' were before your example, but now it
couldn't be more obvious. I know that a
Alex Gaynor added the comment:
Would you be ok with it going into 2.7.10? The biggest argument in favor of
this is that it significantly reduces the diff between 2.x and 3.x's SSL
module, specifically it removes the one major difference between the two of
Alex Gaynor added the comment:
Patch with the implementation, and initial work on documentation. Needs review
please, I suspect we need more docs in more places. Feedback please!
--
keywords: +needs review
Added file: http://bugs.python.org/file36901/issue22417.diff
New submission from Alex Gaynor:
Very simple patch.
--
assignee: docs@python
components: Documentation
files: https.diff
keywords: patch
messages: 229266
nosy: alex, docs@python
priority: normal
severity: normal
status: open
title: Documentation should point people to bugs. over HTTPS
Changes by Alex Gaynor :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22626>
___
___
Python-bugs-list
Changes by Alex Gaynor :
--
nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker
<http://bugs.python.org/issue22638>
___
___
Alex Gaynor added the comment:
This patch disables SSLv3 by default for Python. Uesrs can get it back by
specifiying SSL_PROTOCOLv3 explicitly.
--
keywords: +needs review, patch
nosy: +alex
Added file: http://bugs.python.org/file36926/issue22638.diff
Alex Gaynor added the comment:
create_default_context already disables SSLv3! (Good work everybody :-))
FWIW many vendors are already moving to disable SSLv3, e.g. cloudflare already
did.
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
CloudFlare published some statistics:
https://blog.cloudflare.com/sslv3-support-disabled-by-default-due-to-vulnerability/
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
Debian is also considering this, and link some statistics on IE6 specifically
(one of the, if not the single, largest SSLv3 users):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765347
--
___
Python tracker
<h
Alex Gaynor added the comment:
It's been implemented in boringssl:
https://boringssl.googlesource.com/boringssl/+/2970779684c6f164a0e261e96a3d59f331123320
I don't believe it's in OpenSSL though.
--
___
Python tracker
<http
New submission from Alex Gaynor:
https://www.openssl.org/news/secadv_20141015.txt
--
components: Extension Modules
keywords: security_issue
messages: 229462
nosy: alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou,
steve.dower, tim.golden, zach.ware
priority: normal
Alex Gaynor added the comment:
Benjamin, do you have an opinion on backporting this to 2.7?
--
___
Python tracker
<http://bugs.python.org/issue22638>
___
___
Pytho
Alex Gaynor added the comment:
Yes, that would be good. Need to make sure all the changes are completely
applicable -- the SSLv3 change wasn't backported.
--
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
Are you able to test this against the 2.7 branch from hg? The ssl module
received some significant attention for 2.7.9.
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker
Alex Gaynor added the comment:
Patch now makes more precise assertions about the type of error that's
occurring.
--
Added file: http://bugs.python.org/file37077/issue22417.diff
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
Updates to teh docs based on teh feedback from Antoine.
--
Added file: http://bugs.python.org/file37081/issue22417.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
New version of the patch based on feedback from benjamin, should make it easier
to do the 3.4 branch stuff.
--
Added file: http://bugs.python.org/file37094/issue22417.diff
___
Python tracker
<http://bugs.python.
1301 - 1400 of 1613 matches
Mail list logo