[issue34061] Document sqlite3.NotSupportedError exception

2018-07-08 Thread Berker Peksag
Change by Berker Peksag : -- stage: patch review -> backport needed ___ Python tracker <https://bugs.python.org/issue34061> ___ ___ Python-bugs-list mai

[issue34069] shutil.move fails with AttributeError

2018-07-08 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of bpo-32689. > It should use `os.fspath(path)` to get the path as a string. PR 5393 already does that. -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> close

[issue34061] Document sqlite3.NotSupportedError exception

2018-07-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset 404156534893461165bb5b99a42cabe261dddb78 by Berker Peksag (Marcin Niemira) in branch '3.6': bpo-34061: Document sqlite3.NotSupportedError (GH-8172) https://github.com/python/cpython/commit/404156534893461165bb5b99a42cab

[issue34061] Document sqlite3.NotSupportedError exception

2018-07-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset 0b63759651b366ddb4c1c1dece12ef776053d5ee by Berker Peksag (Marcin Niemira) in branch '3.7': bpo-34061: Document sqlite3.NotSupportedError (GH-8172) https://github.com/python/cpython/commit/0b63759651b366ddb4c1c1dece12ef

[issue34061] Document sqlite3.NotSupportedError exception

2018-07-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Marcin. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34077] doc Be explicit about mock_open created mocks not supporting __iter__

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: -1. We can't document every non-existent feature in the stdlib documentation. There is an already open issue for adding __iter__ support to mock_open(): Issue 21258 -- nosy: +berker.peksag resolution: -> rejected stage: patch review -&g

[issue32933] mock_open does not support iteration around text files.

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: This is basically a duplicate of bpo-21258, but I haven't closely look at the patches in both issues yet. We should probably consider adding support for __next__ as well. -- nosy: +berker.peksag ___ Python tr

[issue34077] doc Be explicit about mock_open created mocks not supporting __iter__

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: There is also bpo-32933. -- ___ Python tracker <https://bugs.python.org/issue34077> ___ ___ Python-bugs-list mailing list Unsub

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: New changeset 9863de0355caf23c44b708a5d68b603e135f7ae9 by Berker Peksag in branch 'master': bpo-24459: Document missing env variables in python.man (GH-4142) https://github.com/python/cpython/commit/9863de0355caf23c44b708a5d68b60

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Joshua! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue11572] bring Lib/copy.py to 100% coverage

2018-07-09 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7757 ___ Python tracker <https://bugs.python.org/issue11572> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11572] bring Lib/copy.py to 100% coverage

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: New changeset 2708578736d1aa15685495e9b94b827a8e185a8c by Berker Peksag in branch 'master': bpo-11572: Make minor improvements to copy module (GH-8208) https://github.com/python/cpython/commit/2708578736d1aa15685495e9b94b82

[issue11572] bring Lib/copy.py to 100% coverage

2018-07-09 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Brandon. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker <https://bugs.python.or

[issue4260] Document that ctypes.xFUNCTYPE are decorators.

2018-07-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset 379e9d639a52766f79c7a206c5096c8333d1896f by Berker Peksag (Andrés Delfino) in branch 'master': bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924) https://github.com/python/cpython/commit/379e9d639a52766f79c7a206c5096c

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-13 Thread Berker Peksag
Berker Peksag added the comment: Brett, what do you think about this issue since Python 3.4 is pretty old now. Should I convert my patch to GitHub PR or close this issue as 'wontfix'? -- type: -> enhancement versions: +Python 3.

[issue4260] Document that ctypes.xFUNCTYPE are decorators.

2018-07-13 Thread Berker Peksag
Berker Peksag added the comment: I think we can now close this one. Thanks for the report, David, and thanks for the PR Andreas. (And thanks for creating and maintaining this awesome module for years, Thomas :)) -- resolution: -> fixed stage: patch review -> resolved status

[issue34124] email.message_from_binary_file documentation is broken

2018-07-16 Thread Berker Peksag
Change by Berker Peksag : -- type: compile error -> behavior ___ Python tracker <https://bugs.python.org/issue34124> ___ ___ Python-bugs-list mailing list Un

[issue34124] email.message_from_binary_file documentation is broken

2018-07-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset c9265c1534b7e62bb9b15460d0420c0c3bb57ff9 by Berker Peksag (Jon Ribbens) in branch 'master': bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297) https://github.com/python/cpython/commit/c9265c1534b7e62bb9b15460d0420c

[issue34124] email.message_from_binary_file documentation is broken

2018-07-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset 43c2fabb2fe7760be462e008b39169cf16c28b4c by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297) https://github.com/python/cpyt

[issue34124] email.message_from_binary_file documentation is broken

2018-07-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset f1ab9cac909449ad85595245fa49b8660214cd0e by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297) https://github.com/python/cpyt

[issue34124] email.message_from_binary_file documentation is broken

2018-07-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report and for the patch, Jon. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-21 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7918 ___ Python tracker <https://bugs.python.org/issue940286> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-21 Thread Berker Peksag
Berker Peksag added the comment: I just noticed the same bug described by Éric in msg127840. PR 8390 should fix it. Unfortunately, it wasn't easy to create a test case, so I skipped that part. I'm open to suggestions if you have an idea on how to write a simple test that reproduc

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-21 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7919 ___ Python tracker <https://bugs.python.org/issue21446> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Brett. I've opened PR 8391. Should we backport this to 3.7? We do backport mimetypes additions (see https://github.com/python/cpython/commit/8204b903683f9e0f037ccfaa87622716019914d7 for an example) I think lib2to3 falls into the same catego

[issue31734] crash or SystemError in sqlite3.Cache in case it is uninitialized or partially initialized

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the PR and for the work you've been doing to fix similar bugs in Python! The Cache class is an implementation detail and it has no practical use for third party users. See issue 30262 for a discussion on making it private. If a user somehow

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-22 Thread Berker Peksag
Change by Berker Peksag : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue21446> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: New changeset d04f46c59f1d07d9bcc0ba910741296ac88d370d by Berker Peksag in branch 'master': bpo-940286: Fix pydoc to show cross refs correctly (GH-8390) https://github.com/python/cpython/commit/d04f46c59f1d07d9bcc0ba91074129

[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: Closing this for now since we couldn't reproduce the problem and haven't heard back from the OP in a while. -- resolution: -> works for me stage: -> resolved status: open -> closed type: -> behavior

[issue30270] Remove sqlite3.Cache display method

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: Closing this as 'rejected' for the reasons given by Brett and David. Thanks for working on this! -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <h

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: New changeset 7a3056fa7dd1223fe7112e53b236c43d71f33f64 by Berker Peksag in branch 'master': bpo-21446: Update reload fixer to use importlib (GH-8391) https://github.com/python/cpython/commit/7a3056fa7dd1223fe7112e53b236c4

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-22 Thread Berker Peksag
Change by Berker Peksag : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue940286> ___ ___ Pyth

[issue940286] pydoc.Helper.help() ignores input/output init parameters

2018-07-22 Thread Berker Peksag
Berker Peksag added the comment: New changeset 14f58f0ff823ba71e3f21803c509d348626b6089 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-940286: Fix pydoc to show cross refs correctly (GH-8390) https://github.com/python/cpython/commit/14f58f0ff823ba71e3f21803c509d3

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2018-07-22 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21446] Update reload fixer to use importlib instead of imp

2018-07-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset 05a72f15f76301c505a91728f0818b421fddd290 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-21446: Update reload fixer to use importlib (GH-8391) https://github.com/python/cpython/commit/05a72f15f76301c505a91728f0818b

[issue21446] Update reload fixer to use importlib instead of imp

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

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2018-07-23 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7931 ___ Python tracker <https://bugs.python.org/issue19072> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34202] 3.6 ZipFile fails with Path

2018-07-23 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! Support for path-like objects was added in 3.6.2. I think you either have 3.6.0 or 3.6.1 installed on your system. Please upgrade it to the latest bugfix release. With 3.6.6, I got the following results: >>> import zipfile

[issue12743] C API marshalling doc contains XXX

2018-07-25 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7981 ___ Python tracker <https://bugs.python.org/issue12743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13041] argparse: terminal width is not detected properly

2018-07-25 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7983 ___ Python tracker <https://bugs.python.org/issue13041> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13041] argparse: terminal width is not detected properly

2018-07-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset 74102c9a5f2327c4fc47feefa072854a53551d1f by Berker Peksag in branch 'master': bpo-13041: Use shutil.get_terminal_size() in argparse.HelpFormatter (GH-8459) https://github.com/python/cpython/commit/74102c9a5f2327c4fc47feefa07285

[issue13041] argparse: terminal width is not detected properly

2018-07-25 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

[issue22374] Replace contextmanager example and improve explanation

2018-07-25 Thread Berker Peksag
Berker Peksag added the comment: The old tag() example has been replaced with a different example in https://github.com/python/cpython/commit/bde782bb594edffeabe978abeee2b7082ab9bc2a (bpo-33468) -- resolution: -> duplicate stage: patch review -> resolved status: open -&g

[issue14266] pyunit script as shorthand for python -m unittest

2018-07-25 Thread Berker Peksag
Berker Peksag added the comment: I agree with Ned. I've been using "python -m foo" instead of "foo" more in the past few years. pyvenv has been deprecated in Python 3.6 and its documentation now uses "python -m venv"

[issue32788] Better error handling in sqlite3

2018-07-25 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -7998 ___ Python tracker <https://bugs.python.org/issue32788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30271] Make sqlite3 statement cache optional

2018-07-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. What is your use case for making the statement caching optional? Did you notice any performance improvement when you use it with newer SQLite versions? -- stage: -> patch review versions: +Python 3.8 -Python

[issue29036] logging module: Add `full_module_name` to LogRecord details

2018-07-26 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue29036> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28536] Show the qualified name when a call fails

2018-07-26 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python.org/issue28536> ___ ___

[issue32083] sqlite3 Cursor.description can't return column types

2018-07-26 Thread Berker Peksag
Berker Peksag added the comment: Good catch, Zackery, thanks! This is indeed a duplicate of issue 11691. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> sqlite3 Cursor.description doesn

[issue12743] C API marshalling doc contains XXX

2018-07-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset defcffdf86780e3a184ebb25dc9a7b807753d57a by Berker Peksag in branch 'master': bpo-12743: Delete comment from marshal.rst (GH-8457) https://github.com/python/cpython/commit/defcffdf86780e3a184ebb25dc9a7b

[issue12743] C API marshalling doc contains XXX

2018-07-26 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

[issue34244] Add support of check logger

2018-07-26 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue34244> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27717] sqlite documentation bug

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: Looking at this again, I think the current version of the documentation should stay as-is. Perhaps my patch can make the insecure example separated from the secure one, but I don't think it's worth to apply it. -- resolution: -> r

[issue8145] Documentation about sqlite3 isolation_level

2018-07-27 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8017 ___ Python tracker <https://bugs.python.org/issue8145> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22021] shutil.make_archive() root_dir do not work

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

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8019 stage: resolved -> patch review ___ Python tracker <https://bugs.python.org/issue30722> ___ ___ Python-

[issue29411] Option --executable for entry_points

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

[issue25156] shutil.copyfile should internally use os.sendfile when possible

2018-07-27 Thread Berker Peksag
Change by Berker Peksag : -- superseder: -> Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win) ___ Python tracker <https://bugs.python.org/issu

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: New changeset 612dbefe9dfce0f67bce358613e472e913be8a57 by Berker Peksag in branch 'master': bpo-30722: Fix NEWS entries (GH-8501) https://github.com/python/cpython/commit/612dbefe9dfce0f67bce358613e472

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8023 ___ Python tracker <https://bugs.python.org/issue30722> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: New changeset 7cbde0e09daba4259565738e48f141851287fe29 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-30722: Fix NEWS entries (GH-8501) https://github.com/python/cpython/commit/7cbde0e09daba4259565738e48f141

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: New changeset 9d85856044a2c7d681ea38b5ff99af375b228a0f by Berker Peksag in branch '3.6': bpo-30722: Fix NEWS entry (GH-8501) https://github.com/python/cpython/commit/9d85856044a2c7d681ea38b5ff99af

[issue30722] Tools/demo/redemo.py broken

2018-07-27 Thread Berker Peksag
Change by Berker Peksag : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue30722> ___ ___ Pyth

[issue34250] import xmlrpclib not works in file named "xml.py"

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: This is expected, because there is a package named 'xml' in the Python standard library. See http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#the-name-shadowing-trap and http://python-notes.curiousefficie

[issue34251] MSI build fails

2018-07-27 Thread Berker Peksag
Berker Peksag added the comment: msilib.Win64 has been removed in https://github.com/python/cpython/commit/49ce74efe845a8a91939ff3990a5f233262d3e1f#diff-c762e09a046c2ff3cd91f0643cc58049L12 I guess the ``if msilib.Win64:`` clause can be replaced with ``if msilib.AMD64

[issue34251] MSI build fails

2018-07-28 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8027 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2018-07-28 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8028 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32215> ___ ___ Py

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2018-07-28 Thread Berker Peksag
Berker Peksag added the comment: https://github.com/python/cpython/commit/ab994ed8b97e1b0dac151ec827c857f5e7277565 wasn't merged in the 2.7 branch, so this should only be reproduced in Python 3.6+. -- components: -Interpreter Core versions: +Python 3.8 -Pytho

[issue34251] MSI build fails

2018-07-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! -- components: +Library (Lib) -Distutils nosy: -dstufft, eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Pytho

[issue8145] Documentation about sqlite3 isolation_level

2018-07-29 Thread Berker Peksag
Change by Berker Peksag : -- keywords: -needs review resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 2.7, Python 3.5 ___ Python tracker <https://bugs.python.o

[issue34231] PYTHONBREAKPOINT is not documented with python --help

2018-07-29 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python

[issue31844] HTMLParser: undocumented not implemented method

2018-07-30 Thread Berker Peksag
Berker Peksag added the comment: HTMLParser.error() method was deprecated in Python 3.4 (https://github.com/python/cpython/commit/88ebfb129b59dc8a2b855fc93fcf32457128d64d#diff-1a7486df8279dbac7f20abd487947845R157) and removed in Python 3.5 (https://github.com/python/cpython/commit

[issue31844] HTMLParser: undocumented not implemented method

2018-07-30 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8076 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue14266] pyunit script as shorthand for python -m unittest

2018-07-31 Thread Berker Peksag
Change by Berker Peksag : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue14266> ___ ___ Pyth

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-31 Thread Berker Peksag
Change by Berker Peksag : -- assignee: -> berker.peksag stage: -> needs patch type: -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.or

[issue34307] NullHandler init refusing arguments

2018-08-01 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue34307> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-01 Thread Berker Peksag
Berker Peksag added the comment: I'm not able to reproduce this: ./configure make -s -j sudo make install python3.7 -m test test_lib2to3 Run tests sequentially 0:00:00 load avg: 0.86 [1/1] test_lib2to3 == Tests result: SUCCESS == 1 test OK. Total duration: 13 sec 456 ms

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

2018-08-01 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8115 ___ Python tracker <https://bugs.python.org/issue9372> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

2018-08-01 Thread Berker Peksag
Berker Peksag added the comment: I've fixed a bug that uses DOMEventStream.__getitem__ at work today. I've opened PR 8609 to deprecate __getitem__ methods of DOMEventStream, FileInput and FileWrapper classes. -- components: +Library (Lib) nosy: +berker.peksag versions: +

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-08-01 Thread Berker Peksag
Berker Peksag added the comment: I ran "python3.7 -m test test_lib2to3" in a separate terminal. I don't remember the exact location, but I'm sure it wasn't the build location (it was probably my home directory) Is it possible to add some debug print()s inside

[issue30984] traceback.print_exc return value documentation

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: The documentation you've quoted is for traceback.extract_tb(). traceback.format_tb() documentation only says: A shorthand for ``format_list(extract_tb(tb, limit))``. Issue 27910 is about updating the documentation of extract_tb(), format_list(),

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: New changeset f394ee5eaf6d6d8f45e0478e77d4dbff25c6bea7 by Berker Peksag (torsava) in branch 'master': bpo-27910: Update documentation of traceback module (GH-6116) https://github.com/python/cpython/commit/f394ee5eaf6d6d8f45e0478e77d4db

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: New changeset 0f9df886d6d1c6b239a2861a0ad0d56bb59e3922 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-27910: Update documentation of traceback module (GH-6116) https://github.com/python/cpython/commit/0f9df886d6d1c6b239a2861a0ad0d5

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: New changeset 295342adbfd905d5b4a77f960ea39649df7d9997 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-27910: Update documentation of traceback module (GH-6116) https://github.com/python/cpython/commit/295342adbfd905d5b4a77f960ea396

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-08-02 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

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-08-02 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8137 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue25573] FrameSummary repr() does not support previously working uses of repr in traceback module

2018-08-02 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue25573> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18540] imaplib.IMAP4() ends with "Name or service not known" on Fedora 18

2018-08-02 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8139 ___ Python tracker <https://bugs.python.org/issue18540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-08-02 Thread Berker Peksag
Change by Berker Peksag : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue34105> ___ ___ Python-bug

[issue27419] Bugs in PyImport_ImportModuleLevelObject

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: The workaround was removed in https://github.com/berkerpeksag/cpython/commit/133138a284be1985ebd9ec9014f1306b9a425d98 Can this issue be closed now? -- ___ Python tracker <https://bugs.python.org/issue27

[issue32046] 2to3 fix for operator.isCallable()

2018-08-02 Thread Berker Peksag
Berker Peksag added the comment: > I suppose stable branches should be left alone? We do backport lib2to3 PRs to maintenance branches, but since this is already in 3.7 and 3.6 is four months away from being in security-fix-only mode, I think we can close this as 'fi

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: This seems like a reasonable request. The feature was added in https://github.com/python/cpython/commit/e50dafcd636ba32db890600164698bb070d40d97 (issue 20639) in Python 3.4. I'd normally suggest adding a ".. versionchanged:: 3.4" marker

[issue33161] Refactor of pathlib's _WindowsBehavior.gethomedir

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the PR, but we usually avoid unnecessary churn in Python codebase. Both versions look fine, and deciding which one to use is just a matter of personal taste. -- components: -Windows nosy: +berker.peksag -paul.moore, steve.dower

[issue34327] test_subprocess fails

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- superseder: -> test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x ___ Python tracker <https://bugs.python.org/issu

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: New changeset 46dc4e34ed8005a688d7f3512844ef227a3465f4 by Berker Peksag (Stefan Otte) in branch 'master': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/46dc4e34ed8005a688d7f3512

[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-03 Thread Berker Peksag
New submission from Berker Peksag : import pathlib path = pathlib.Path('TR') with_suffix = path.with_suffix(('/', '.md')) The snippet I shared above will raise: TypeError: not all arguments converted during string formatting While we are relying on du

[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8158 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue26818] trace CLI doesn't respect -s option

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8159 ___ Python tracker <https://bugs.python.org/issue26818> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31908] trace module cli does not write cover files

2018-08-03 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8160 ___ Python tracker <https://bugs.python.org/issue31908> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

2018-08-03 Thread Berker Peksag
Berker Peksag added the comment: New changeset 764f9d09b03654d7cd70d59afafafd51d24f2750 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/764f9d09b03654d7cd70d59af

<    4   5   6   7   8   9   10   11   12   13   >