[issue34580] sqlite doc: clarify the scope of the context manager

2019-05-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset 287b84de939db47aa8c6f30734ceb8aba9d1db29 by Berker Peksag (Xtreak) in branch 'master': bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079) https://github.com/python/cpython/commit/287b84de939db47aa8c6f30734ceb8

[issue34580] sqlite doc: clarify the scope of the context manager

2019-05-19 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue34580] sqlite doc: clarify the scope of the context manager

2019-05-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset 205c1f0e36e00e6e7cb7fbabaab4f52732859f9e by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079) https://github.com/python/cpyt

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Berker Peksag
Change by Berker Peksag : -- status: closed -> open ___ Python tracker <https://bugs.python.org/issue36948> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13388 stage: resolved -> patch review ___ Python tracker <https://bugs.python.org/issue36948> ___ ___ Python-

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the heads up, David. Could you please take a look at PR 13476? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Berker Peksag
Berker Peksag added the comment: New changeset 2725cb01d7cbf5caecb51cc20d97ba324b09ce96 by Berker Peksag in branch 'master': bpo-36948: Fix test_urlopener_retrieve_file on Windows (GH-13476) https://github.com/python/cpython/commit/2725cb01d7cbf5caecb51cc20d97ba

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2019-05-24 Thread Berker Peksag
Berker Peksag added the comment: New changeset 14738ff83d852c95a0cf33e5c90a85860a9c5620 by Berker Peksag in branch 'master': bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977) https://github.com/python/cpython/commit/14738ff83d852c95a0cf33e5c

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2019-05-24 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7 ___ Python tracker <https://bugs.python.o

[issue27860] Improvements to ipaddress module

2019-05-27 Thread Berker Peksag
Change by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker <https://bugs.python.org/issue27860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36991] zipfile: AttributeError on extract

2019-05-28 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13532 pull_request: https://github.com/python/cpython/pull/13632 ___ Python tracker <https://bugs.python.org/issue36

[issue36991] zipfile: AttributeError on extract

2019-05-28 Thread Berker Peksag
Berker Peksag added the comment: The OP's report is valid and they already stated that the file is malformed. More importantly, this can be reproduced with a valid ZIP file as well. The correct behavior is to get RuntimeError in this case. _check_compression() needs to be called b

[issue22640] Add silent mode for py_compile

2019-05-28 Thread Berker Peksag
Berker Peksag added the comment: New changeset 2e33ecd7c9b0cac3efc6fcbdd4547fd086b4e2d1 by Berker Peksag (Joannah Nanjekye) in branch 'master': bpo-22640: Add silent mode to py_compile.compile() (GH-12976) https://github.com/python/cpython/commit/2e33ecd7c9b0cac3efc6fcbdd4547f

[issue22640] Add silent mode for py_compile

2019-05-28 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.or

[issue22454] Adding the opposite function of shlex.split()

2019-05-29 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2019-05-30 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +13577 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13689 ___ Python tracker <https://bugs.python.org/issu

[issue32655] File mode should be a constant

2019-05-30 Thread Berker Peksag
Berker Peksag added the comment: Changing the value of mode also changes its repr. This seems like a bug to me. It's probably too late to change TextIOWrapper.__repr__(). I think this needs to be discussed on python-dev first. >>> f = open("README.rst") >&

[issue36271] '_io.TextIOWrapper' object has no attribute 'mode'

2019-05-30 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report. This is a duplicate of issue 32655. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> File mode should be a constant __

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset a6ec1ce1ac05b1258931422e96eac215b6a05459 by Berker Peksag (Ammar Askar) in branch 'master': bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) https://github.com/python/cpython/commit/a6ec1ce1ac05b1258931422e96eac2

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset a6dc5d4e1c9ef465dc1f1ad95c382aa8e32b178f by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) https://github.com/python/cpython/commit/a6dc5d4e1c9ef465dc1f1ad95c382a

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Diego and thank you for the patch, Ammar! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.4, Python 3.5, P

[issue12178] csv writer doesn't escape escapechar

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13597 pull_request: https://github.com/python/cpython/pull/13710 ___ Python tracker <https://bugs.python.org/issue12

[issue32628] Add configurable DirectoryIndex to http.server

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report and for the patch! What's your use case? I understand the need for it for httpd, but as someone who uses http.server daily, I can't think of a use case that I'd find this feature useful. Note that even the example in y

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset 549e55a3086d04c13da9b6f33214f6399681292a by Berker Peksag (Zackery Spytz) in branch 'master': bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711) https://github.com/python/cpyt

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.7 ___ Python tracker <https://bugs.python.or

[issue34763] Python lacks 0x4E17

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Tools/unicode/makeunicodedata.py looks at Unihan database for the fields kAccountingNumeric, kOtherNumeric, and kPrimaryNumeric in Unihan_NumericValues.txt: https://github.com/python/cpython/blob/549e55a3086d04c13da9b6f33214f6399681292a/Tools/unicode

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13603 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13716 ___ Python tracker <https://bugs.python.org/issu

[issue36993] zipfile: tuple IndexError on extract

2019-06-01 Thread Berker Peksag
Berker Peksag added the comment: This report is valid. Serhiy has improved error reporting of the extra field in feccdb2a249a71be330765be77dee57121866779. counts can indeed be an empty tuple: elif ln == 0: counts = () If I'm reading section 4.5.3 of https://pkware.cachefl

[issue36993] zipfile: tuple IndexError on extract

2019-06-01 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +13611 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13727 ___ Python tracker <https://bugs.python.org/issu

[issue36992] zipfile: AttributeError on extract (LZMA)

2019-06-01 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 36991 and will be fixed by the same PR. -- nosy: +berker.peksag resolution: not a bug -> duplicate superseder: -> zipfile: AttributeError on extract ___ Python tracker

[issue36976] email: AttributeError

2019-06-01 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Certain Malformed email causes email.parser to throw AttributeError ___ Python tracker <https://bugs.python

[issue36993] zipfile: tuple IndexError on extract

2019-06-01 Thread Berker Peksag
Berker Peksag added the comment: @alter-bug-tracer, could you please create test files for the cases Serhiy has just mentioned? -- ___ Python tracker <https://bugs.python.org/issue36

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-15 Thread Berker Peksag
Berker Peksag added the comment: I personally never need this feature before so I will add Michael and Robert to nosy list to take their opinions. -- nosy: +berker.peksag, michael.foord, rbcollins stage: -> patch review ___ Python tracker &l

[issue27584] New addition of vSockets to the python socket module

2017-06-20 Thread Berker Peksag
Berker Peksag added the comment: You don't need a GitHub account for contributing to CPython, but the pull request workflow is the preferred way. You can still attach your patches to this issue. -- nosy: +berker.peksag ___ Python tracker

[issue30827] Tweak order of links in https://www.python.org/downloads/source/

2017-07-02 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Sarge. This is already reported to python.org issue tracker at https://github.com/python/pythondotorg/issues/1079 Closing this as 'third party'. -- nosy: +berker.peksag resolution: -> third party stage: ->

[issue29812] test for token.py, and consistency tests for tokenize.py

2017-07-02 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue29812> ___ ___ Python-bugs-list mailing list Un

[issue29812] test for token.py, and consistency tests for tokenize.py

2017-07-02 Thread Berker Peksag
Berker Peksag added the comment: Yes, they are. I like the idea of generating C files from Lib/token.py. Let's see what David thinks about issue 30455. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/is

[issue30854] Compile error on Python/ceval.c

2017-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue30854> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset fae8f4a9cb88a68eb14750cbb8ddf8740fd67b8b by Berker Peksag (Nir Soffer) in branch 'master': bpo-29854: Fix segfault in call_readline() (GH-728) https://github.com/python/cpython/commit/fae8f4a9cb88a68eb14750cbb8ddf8740fd67b8b -

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-06 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> backport needed ___ Python tracker <http://bugs.python.org/issue29854> ___ ___ Python-bugs-list mai

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-07 Thread Berker Peksag
Berker Peksag added the comment: > Similar failure on x86 Tiger 3.x. This one is interesting. I thought we don't have OS X buildbots with readline installed. I would prefer skipping the test based on readline version installed. Side note: I think we should print readline, sql

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-07 Thread Berker Peksag
Berker Peksag added the comment: I've opened PR 2618 to print readline version and implementation in regrtest's display_header() method. -- ___ Python tracker <http://bugs.python.o

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-07 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +2684 ___ Python tracker <http://bugs.python.org/issue29854> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-07 Thread Berker Peksag
Berker Peksag added the comment: > So we have version 0x502 without libedit emulation succeeding on > FreeBSD 9.x, and failing on 10.x. test_history_size() fails on FreeBSD 9.x too: == FAIL: test_histor

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-07 Thread Berker Peksag
Berker Peksag added the comment: According to https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES, the history-size setting was added in readline 6.0: e. A new user-settable variable, `history-size', allows setting the maximum number of entries in the history list. The

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset aa6a4d6ed881f79c51fb91dd928ed9496737b420 by Berker Peksag (Nir Soffer) in branch 'master': bpo-29854: Skip history-size test on older readline (GH-2621) https://github.com/python/cpython/commit/aa6a4d6ed881f79c51fb91dd928ed9

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset 04f77d4677e7508b6ec8de9d0331fdabbcd11d30 by Berker Peksag (Nir Soffer) in branch '3.6': [3.6] bpo-29854: Fix segfault in call_readline() (GH-728) https://github.com/python/cpython/commit/04f77d4677e7508b6ec8de9d0331fd

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-09 Thread Berker Peksag
Berker Peksag added the comment: New changeset 68c3724651776f4ae90ed24d70cef6fd45bc7db5 by Berker Peksag (Nir Soffer) in branch '3.5': [3.5] bpo-29854: Fix segfault in call_readline() (GH-728) https://github.com/python/cpython/commit/68c3724651776f4ae90ed24d70cef6

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset bfa4fe4f39dd8b5ce1a0b649cedd36857859081a by Berker Peksag (Nir Soffer) in branch '2.7': [2.7] bpo-29854: Fix segfault in call_readline() (GH-728) https://github.com/python/cpython/commit/bfa4fe4f39dd8b5ce1a0b649cedd36

[issue29854] Segfault when readline history is more then 2 * history size

2017-07-10 Thread Berker Peksag
Berker Peksag added the comment: Ok, I think we can finally close this one :) Thank you, everyone! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-10 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: -> behavior versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue30902] Python-Redmine plugin not seeing python install MacOS

2017-07-11 Thread Berker Peksag
Berker Peksag added the comment: python-redmine is not part of the Python standard library. https://github.com/maxtepkeev/python-redmine/issues is a better place to ask usage questions like this, thank you! -- nosy: +berker.peksag resolution: -> third party stage: -> resolved

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-18 Thread Berker Peksag
Berker Peksag added the comment: I merged Ammar's PR in d81bea6520892e0428aec61c73e0631a69db11bb, but it looks like I missed that the PR title and commit message was different and the latter didn't contain bpo-30883. -- stage: needs patch -> backport needed versions

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-18 Thread Berker Peksag
Berker Peksag added the comment: New changeset a739000db55ef55e69a53ca6966ea8657cac4354 by Berker Peksag (Ammar Askar) in branch '2.7': [2.7] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net (GH-2755) https://github.com/python/cpyt

[issue30971] Improve code readability of json.tool

2017-07-19 Thread Berker Peksag
Berker Peksag added the comment: I don't think most of the changes improve readability of json.tool. Everyone has their own preferences and it's usually not enough to justify code churn. Also, we don't need to add comments when the code itself is pretty descriptive: # Outpu

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset 856cbcc12f2e4cca93af5dc7ed6bcea4dd942f10 by Berker Peksag (Aaron Gallagher) in branch 'master': bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) https://github.com/python

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset aca493b7a337338fa20395fbc2d1895cb8093826 by Berker Peksag (Ammar Askar) in branch '3.5': [3.5] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net (GH-2755) https://github.com/python/cpyt

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset ae4dca7701ca77a37aa8c956450ff8e21fe6883e by Berker Peksag (Ammar Askar) in branch '3.6': [3.6] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net (GH-2755) https://github.com/python/cpyt

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Ammar! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-19 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> backport needed ___ Python tracker <http://bugs.python.org/issue29403> ___ ___ Python-bugs-list mai

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-21 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +2858 ___ Python tracker <http://bugs.python.org/issue29403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-21 Thread Berker Peksag
Berker Peksag added the comment: New changeset 64b9a15886840df422c5203fad25c9801b4cf61e by Berker Peksag in branch '3.6': [3.6] bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) https://github.com/python

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-21 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +2860 ___ Python tracker <http://bugs.python.org/issue29403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-21 Thread Berker Peksag
Berker Peksag added the comment: New changeset e78dc0aaf03cd98373910150c2d35418cf938254 by Berker Peksag in branch '3.5': [3.5] bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) https://github.com/python

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-07-21 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the PR, Aaron! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue30274] Make importlib.abc.ExtensionFileLoader.__init__() documentation match code

2017-07-23 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> patch review type: -> enhancement versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue30454] Python module cx_Oracle ld installation issue on Solaris11U3 SPARC: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error

2017-07-23 Thread Berker Peksag
Berker Peksag added the comment: cx_Oracle is not part of the Python standard library and according to https://community.oracle.com/thread/4048639 the solution is to install it from Solaris' package repository. -- nosy: +berker.peksag resolution: -> third party stage: -&g

[issue30456] 2to3 docs: example of fix for duplicates in second argument of isinstance has superfluous parentheses

2017-07-23 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> backport needed type: -> behavior versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/i

[issue30456] 2to3 docs: example of fix for duplicates in second argument of isinstance has superfluous parentheses

2017-07-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset 26248ef58dcf49619930ffa2e050ffa687a88601 by Berker Peksag (Eli Boyarski) in branch 'master': bpo-30456: Clarify example for duplicates in second argument of isinstance (GH-1699) https://github.com/python/cpyt

[issue30442] Skip test_xml_etree under coverage

2017-07-23 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Tests stage: -> backport needed versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue30442> ___ _

[issue30451] parse windows path error in webbrowser.get() and lead to webbrowser.Error: could not locate runnable browser

2017-07-23 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> webbrowser.get(command_line) does not support Windows-style path separators type: -> behavior ___ Python

[issue30516] Documentation for datetime substract operation incorrect?

2017-07-24 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue30516> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread Berker Peksag
Berker Peksag added the comment: For those who want to triage this issue, the test case can be found at https://github.com/drallensmith/neat-python/blob/e4aeb39eccefbd73babfb61bb13fd23feef2a102/tests/test_distributed.py#L234 -- nosy: +berker.peksag, davin, pitrou

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-11 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +3116 ___ Python tracker <http://bugs.python.org/issue30871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-11 Thread Berker Peksag
Berker Peksag added the comment: Two things: 1. I've just closed PR 2618 as the scope of this issue is broader than my PR. 2. Could you also add version information of sqlite3? -- nosy: +berker.peksag stage: -> patch review ___ Python

[issue31325] req_rate is a namedtuple type rather than instance

2017-09-01 Thread Berker Peksag
Berker Peksag added the comment: Good catch and thank you for turning the bug report in the HN thread to a pull request! I agree with all of Raymond's comments. I have two more comments: * Please follow our commit style at https://devguide.python.org/committing/#commit-messages * We n

[issue31378] Missing documentation for sqlite3.OperationalError

2017-09-07 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report. I think we can add a simplified version of the OperationalError documentation in PEP 249: Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer,

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2017-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.or

[issue31394] Ellipsis token.type != token.ELLIPSIS

2017-09-08 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, but this behavior is already documented at https://docs.python.org/3/library/tokenize.html To simplify token stream handling, all Operators and Delimiters tokens are returned using the generic token.OP token type. The exact

[issue31394] Ellipsis token.type != token.ELLIPSIS

2017-09-08 Thread Berker Peksag
Berker Peksag added the comment: If you look at https://docs.python.org/3/reference/lexical_analysis.html#delimiters '.' (period) is listed as delimiter and there is the following sentence to answer your question: A sequence of three periods has a special meaning as an ellips

[issue31394] Ellipsis_token.type != token.ELLIPSIS

2017-09-08 Thread Berker Peksag
Berker Peksag added the comment: Please don't reopen an issue if it was closed by a core developer. It's not clear to me what exactly do you want to change in the implementation or documentation. A sequence of three periods has a special meaning as an ellipsis literal. is

[issue31395] Docs Downloads are 404s

2017-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue31395> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31394] Ellipsis_token.type != token.ELLIPSIS

2017-09-08 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your detailed response, Aivar. I agree that adding 'and Ellipsis' would make the tokenize documentation clearer. Would you like to send a pull request? -- keywords: +easy type: ->

[issue31433] Impossible download python 3.6.2 and 2.7 documentation (html)

2017-09-12 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report. This is a duplicate of issue 31395. See https://bugs.python.org/issue31395#msg301978 and https://github.com/python/psf-salt/issues/118 for details. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved

[issue31525] switch to sqlite3_prepare_v2

2017-09-19 Thread Berker Peksag
Berker Peksag added the comment: We already use sqlite3_prepare_v2 if it's available: https://github.com/python/cpython/blob/master/Modules/_sqlite/util.h#L43 Do you want to use sqlite3_prepare_v2() unconditionally and drop support for older SQLite versions? -- nosy: +berker.p

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-27 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the pings. I will work on this issue this weekend. Note that 3.4 and 3.5 are in security-fix-only mode now, so I removed them from the versions field. -- assignee: -> berker.peksag versions: -Python 3.4, Python

[issue33687] uu.py calls os.path.chmod which doesn't exist

2019-01-17 Thread Berker Peksag
Berker Peksag added the comment: New changeset 17f05bbc78dbcd1db308266c31370da9ec1b1d47 by Berker Peksag (Timo Furrer) in branch 'master': bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) https://github.com/python/cpython/commit/17f05bbc78dbcd1db308266c31370d

[issue33687] uu.py calls os.path.chmod which doesn't exist

2019-01-17 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -11290 ___ Python tracker <https://bugs.python.org/issue33687> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33687] uu.py calls os.path.chmod which doesn't exist

2019-01-17 Thread Berker Peksag
Berker Peksag added the comment: New changeset a261b737617ca8d52e04bf3ead346b1b8786a212 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) https://github.com/python/cpython/commit/a261b737617ca8d52e04bf3ead346b

[issue33687] uu.py calls os.path.chmod which doesn't exist

2019-01-17 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Poul-Henning and thank you for the PR, Timo! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracke

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-17 Thread Berker Peksag
Berker Peksag added the comment: While I agree having more tests are a good thing, I'm not sure if the test in PR 11437 should be merged as it's not specifically testing a feature of the mock module. patch.dict() basically does the following operation (ignoring possible Attri

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-17 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -10872 ___ Python tracker <https://bugs.python.org/issue24928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35889] sqlite3.Row doesn't have useful repr

2019-02-14 Thread Berker Peksag
Berker Peksag added the comment: While the proposed formats look nice for artificial inputs, the Row object can have more than two fields and the value of a field can be much longer than that. So, in practice the new repr can make the situation worse than the current repr. I think wrapping

[issue35889] sqlite3.Row doesn't have useful repr

2019-02-14 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -11846 ___ Python tracker <https://bugs.python.org/issue35889> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35889] sqlite3.Row doesn't have useful repr

2019-02-14 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -11845 ___ Python tracker <https://bugs.python.org/issue35889> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35889] sqlite3.Row doesn't have useful repr

2019-02-14 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -11844 ___ Python tracker <https://bugs.python.org/issue35889> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36056] importlib does not support pathlib

2019-02-20 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but importlib.import_module() doesn't accept a path of a Python module: https://docs.python.org/3/library/importlib.html#importlib.import_module So, the correct way to use the API is: import impo

[issue36056] importlib does not support pathlib

2019-02-20 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +remi.lapeyre status: pending -> open ___ Python tracker <https://bugs.python.org/issue36056> ___ ___ Python-bugs-list mai

[issue36056] importlib does not support pathlib

2019-02-20 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> not a bug type: -> enhancement ___ Python tracker <https://bugs.python.org/issue36056> ___ ___ Python-bugs-

<    1   2   3   4   5   6   7   8   9   10   >