[issue25578] Memory leak in SSLSocket.getpeercert() with 0-length AIA extension

2015-11-07 Thread Alex Gaynor
New submission from Alex Gaynor: Test. Put this certificate in a file: -BEGIN CERTIFICATE- MIICjTCCAXWgAwIBAgIBADANBgkqhkiG9w0BAQsFADAAMB4XDTE1MTEwNzE1MTAw NVoXDTE1MTEwNzE1MTAwNVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAKiZ3rzOM1m6toThRtkwgZzjuVVdapwU63yoXmp91f14pfO1z5XIkVAP1Sz

[issue25613] fix ssl tests with sslv3 disabled

2015-11-12 Thread Alex Gaynor
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

[issue25569] Memory leak in SSLSocket.getpeercert()

2015-11-14 Thread Alex Gaynor
Alex Gaynor added the comment: fixed -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue25569> ___ ___ Python-bugs-list mailing list Un

[issue25578] Memory leak in SSLSocket.getpeercert() with 0-length AIA extension

2015-11-14 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue25578> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Alex Gaynor
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

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2015-12-25 Thread Alex Gaynor
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

[issue26066] Language on the "Cryptographic Services" is out of date

2016-01-09 Thread Alex Gaynor
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

[issue26066] Language on the "Cryptographic Services" documentation page is out of date

2016-01-09 Thread Alex Gaynor
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://

[issue26075] typing.Union unifies types too broadly

2016-01-10 Thread Alex Grönholm
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

[issue26133] TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object in

2016-01-16 Thread Alex Brandt
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

[issue26195] Windows frozen .exe multiprocessing.Queue access is denied exception

2016-01-24 Thread Alex Robinson
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

[issue26242] reST formatting error in Doc/library/importlib.rst

2016-01-30 Thread Alex Gaynor
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

[issue26450] make html fails on OSX

2016-02-27 Thread Alex LordThorsen
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

[issue26450] make html fails on OSX

2016-02-27 Thread Alex LordThorsen
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

[issue26451] CSV documentation doesn't open with an example

2016-02-27 Thread Alex LordThorsen
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

[issue26195] Windows frozen .exe multiprocessing.Queue access is denied exception

2016-02-28 Thread Alex Robinson
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

[issue26465] Upgrade OpenSSL shipped with python installers

2016-03-01 Thread Alex Gaynor
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

[issue23670] Modifications to support iOS as a cross-compilation target

2016-03-01 Thread Alex Willmer
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

[issue26443] cross building extensions picks up host headers

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue26443> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22625] When cross-compiling, don’t try to execute binaries

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22625> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22699] cross-compilation of Python3.4

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22654] issue with PYTHON_FOR_BUILD

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22654> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26443] cross building extensions picks up host headers

2016-03-01 Thread Alex Willmer
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

[issue26465] Upgrade OpenSSL shipped with python installers

2016-03-02 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker <http://bugs.python.org/issue26465> ___ ___

[issue26477] typing forward references and module attributes

2016-03-03 Thread Alex Grönholm
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

[issue26505] [PATCH] Spelling of ANY in the license of Modules/getaddrinfo.c

2016-03-07 Thread Alex Willmer
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

[issue26271] freeze.py makefile uses the wrong flags variables

2016-03-07 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue26271> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22625] When cross-compiling, don’t try to execute binaries

2016-03-14 Thread Alex Willmer
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

[issue26580] Documentation for ftplib still references ftpmirror.py

2016-03-19 Thread Alex Walters
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

[issue26798] add BLAKE2 to hashlib

2016-04-18 Thread Alex Gaynor
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

[issue26930] Upgrade installers to OpenSSL 1.0.2h

2016-05-03 Thread Alex Gaynor
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

[issue26957] Docs: remove duplicate "the" in description of `%z` in datetime docs

2016-05-04 Thread Alex Chan
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

[issue23515] Bad logic in timsort's merge_collapse

2015-02-24 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue23515> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22094] oss_audio_device.write(data) produces short writes

2015-02-25 Thread Alex Shkop
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

[issue23526] Silence resource warnings in test_httplib

2015-02-25 Thread Alex Shkop
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

[issue23527] test_smtpnet uses incorrect port for STARTTLS

2015-02-26 Thread Alex Shkop
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

[issue22832] Tweak parameter names for fcntl module

2015-02-27 Thread Alex Shkop
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:

[issue22832] Tweak parameter names for fcntl module

2015-02-27 Thread Alex Shkop
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

[issue22832] Tweak parameter names for fcntl module

2015-02-27 Thread Alex Shkop
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

[issue23526] Silence resource warnings in test_httplib

2015-02-27 Thread Alex Shkop
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

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-01 Thread Alex Gaynor
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

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-01 Thread Alex Gaynor
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

[issue23552] Have timeit warn about runs that are not independent of each other

2015-03-01 Thread Alex Gaynor
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

[issue22832] Tweak parameter names for fcntl module

2015-03-01 Thread Alex Shkop
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

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-03-02 Thread Alex Shkop
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

[issue23577] Add tests for wsgiref.validate

2015-03-03 Thread Alex Shkop
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

[issue23593] Update Windows and OS X installer OpenSSL to 1.0.2

2015-03-05 Thread Alex Gaynor
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

[issue23635] Python won't install correctly.

2015-03-10 Thread Alex Zhang
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

[issue23635] Python won't install correctly.

2015-03-12 Thread Alex Zhang
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

[issue23645] Incorrect doc for __getslice__

2015-03-13 Thread Alex Shkop
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",

[issue23679] SSL Ciphers RC4

2015-03-16 Thread Alex Gaynor
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

[issue23686] Upgrade copy of OpenSSL bundled with Python

2015-03-17 Thread Alex Gaynor
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_

[issue22832] Tweak parameter names for fcntl module

2015-03-20 Thread Alex Shkop
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

[issue23794] http package should support HTTP/2

2015-03-27 Thread Alex Gaynor
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

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-04-06 Thread Alex Shkop
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

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2015-04-06 Thread Alex Gaynor
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

[issue23811] Python py_compile error message inconsistent and missing newline

2015-04-07 Thread Alex Shkop
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

[issue23577] Add tests for wsgiref.validate

2015-04-08 Thread Alex Shkop
Alex Shkop added the comment: *ping* -- ___ Python tracker <http://bugs.python.org/issue23577> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23882] unittest discovery and namespaced packages

2015-04-08 Thread Alex Shkop
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

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-04-09 Thread Alex Shkop
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

[issue23914] pickle fails with SystemError

2015-04-11 Thread Alex Gaynor
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

[issue23914] pickle fails with SystemError

2015-04-11 Thread Alex Gaynor
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

[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Alex Walters
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

[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Alex Walters
Changes by Alex Walters : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <http://bugs.python.org/issu

[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord
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

[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord
Changes by Alex Lord : -- components: +Macintosh nosy: +ned.deily, ronaldoussoren ___ Python tracker <http://bugs.python.org/issue23939> ___ ___ Python-bugs-list m

[issue23940] test__supports_universal_builds failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord
Changes by Alex Lord : -- components: +Macintosh nosy: +ned.deily, ronaldoussoren ___ Python tracker <http://bugs.python.org/issue23940> ___ ___ Python-bugs-list m

[issue23940] test__supports_universal_builds failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord
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

[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord
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

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-04-13 Thread Alex Shkop
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

[issue21250] sqlite3 doesn't have unit tests for 'insert or [algorithm]' functionality.

2015-04-15 Thread Alex Lord
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.

[issue21250] sqlite3 doesn't have unit tests for 'insert or [algorithm]' functionality.

2015-04-15 Thread Alex Lord
Changes by Alex Lord : -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/issue21250> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18262] ZipInfo.external_attr are not documented

2015-04-16 Thread Alex Lord
Alex Lord added the comment: Any follow up on this? -- ___ Python tracker <http://bugs.python.org/issue18262> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23882] unittest discovery and namespaced packages

2015-04-17 Thread Alex Shkop
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

[issue23882] unittest discovery and namespaced packages

2015-04-20 Thread Alex Shkop
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

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-20 Thread Alex Shkop
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

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-28 Thread Alex Shkop
Changes by Alex Shkop : Added file: http://bugs.python.org/file39223/issue23882_find_one_level.patch ___ Python tracker <http://bugs.python.org/issue23882> ___ ___ Pytho

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-28 Thread Alex Shkop
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:

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-04-28 Thread Alex Shkop
Alex Shkop added the comment: *ping* -- ___ Python tracker <http://bugs.python.org/issue18383> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-28 Thread Alex Shkop
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

[issue24107] Add support for retrieving the certificate chain

2015-05-01 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker <http://bugs.python.org/issue24

[issue24104] Use after free in xmlparser_setevents (2)

2015-05-09 Thread Alex Lord
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

[issue24158] Error of the hint of upgrading pip

2015-05-10 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +dstufft, ncoghlan ___ Python tracker <http://bugs.python.org/issue24158> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-10 Thread Alex Lord
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

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-10 Thread Alex Lord
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

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-10 Thread Alex Lord
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

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-05-12 Thread Alex Shkop
Alex Shkop added the comment: Please, review the patch. -- ___ Python tracker <http://bugs.python.org/issue18383> ___ ___ Python-bugs-list mailing list Unsub

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-05-12 Thread Alex Shkop
Alex Shkop added the comment: Please, review the patch. -- ___ Python tracker <http://bugs.python.org/issue23882> ___ ___ Python-bugs-list mailing list Unsub

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-13 Thread Alex Lord
Changes by Alex Lord : Added file: http://bugs.python.org/file39366/sqlite_lastrowid_35_updated.patch ___ Python tracker <http://bugs.python.org/issue16864> ___ ___ Pytho

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-13 Thread Alex Lord
Changes by Alex Lord : Added file: http://bugs.python.org/file39367/sqlite_lastrowid_35_updated_2.patch ___ Python tracker <http://bugs.python.org/issue16864> ___ ___

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-17 Thread Alex Lord
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

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-18 Thread Alex Lord
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

[issue27928] Add hashlib.scrypt

2016-09-02 Thread Alex Gaynor
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

[issue27928] Add hashlib.scrypt

2016-09-07 Thread Alex Gaynor
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

[issue27928] Add hashlib.scrypt

2016-09-07 Thread Alex Gaynor
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: > &

[issue19500] Add client-side SSL session resumption

2016-09-08 Thread Alex Warhawk
Changes by Alex Warhawk : -- nosy: -Alex Warhawk ___ Python tracker <http://bugs.python.org/issue19500> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28112] Add callback to functools.lru_cache

2016-09-12 Thread Alex Jurkiewicz
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

[issue28112] Add callback to functools.lru_cache

2016-09-12 Thread Alex Jurkiewicz
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

[issue23749] asyncio missing wrap_socket (starttls)

2016-09-17 Thread Alex Grönholm
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> ___ ___

[issue28248] Upgrade installers to OpenSSL 1.0.2i

2016-09-22 Thread Alex Gaynor
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

<    11   12   13   14   15   16   17   >