[issue31788] Typo in comments Modules/_ssl.c

2017-10-15 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +easy stage: -> needs patch type: -> behavior versions: -Python 3.4, Python 3.5, Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue31788] Typo in comments Modules/_ssl.c

2017-10-15 Thread Berker Peksag
Change by Berker Peksag : -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/issue31788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31786] In select.poll.poll() ms can be 0 if timeout < 0

2017-10-15 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue31786> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31754] Documented type of parameter 'itemsize' to PyBuffer_FillContiguousStrides is incorrect.

2017-10-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset 50cef52372381a9e2f3d760497d8db76254cffef by Berker Peksag (vyas45) in branch '2.7': [2.7] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) https://github.com/p

[issue31754] Documented type of parameter 'itemsize' to PyBuffer_FillContiguousStrides is incorrect.

2017-10-16 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Robert and thank you for the patches, Aniket. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue30549] ProcessPoolExecutor hangs forever if the object raises on __getstate__

2017-10-23 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Deadlocks in `concurrent.futures.ProcessPoolExecutor` ___ Python tracker <https://bugs.python

[issue30722] Tools/demo/redemo.py broken

2017-10-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset 62adc55aff0b78447568f73bd1abc610d2784bf8 by Berker Peksag (Christoph Sarnowski) in branch 'master': bpo-30722: Make redemo work with Python 3.6+ (GH-2311) https://github.com/python/cpython/commit/62adc55aff0b78447568f73bd1abc6

[issue30722] Tools/demo/redemo.py broken

2017-10-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset a5f9d24c171c7e3a3715161fd16b747c7dcaf76f by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-30722: Make redemo work with Python 3.6+ (GH-2311) https://github.com/python/cpython/commit/a5f9d24c171c7e3a3715161fd16b74

[issue30722] Tools/demo/redemo.py broken

2017-10-23 Thread Berker Peksag
Berker Peksag added the comment: Thank you, Christoph. I wasn't aware of Tools/demo/redemo.py and I must say it was fun to play with while reviewing PR 2311. -- components: +Demos and Tools -Regular Expressions resolution: -> fixed stage: patch review -> resolved s

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-24 Thread Berker Peksag
Berker Peksag added the comment: issue21720_python3.diff hasn't been applied. I'll convert my issue21720_python3.diff patch to a pull request. I like the format of Nick's "".join() example in msg278794. Here's my proposal for Python 3: f"Item {i} in &

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-24 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4083 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue21720> ___ ___ Python-

[issue30762] Misleading message “can't concat bytes to str”

2017-10-24 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue30762> ___ ___ Python-bugs-list

[issue29116] Make str and bytes error messages on concatenation conform with other sequences

2017-10-24 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -4084 ___ Python tracker <https://bugs.python.org/issue29116> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-25 Thread Berker Peksag
Berker Peksag added the comment: > I don't think the index in error message is needed. I'm fine with either format. It's ultimately up to Nick. Should I switch back to the 2.7 version? > Import is successful because the iterator was exhausted by "'*'

[issue30811] A venv created and activated from within a virtualenv uses the outer virtualenv's site-packages rather than its own.

2017-10-25 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue30811> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29933] asyncio: set_write_buffer_limits() doc doesn't specify unit of the parameters

2017-10-25 Thread Berker Peksag
Berker Peksag added the comment: PR 2262 has been merged and backported to bugfix branches so I think this issue can be closed now. -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: ->

[issue20486] msilib: can't close opened database

2017-10-25 Thread Berker Peksag
Berker Peksag added the comment: xoviat, would you like to send your patch as a pull request on GitHub? It would be nice to add a simple test that the new Close() works correctly. I can do that if you don't have time, thank you! Steve, can we apply this to bugfix bra

[issue30484] Garbage Collector can cause Segfault whilst iterating dictionary items

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: PR 2248 (3.4) and PR 2396 (3.3) have been merged. I think this issue can be closed now. -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue30904] Python 3 logging HTTPHandler sends duplicate Host header

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

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 275d2d9c4663a1ea8d1f7c8778567a735b0372c1 by Berker Peksag (Ammar Askar) in branch 'master': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730) https://github.com/python/cpython/commit/275d2d9c4663a1ea8d1f

[issue30949] Provide assertion functions in unittest.mock

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report. This is a duplicate of issue 24651. -- components: +Library (Lib) -Tests nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Mock.assert* API is in user na

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 614ea48986f80d361043510ac3945f3dcd666c31 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730) https://github.com/p

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Good catch, Pavel. Thanks! This is now fixed in 3.6 and 3.7 docs. Thanks for the patch, Ammar. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions:

[issue30553] Add HTTP Response code 421

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 52ad72dd0a5a56414cc29b7c9b03259169825f35 by Berker Peksag (Vitor Pereira) in branch 'master': bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589) https://github.com/python/cpython/commit/52ad72dd0a5a56414cc29b7c9b0325

[issue30553] Add HTTP Response code 421

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you Julien (for the report) and Vitor (for the patch) -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 -Python 3.6 ___ Python tracker <https://bug

[issue20486] msilib: can't close opened database

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4105 ___ Python tracker <https://bugs.python.org/issue20486> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

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

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4106 ___ Python tracker <https://bugs.python.org/issue24459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue24459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset d609b0c24ebdb748cabcc6c062dfc86f9000e6c4 by Berker Peksag (cocoatomo) in branch 'master': bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907) https://github.com/python/cpython/commit/d609b0c24ebdb748cabc

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 37d1d967eed4018ef397dd9d1515683e5b6b55e7 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907) https://github.com/p

[issue31053] Unnecessary argument in command example

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.python

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-10-27 Thread Berker Peksag
Berker Peksag added the comment: New changeset 843ea47a034307c7b1ca642dd70f0269255b289a by Berker Peksag (Utkarsh Upadhyay) in branch 'master': bpo-31545: Update documentation containing timedelta repr. (GH-3687) https://github.com/python/cpyt

[issue31545] Fixing documentation for timedelta.

2017-10-27 Thread Berker Peksag
Berker Peksag added the comment: New changeset 843ea47a034307c7b1ca642dd70f0269255b289a by Berker Peksag (Utkarsh Upadhyay) in branch 'master': bpo-31545: Update documentation containing timedelta repr. (GH-3687) https://github.com/python/cpyt

[issue31545] Fixing documentation for timedelta.

2017-10-27 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-10-27 Thread Berker Peksag
Berker Peksag added the comment: All PRs have been merged in both issues (this and bpo-31545) so I guess this issue can be closed now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue26618] _overlapped extension module of asyncio uses deprecated WSAStringToAddressA() function

2017-10-27 Thread Berker Peksag
Berker Peksag added the comment: Unfortunately, Python 3.5 is now in security-fix-only mode. Closing this 'out of date'. -- nosy: +berker.peksag resolution: -> out of date stage: -> resolved status: open -> closed type: -> behavior

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-10-28 Thread Berker Peksag
Berker Peksag added the comment: > Should we backport the fix to Python 3.3 and 3.4 as well? > > I don't think so. I agree with Victor. Closing this as all PRs have been merged. Thank you, all (especially for the documentation update!) -- nosy: +berker.peksag resolut

[issue31273] Unicode support in TestCase.skip

2017-10-28 Thread Berker Peksag
Change by Berker Peksag : -- components: +Library (Lib) -Tests, Unicode nosy: +michael.foord, rbcollins stage: -> needs patch type: crash -> behavior ___ Python tracker <https://bugs.python.org/i

[issue1447222] tkinter Dialog fails when more than four buttons are used

2017-10-28 Thread Berker Peksag
Berker Peksag added the comment: I ported OP's example to Python 3 and I agree with Cheryl that this is fixed now. -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -> closed Added file: https://bugs.python.org/file47

[issue30987] Support for ISO-TP protocol in SocketCAN

2017-10-28 Thread Berker Peksag
Berker Peksag added the comment: PR 2956 has been merged. Christian, can this issue be closed now? -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue30

[issue31065] Documentation for Popen.poll is unclear

2017-10-28 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4130 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31065> ___ ___ Python-bugs-list mai

[issue31065] Documentation for Popen.poll is unclear

2017-10-28 Thread Berker Peksag
Berker Peksag added the comment: New changeset 0f1973d06e2116deafb19bbb9443b138187803c7 by Berker Peksag in branch '3.6': bpo-31065: Add doc about Popen.poll returning None. (GH-3169) https://github.com/python/cpython/commit/0f1973d06e2116deafb19bbb9443b138187803c7 -

[issue31065] Documentation for Popen.poll is unclear

2017-10-28 Thread Berker Peksag
Berker Peksag added the comment: I've backported 006617ff7d6df3fdedcfe53e94ee2c52cc796437 to 3.6. I think this can be closed now, thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versi

[issue31304] Update doc for starmap_async error_back kwarg

2017-10-28 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +easy stage: -> needs patch versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue31304> ___ ___ Py

[issue31454] Include "import as" in tutorial

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: I just reviewed Mario's pull request. Should we mention the "from fibo import fib as fibonacci" syntax too? -- nosy: +berker.peksag ___ Python tracker <https://bugs.pyt

[issue30824] Add mimetype for extension .json

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: 3.5 is now in security-fix-only mode so I'm closing this one as 'fixed'. Thank you, all. -- nosy: +berker.peksag resolution: -> fixed stage: backport needed -> resolved status: open -> close

[issue31298] Error when calling numpy.astype

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: Chris is right. Please report this to numpy developers. We can always reopen this issue if they decide that this is an issue in Python. Thank you. By the way, I cannot reproduce the crash with numpy 1.13.3. -- nosy: +berker.peksag resolution

[issue31390] pydoc.Helper.keywords missing async and await

2017-11-01 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report. Prior to Python 3.7, async and await keywords have had special meanings and they weren't treated as normal keywords. They are now in Python 3.7: >>> async = 42 File "", line 1 async = 42 ^ Syn

[issue31412] wave.open does not accept PathLike objects

2017-11-01 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue31412> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30442] Skip test_xml_etree under coverage

2017-11-01 Thread Berker Peksag
Berker Peksag added the comment: All PRs have been merged and 3.5 is now in security-fix-only mode. Closing this as 'fixed'. -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ver

[issue31908] trace module cli does not write cover files

2017-11-01 Thread Berker Peksag
Berker Peksag added the comment: I think the first part of your patch also fixes issue 26818. Could you adapt the test there and add a test case for the problem in this issue? -- nosy: +berker.peksag versions: -Python 3.5 ___ Python tracker

[issue28791] update sqlite to latest version before beta 1

2017-11-01 Thread Berker Peksag
Berker Peksag added the comment: > In an effort to not forget about this, I'm setting it to deferred blocker. Should we mark issue 30952 'deferred blocker' too? -- nosy: +berker.peksag ___ Python tracker <https://bugs.

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2017-11-02 Thread Berker Peksag
Berker Peksag added the comment: Thank you for doing issue triage, Masayuki! -- nosy: +berker.peksag resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue31307] ConfigParser.read silently fails if filenames argument is a byte string

2017-11-02 Thread Berker Peksag
Berker Peksag added the comment: New changeset e314853d57450b2b9523157eebd405289a795a0e by Berker Peksag (Vincent Michel) in branch 'master': bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420) https://github.com/python/cpython/commit/e314853d57450b2b9523157eebd405

[issue31307] ConfigParser.read silently fails if filenames argument is a byte string

2017-11-02 Thread Berker Peksag
Berker Peksag added the comment: Thanks! I went ahead and merged PR 3420 since Łukasz (the configparser maintainer) has accepted the idea. -- resolution: -> fixed stage: -> resolved status: open -> closed type: behavior -> enhancement __

[issue31370] Remove support for threads-less builds

2017-11-02 Thread Berker Peksag
Change by Berker Peksag : -- Removed message: https://bugs.python.org/msg302490 ___ Python tracker <https://bugs.python.org/issue31370> ___ ___ Python-bugs-list m

[issue31370] Remove support for threads-less builds

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

[issue28340] [py2] TextIOWrapper.tell extremely slow

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: >From the original report: > This problem did not exist in version 2.7.1 [...] We usually don't treat performance improvements as bug fixes unless it was introduced in a bug fix release (or it needs to be explicitly approved by the BDFL or the

[issue17852] Built-in module _io can lose data from buffered files at exit

2017-11-04 Thread Berker Peksag
Change by Berker Peksag : -- stage: needs patch -> backport needed ___ Python tracker <https://bugs.python.org/issue17852> ___ ___ Python-bugs-list mai

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2017-11-04 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker <https://bugs.python.org/issue31604> ___ ___ Python-bugs-list mailin

[issue31678] Incorrect C Function name for timedelta

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: New changeset 82cd3cede804ca694fb0657fd985d5eff84a414f by Berker Peksag (Phobosmir) in branch 'master': bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869) https://github.com/python/cpython/commit/82cd3cede804ca694fb0657fd985d5

[issue31678] Incorrect C Function name for timedelta

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: New changeset f9387469e82eccb6e0471037033f921be7f59909 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869) https://github.com/python/cpython/commit/f9387469e82eccb6e0471037033f92

[issue31678] Incorrect C Function name for timedelta

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.7 ___ Python tracker <https://bugs.python

[issue31668] "fixFirefoxAnchorBug" function in doctools.js causes navigating problem in Py3 doc in Chrome

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: This is indeed an annoying bug. Turns out there is already a compatibility shim for $.browser in doctools.js: https://github.com/sphinx-doc/sphinx/commit/c608af4babe140626877be08535af095ff633c00 I've opened https://github.com/sphinx-doc/sphinx/pull/42

[issue31923] Misspelled "loading" in Doc/includes/sqlite3/load_extension.py

2017-11-04 Thread Berker Peksag
Change by Berker Peksag : -- type: -> behavior versions: +Python 2.7, Python 3.7 ___ Python tracker <https://bugs.python.org/issue31923> ___ ___ Python-

[issue31923] Misspelled "loading" in Doc/includes/sqlite3/load_extension.py

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: New changeset aafece7a9e010075fff4420cfbb16f1ec0342698 by Berker Peksag (davy wybiral) in branch 'master': bpo-31923: Fix spelling in sqlite3 docs (GH-4227) https://github.com/python/cpython/commit/aafece7a9e010075fff4420cfbb16f1ec0342698 -

[issue31923] Misspelled "loading" in Doc/includes/sqlite3/load_extension.py

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: New changeset 5c0100aec014b9e0a66884468cbfa3ac01e4bfbb by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-31923: Fix spelling in sqlite3 docs (GH-4227) https://github.com/python/cpython/commit/5c0100aec014b9e0a66884468cbfa3

[issue31923] Misspelled "loading" in Doc/includes/sqlite3/load_extension.py

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: New changeset 4376a2275967971a2f9586028347d6ed4ed6ef13 by Berker Peksag (Miss Islington (bot)) in branch '2.7': bpo-31923: Fix spelling in sqlite3 docs (GH-4227) https://github.com/python/cpython/commit/4376a2275967971a2f9586028347d6

[issue31923] Misspelled "loading" in Doc/includes/sqlite3/load_extension.py

2017-11-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Davy! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-05 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4250 ___ Python tracker <https://bugs.python.org/issue11063> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-05 Thread Berker Peksag
Berker Peksag added the comment: I've followed Stefan's suggestion and opened PR 4287 (tested on 10.10.5) -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.o

[issue31948] Broken MSDN links in msilib docs

2017-11-05 Thread Berker Peksag
New submission from Berker Peksag : Most of the MSDN links in Doc/library/msilib.rst are broken: https://docs.python.org/3/library/msilib.html For example, the UuidToString link goes to https://msdn.microsoft.com/library?url=/library/en-us/rpc/rpc/uuidtostring.asp But I believe the

[issue31454] Include "import as" in tutorial

2017-11-05 Thread Berker Peksag
Berker Peksag added the comment: PR 4041 looks good to me. Mariatta, do you have time to look at Mario's patch? Sarthak, thank you for your PR, but a PR was opened 12 days before yours (sorry, I missed it earlier) Would you like to work on another issue? I've just opened bpo-31948

[issue31949] Bugs in PyTraceBack_Print()

2017-11-05 Thread Berker Peksag
Berker Peksag added the comment: > Setting sys.tracebacklimit to 0 or less no longer suppress printing > tracebacks in PyTraceBack_Print(). This was also reported in issue 12276. -- nosy: +berker.peksag ___ Python tracker <https://bugs.p

[issue30699] Misleading class names in datetime.tzinfo usage examples

2017-11-06 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +belopolsky ___ Python tracker <https://bugs.python.org/issue30699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31681] pkgutil.get_data() leaks open files in Python 2.7

2017-11-06 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -4016 ___ Python tracker <https://bugs.python.org/issue31681> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31808] tarfile.extractall fails to overwrite symlinks

2017-11-07 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +serhiy.storchaka stage: -> needs patch versions: +Python 3.7 -Python 3.5 ___ Python tracker <https://bugs.python.org/issu

[issue20486] msilib: can't close opened database

2017-11-07 Thread Berker Peksag
Berker Peksag added the comment: New changeset a935654f0613640535fbf0ba190f81d02a63d35c by Berker Peksag in branch 'master': bpo-20486: Implement Database.Close() method in msilib (GH-4141) https://github.com/python/cpython/commit/a935654f0613640535fbf0ba190f81

[issue20486] msilib: can't close opened database

2017-11-07 Thread Berker Peksag
Berker Peksag added the comment: Thank you, all. The OP's snippet should work now: >>> import msilib as m >>> db = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT) >>> db.Commit() >>> db2 = m.OpenDatabase('py33.msi', m.MSIDBOPEN_T

[issue31824] Missing default argument detail in documentation of StreamReaderWriter

2017-11-07 Thread Berker Peksag
Berker Peksag added the comment: For those who want to work on this issue: codecs.StreamReaderWriter documentation is located at Doc/library/codecs.rst. -- keywords: +easy nosy: +berker.peksag stage: -> needs patch versions: +Python 3.7 ___ Pyt

[issue31486] calling a _json.Encoder object raises a SystemError in case obj.items() returned a tuple

2017-11-07 Thread Berker Peksag
Berker Peksag added the comment: PR 3840 has been merged and it looks like Oren was correct. I'm getting the following output with current master: >>> encoder(obj=BadDict({'spam': 42}), _current_indent_level=4) ['{}'] -- nosy: +berker.peksag resolu

[issue31853] Use super().method instead of socket.method in SSLSocket

2017-11-08 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +earonesty ___ Python tracker <https://bugs.python.org/issue31853> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: I don't see this failure on Travis for a while now. Can this issue be closed? -- nosy: +berker.peksag type: -> behavior ___ Python tracker <https://bugs.python.org

[issue31896] In function define class inherit ctypes.structure, and using ctypes.pointer leak memory

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: I agree with Terry. Your code calls hi() in an infinite loop (why timespec is defined in hi()?), we don't know how clock_gettime(3) is implemented etc. (it should cleanup its own memory if it calls malloc()) etc. Please use python-list or StackOverflo

[issue31896] In function define class inherit ctypes.structure, and using ctypes.pointer leak memory

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: See also issue 12998. -- ___ Python tracker <https://bugs.python.org/issue31896> ___ ___ Python-bugs-list mailing list Unsub

[issue11253] Document ctypes.wintypes constants

2017-11-08 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> needs patch title: autodocument first appearance of ctypes.wintypes constants -> Document ctypes.wintypes constants type: -> enhancement versions: +Python 3.6, Python 3.7 -Python 3.3 ___ Pytho

[issue31824] Missing default argument detail in documentation of StreamReaderWriter

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the PR, Pablo. I think we can make the same change to StreamRecoder documentation too: https://docs.python.org/3/library/codecs.html#codecs.StreamRecoder -- nosy: +pablogsal ___ Python tracker <ht

[issue21790] Change blocksize in http.client to the value of resource.getpagesize

2017-11-08 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue21790> ___ ___ Python-bugs-list

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset 9a10ff4deb2494e22bc0dbea3e3a6f9e8354d995 by Berker Peksag in branch 'master': bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287) https://github.com/python/cpython/commit/9a10ff4deb2494e22bc0dbea3e3a6f

[issue11063] Rework uuid module: lazy initialization and add a new C extension

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

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-08 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +4301 ___ Python tracker <https://bugs.python.org/issue11063> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: It worked for me on OS X (returns no) and Linux (returns yes after I installed uuid-dev) but I didn't test it on both systems at the same. Travis CI also returned 'no': https://travis-ci.org/python/cpython/jobs/299285001 In any case, Serhiy&

[issue11063] Rework uuid module: lazy initialization and add a new C extension

2017-11-08 Thread Berker Peksag
Berker Peksag added the comment: New changeset 0e163d2ced28ade8ff526e8c663faf03c2c0b168 by Berker Peksag in branch 'master': bpo-11063: Use more reliable way to check if uuid function exists (GH-4343) https://github.com/python/cpython/commit/0e163d2ced28ade8ff526e8c663faf

[issue31987] Ctypes Packing Bitfields Incorrectly - GCC both Linux and Cygwin

2017-11-09 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report. I believe this is a duplicate of issue 29753. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Ctypes Packing Bitfields Incorrectly - Linux type:

[issue31996] `setuptools.setup` parameter `py_modules` is undocumented

2017-11-09 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report, but the correct place to report issues with packaging.p.o is https://github.com/pypa/python-packaging-user-guide -- nosy: +berker.peksag resolution: -> third party stage: -> resolved status: open -&g

[issue31824] Missing default argument detail in documentation of StreamReaderWriter

2017-11-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset e184cfd7bf8bcfd160e3b611d4351ca3ce52d9e2 by Berker Peksag (Pablo Galindo) in branch 'master': bpo-31824: Document default value of 'errors' parameters (GH-4328) https://github.com/python/cpython/commit/e184cfd7bf8bcfd160e3

[issue31824] Missing default argument detail in documentation of StreamReaderWriter

2017-11-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset 7abbddd88d4debe75b201145b6212afb7d93c457 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-31824: Document default value of 'errors' parameters (GH-4328) https://github.com/python/cpython/commit/7abbddd88d4debe75b20

[issue31824] Missing default argument detail in documentation of StreamReaderWriter

2017-11-10 Thread Berker Peksag
Berker Peksag added the comment: Thank you, Peter and Pablo. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue28369] Raise RuntimeError when transport's FD is used with add_reader etc

2017-11-10 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -1054 ___ Python tracker <https://bugs.python.org/issue28369> ___ ___ Python-bugs-list mailing list Unsubscribe:

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