New submission from Alex Gaynor:
Test.
Put this certificate in a file:
-BEGIN CERTIFICATE-
MIICjTCCAXWgAwIBAgIBADANBgkqhkiG9w0BAQsFADAAMB4XDTE1MTEwNzE1MTAw
NVoXDTE1MTEwNzE1MTAwNVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAKiZ3rzOM1m6toThRtkwgZzjuVVdapwU63yoXmp91f14pfO1z5XIkVAP1Sz
Alex Gaynor added the comment:
Does this issue still occur on default?
https://hg.python.org/cpython/rev/d80954d941c7
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue25
Alex Gaynor added the comment:
fixed
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue25569>
___
___
Python-bugs-list mailing list
Un
Changes by Alex Gaynor :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue25578>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
I agree the tests shouldn't rely on a legacy domain like svn.python.org
In the mean time Ernest is working on getting a valid cert set up.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
There's good news and bad news, which do you want first?
Good news, great!
svn.python.org now has a certificate that's not expired, and it's even trusted
by major trust stores.
Bad news?
The tests rely on the cert for svn.python.org specifica
New submission from Alex Gaynor:
https://docs.python.org/2/library/crypto.html
https://docs.python.org/3/library/crypto.html
This language has a number of issues:
- Crypto isn't just for "Hardcore cypherpunks" anymore, it's a necessary
component of a great many software
Changes by Alex Gaynor :
--
title: Language on the "Cryptographic Services" is out of date -> Language on
the "Cryptographic Services" documentation page is out of date
___
Python tracker
<http://
New submission from Alex Grönholm:
>>> from typing import Union, Iterable
>>> Union[str, Iterable[int]]
typing.Iterable[int]
The union loses the "str" parameter because issubclass(str,
collections.abc.Iterable) returns True and the check completely disregards
gen
New submission from Alex Brandt:
When using the suggested practice of setting a stop loop signal handler with:
loop.add_signal_handler(signal.SIGTERM, loop.stop)
The following stack trace is given when the signal runs:
ligament_1 | Exception ignored in: >
ligament_1 | Traceback (most rec
New submission from Alex Robinson:
A pyinstaller 3.0 frozen .exe Python 2.7.10 program under Windows 7 that uses a
multiprocessing.Queue to send things to a multiprocessing.Process leads to the
process getting access-is-denied exceptions on every q.get() call.
And, when the program can't
New submission from Alex Gaynor:
https://hg.python.org/cpython/file/default/Doc/library/importlib.rst#l1124
the spacing is wrong, it should be:
.. versionchanged:: 3.5
--
assignee: docs@python
components: Documentation
messages: 259263
nosy: alex, docs@python, eric.araujo
New submission from Alex LordThorsen:
Did a fresh hg clone of the python 3.6 code base (3.6.0a0) on OSX 10.10.5 and
made a modification to a library rst. I went to build my changes and ran
$ make html
sphinx-build -b html -d build/doctrees -D latex_paper_size= . build/html
make: sphinx-build
Alex LordThorsen added the comment:
So I think this is really a documentation bug after playing with this a little
bit. I built a virtual env and pip installed sphinx. If I'm in the virtual
environment the build succeeds and out of it fails.
The documentation states that you need sphinx
New submission from Alex LordThorsen:
Had a friend get stuck on the CSV documentation. They didn't know what a CSV
was (to start with) and couldn't find an example that made sense to them. they
went to other sources to figure out how to read CSV files in the end.
I made this pa
Alex Robinson added the comment:
Sorry I can't help more than provide a test environment for any fix. I just
plucked the "fix" from StackOverflow and it fixed the Q problem on my machine.
It appears, at the least, the multiprocessing code should probably not rely on
the defaul
New submission from Alex Gaynor:
https://openssl.org/news/secadv/20160301.txt
--
keywords: security_issue
messages: 261052
nosy: alex, paul.moore, steve.dower, tim.golden, zach.ware
priority: critical
severity: normal
status: open
title: Upgrade OpenSSL shipped with python installers
Alex Willmer added the comment:
I've done my best to rebase Freakboy's patch onto 3.6-dev. The attached applies
cleanly, but the testsuite goes into an infinite loop. It's a start at least.
At a guess the problem is in Lib/test/libregrtest/ or Lib/test/regrtest.py
where th
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue26443>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue22625>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue22699>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue22654>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Willmer added the comment:
This looks like a duplicate of #20211, and IMO the patch there is more correct.
--
___
Python tracker
<http://bugs.python.org/issue26
Changes by Alex Gaynor :
--
nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker
<http://bugs.python.org/issue26465>
___
___
Alex Grönholm added the comment:
I wonder why they forward references are evaluated *at all* at this point.
Seems senseless to me. This should be the job of the static type checker or the
get_type_hints() function.
--
nosy: +alex.gronholm
New submission from Alex Willmer:
The license of Modules/getaddrinfo.c misspells ANY as GAI_ANY. I'm assuming a
sed invocation was the cause. The same file later uses GAI_ANY as a wildcard
for socket type, protocol and port.
It looks like this mistake was present when the code was
Changes by Alex Willmer :
--
nosy: +Alex.Willmer
___
Python tracker
<http://bugs.python.org/issue26271>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Willmer added the comment:
On 14 March 2016 at 01:05, Robert Collins wrote:
> There are three platforms in play: target, host, build.
>
> Host is the platform where what you build should run on.
> build is the platform we are building on.
> target is the platform where the
New submission from Alex Walters:
in #23130 ftpmirror.py was removed from the python source distribution. The
documentation still references this, and sends people looking for the file
(ostensibly as an example of how to use ftplib).
--
assignee: docs@python
components: Documentation
Alex Gaynor added the comment:
Right now all the hashlib algorithms are backed by OpenSSL. OpenSSL 1.1.0 will
have blake2, so perhaps the right move is just to wait for that to drop in a
few weeks?
Sadly many users with old OpenSSL's still won't have blake2, but pretty quickly
Wind
New submission from Alex Gaynor:
https://www.openssl.org/news/secadv/20160503.txt
--
keywords: security_issue
messages: 264731
nosy: alex, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden,
zach.ware
priority: normal
severity: normal
status: open
title: Upgrade installers
New submission from Alex Chan:
The description of the `%z` format code in the datetime docs reads:
> UTC offset in the form +HHMM or -HHMM (empty string if the the object is
> naive).
This tiny patch removes the second "the".
The current wording goes at least as far back as
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue23515>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Shkop added the comment:
It seems to me that OSS device doesn't accept more than SNDCTL_DSP_GETOSPACE.
Looks like this depends on OSS version because OSS docs state that since 4.x
one shouldn't use SNDCTL_DSP_GETOSPACE at all
[http://manuals.opensound.com
New submission from Alex Shkop:
Three resource warnings are present in test_httplib.
Patch closes HTTPSConnection in test_networked_noverification,
test_networked_trusted_by_default_cert, test_networked_good_cert.
--
components: Tests
files: test_httplib_warnings.patch
keywords: patch
New submission from Alex Shkop:
test_smtpnet uses port 25 for STARTTLS, whereas gmail exposes STARTTLS SMTP
over port 587.
--
components: Tests
files: test_smtpnet_starttls_port.patch
keywords: patch
messages: 236658
nosy: ashkop
priority: normal
severity: normal
status: open
title
Alex Shkop added the comment:
Created a patch. It renames arguments in clinic declarations and in documents.
For lockf I've chosen Linux naming, because it really calls fcntl which has an
argument called cmd, not function.
--
keywords: +patch
nosy: +ashkop
Added file:
Alex Shkop added the comment:
Looks like default value for mutate_flag in ioctl() should be False. Docstring
says:
"If the argument is a mutable buffer and the mutable_flag argument is not
passed or is false, the behavior is as if a string had been passed."
Should I change the def
Alex Shkop added the comment:
Docs say that mutate_flag is true by default since Python 2.5. Looks like I
should fix the docstring.
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Shkop added the comment:
Thanks, great to hear.
I'm glad to help)
--
___
Python tracker
<http://bugs.python.org/issue23526>
___
___
Python-bugs-list m
Alex Gaynor added the comment:
I'm attaching a patch that does what Donald suggests.
--
keywords: +patch
Added file: http://bugs.python.org/file38287/store.diff
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
It looks like the existing `verify_flags` param is actually the same thing, so
we can just use it. That said, I think this should be on by default, I can't
think of a scenario you don't want it.
--
___
Pyth
Alex Gaynor added the comment:
This seems like it probably will report something useless (and ultimately be
disabled) on PyPy, where runs before and after the JIT will display significant
variance.
--
nosy: +alex, arigo, fijall
___
Python tracker
Alex Shkop added the comment:
This patch fixes pointed out bugs in documentation and docstring for ioctl()
function.
--
Added file: http://bugs.python.org/file38295/issue22832_v2.patch
___
Python tracker
<http://bugs.python.org/issue22
Alex Shkop added the comment:
The issue occurs only if C implementation of _warnings is available. It is
caused by re-use of global filters variable from _warnings when warnings is
being re-imported.
So warnings modifies _warnings.filters on first import. Then, when you import
warnings again
New submission from Alex Shkop:
These tests increase coverage of wsgiref.validate module. They test
InputWrapper and ErrorWrapper used to validate env['wsgi.input'] and
env['wsgi.errors'].
--
components: Tests
files: wsgiref_test_wrappers.patch
keywords: patch
m
Alex Gaynor added the comment:
+1 on this -- for pyca/cryptography we're also making this leap in our next
release.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/is
New submission from Alex Zhang:
Currently can't install 343 on my computer. I had 342 installed, and wanted to
uninstall that for 343. Afterwards, being the idiot that I was, I deleted the
files in the Python34 folder. Uninstalling gives me an error.
There is a problem with this Wi
Alex Zhang added the comment:
Never mind, I used ccleaner and revo uninstaller to delete traces, then
reinstalled using the msi. Thanks for help, it's all good now!
--
resolution: -> fixed
status: open -> closed
___
Python tra
Alex Shkop added the comment:
This is true. In ceval.c default value for end index is PY_SSIZE_T_MAX. Whereas
in sysmodule.c defined:
SET_SYS_FROM_STRING("maxsize",
PyInt_FromSsize_t(PY_SSIZE_T_MAX));
SET_SYS_FROM_STRING("maxint",
Alex Gaynor added the comment:
I believe RC4 will still be used under 2.7.9 on clients, this is changed for
2.7.10
--
___
Python tracker
<http://bugs.python.org/issue23
New submission from Alex Gaynor:
On Thursday OpenSSL will disclose some security issues and issue new releases:
https://mta.openssl.org/pipermail/openssl-announce/2015-March/20.html
When that happens, Python's that bundle an OpenSSL should be upgraded.
--
keywords: security_
Alex Shkop added the comment:
Fixed default values for fcntl(), ioctl() and lockf()
--
Added file: http://bugs.python.org/file38598/issue22832_v3.patch
___
Python tracker
<http://bugs.python.org/issue22
New submission from Alex Gaynor:
The spec is available at https://http2.github.io/
--
components: Library (Lib)
messages: 239424
nosy: alex
priority: normal
severity: normal
status: open
title: http package should support HTTP/2
___
Python tracker
Alex Shkop added the comment:
When caller adds duplicate filter maybe we should promote his filter to the
beginning of filters list? This feels more correct to me. So if user adds
duplicate filter everything will work as if we added it.
--
Added file:
http://bugs.python.org/file38841
Alex Gaynor added the comment:
I'm concerned the _ssl changes will make security backports significantly more
difficult.
--
___
Python tracker
<http://bugs.python.org/is
Alex Shkop added the comment:
This patch adds new line symbol. For some reason py_compile module prints only
SyntaxErrors with traceback. All other exceptions are printed with "Sorry:" and
in one line.
--
keywords: +patch
nosy: +ashkop
Added file: http://bugs.python.org
Alex Shkop added the comment:
*ping*
--
___
Python tracker
<http://bugs.python.org/issue23577>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Shkop added the comment:
Spent some time looking into this one. Looks like the problem is in
TestLoader.discover() method. There are couple of issues I found in it, all
caused by same assumption.
Documentation [1] states that all test modules found by discover() method
should be
Alex Shkop added the comment:
So, there are actually two issues, both of them causing the original warning.
First issue was pointed out by Florent Xicluna. warnings.filterwarnings()
method can create duplicates in warnings.filters.
Second issue is that assertWarns() works incorrectly in
New submission from Alex Gaynor:
>>> pickle.loads(b'(o.\x7f.')
Traceback (most recent call last):
File "", line 1, in
SystemError: Objects/tupleobject.c:71: bad argument to internal function
(Or the equivalent using cPickle on Python 2)
Found using h
Alex Gaynor added the comment:
Yes, it can execute arbitrary code, but I think we should prefer raising
"specific" error messages, instead of failing inside tuple details.
--
___
Python tracker
<http://bugs.python.o
New submission from Alex Walters:
the Whats New in Python 3.5 lacks an indication that cpython is dropping
support for that platform due to Microsoft dropping continuing support for it
(see PEP 11).
--
files: docs_unsupported_xp_35.patch
keywords: patch
messages: 240727
nosy: tritium
Changes by Alex Walters :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker
<http://bugs.python.org/issu
New submission from Alex Lord:
On a fresh clone of cpython 3.5.0a0 if you run
$ ./configure --with-pydebug && make -j2
$ ./python.exe -m test.test__osx_support -j3
on osx 10.10.2 (14C109) these two test failures are
Changes by Alex Lord :
--
components: +Macintosh
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue23939>
___
___
Python-bugs-list m
Changes by Alex Lord :
--
components: +Macintosh
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue23940>
___
___
Python-bugs-list m
New submission from Alex Lord:
On a fresh clone of cpython 3.5.0a0 if you run
$ ./configure --with-pydebug && make -j2
$ ./python.exe -m test.test__osx_support -j3
on osx 10.10.2 (14C109) these two test failures are
Alex Lord added the comment:
Ah, Alright. I thought that hg up would bring me up to speed. Sorry for that.
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
Alex Shkop added the comment:
Removed unnecessary assertWarns() contexts and fixed spelling errors.
--
Added file:
http://bugs.python.org/file38982/issue18383_assert_warns_and_dups_v2.patch
___
Python tracker
<http://bugs.python.org/issue18
Alex Lord added the comment:
I've added a set of tests which test the insert or [algorithm] branch of
sqlite. It took some getting used to python.sqlite3's transaction model but I
think I have a much better understanding now.
--
keywords: +patch
Added file: http://bugs.
Changes by Alex Lord :
--
components: +Library (Lib)
___
Python tracker
<http://bugs.python.org/issue21250>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Lord added the comment:
Any follow up on this?
--
___
Python tracker
<http://bugs.python.org/issue18262>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Shkop added the comment:
Not fully. Patch for issue17457 fixed discovery when you explicitly specified
namespace package as a target for discovery. I.e. when you run
python -m unittest namespace_pkg
But it didn't recurse into any namespace packages inside namespace_pkg. So when
yo
Alex Shkop added the comment:
This script creates following directory structure
issue_23882\
tests\
test_fail.py
If you run from issue_23882 directory
python -m unittest
it doesn't find any tests. If there is __init__.py inside tests folder, same
command finds test_fail.py and ru
Alex Shkop added the comment:
Thanks. I understand the code pretty well and I saw issue17457 that fixes
discovery for explicitly specified namespace package.
What I need is to know how discovery has to work. Do we need to discover
namespace packages inside discovery path? And should we do
Changes by Alex Shkop :
Added file: http://bugs.python.org/file39223/issue23882_find_one_level.patch
___
Python tracker
<http://bugs.python.org/issue23882>
___
___
Pytho
Alex Shkop added the comment:
I'm still not sure which solution is the best. So I attach two simple patches.
First one enables full recursive scan of start_dir for namespace packages.
Second one loads tests only from top level namespace packages.
--
keywords: +patch
Added file:
Alex Shkop added the comment:
*ping*
--
___
Python tracker
<http://bugs.python.org/issue18383>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Shkop added the comment:
Yes. That is how issue23882_find_all.patch works. I just removed hte condition
if (not namespace and
not os.path.isfile(os.path.join(full_path, '__init__.py'))):
return None, False
This makes namespace parameter redund
Changes by Alex Gaynor :
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker
<http://bugs.python.org/issue24
Alex Lord added the comment:
../cpython/python.exe test_xmlparser_setevents.py
__del__ 1
__del__ 3
Segmentation fault: 11
Confirmation on 3.5.0a4 Python 3.5.0a4+
--
nosy: +Alex.Lord
___
Python tracker
<http://bugs.python.org/issue24
Changes by Alex Gaynor :
--
nosy: +dstufft, ncoghlan
___
Python tracker
<http://bugs.python.org/issue24158>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Lord added the comment:
Updated the patch to have a versionchanged for lastrowid in
Doc/Library/sqlite3.rst and Doc/whatsnew/3.5.rst
One thing of note is that I wasn't able to get the indentation to be on the
same level for sqlite3.rst (it would either intent the description text o
Alex Lord added the comment:
Thanks for Alex_gayner and lifeless. They pointed out the sqlite3_last_row_id
is part of the sqlite3 module itself (not cpython).
https://www.sqlite.org/c3ref/last_insert_rowid.html
According the documentation we can expect that if a constraint stops an
insertion
Alex Lord added the comment:
Went back to test to see if the other statements are covered already. Unit
tests show that lastrowid is set properly no matter what form of sqlite insert
statement is used.
sqlite_lastrowid_35_v2.patch contains the doc changes, unit test changes, and
code change
Alex Shkop added the comment:
Please, review the patch.
--
___
Python tracker
<http://bugs.python.org/issue18383>
___
___
Python-bugs-list mailing list
Unsub
Alex Shkop added the comment:
Please, review the patch.
--
___
Python tracker
<http://bugs.python.org/issue23882>
___
___
Python-bugs-list mailing list
Unsub
Changes by Alex Lord :
Added file: http://bugs.python.org/file39366/sqlite_lastrowid_35_updated.patch
___
Python tracker
<http://bugs.python.org/issue16864>
___
___
Pytho
Changes by Alex Lord :
Added file: http://bugs.python.org/file39367/sqlite_lastrowid_35_updated_2.patch
___
Python tracker
<http://bugs.python.org/issue16864>
___
___
Alex Lord added the comment:
There was a bunch of things wrong with that patch.
In addition to the issues you brought up in the review I was mixing up what the
actual problem is
REPLACE INTO is an alias for INSERT OR REPLACE. INSERT OR REPLACE was correctly
setting the lastrowid values but
Alex Lord added the comment:
Oh, alright. That makes a lot of sense. Sorry for being dense. I should have
read the docs on subtest.
All lines are under 80 characters and I modified the unit test to use subtest.
Thanks for taking the time to walk me through this.
--
Added file: http
Alex Gaynor added the comment:
Bug in the error message "n must be a multiple of 2." it should say "n must be
a power of 2."
--
nosy: +alex
___
Python tracker
<http://bug
Alex Gaynor added the comment:
PEP466 includes hashlib.pbkdf2_hmac(). Any reasoning that includes that surely
is applicable to scrypt as well.
--
___
Python tracker
<http://bugs.python.org/issue27
Alex Gaynor added the comment:
OpenSSL supports scrypt
On Sep 7, 2016 12:28 PM, "Benjamin Peterson" wrote:
>
> Benjamin Peterson added the comment:
>
> Why are we adding scrypt and not argon2 anyway?
>
> On Wed, Sep 7, 2016, at 03:25, Christian Heimes wrote:
> &
Changes by Alex Warhawk :
--
nosy: -Alex Warhawk
___
Python tracker
<http://bugs.python.org/issue19500>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Jurkiewicz:
I'd like to add support for functools.lru_cache to have a callback parameter
that runs every time an item is evicted from the cache. I've written a small
prototype here:
https://github.com/alexjurkiewicz/cpyt
Alex Jurkiewicz added the comment:
OK, thanks for the feedback. For future searchers I am using the pylru module
instead:
https://pypi.python.org/pypi/pylru
--
___
Python tracker
<http://bugs.python.org/issue28
Alex Grönholm added the comment:
So is this going to make it into 3.6...?
--
nosy: +Alex Grönholm
___
Python tracker
<http://bugs.python.org/issue23749>
___
___
New submission from Alex Gaynor:
https://www.openssl.org/news/secadv/20160922.txt
--
assignee: christian.heimes
components: Library (Lib), SSL
keywords: security_issue
messages: 277226
nosy: alex, christian.heimes, dstufft, janssen, ned.deily, paul.moore,
ronaldoussoren, steve.dower
1501 - 1600 of 1613 matches
Mail list logo