[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 39fcd9949832323b672f7ff05fd1498b8844a329 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) https://github.com/python/cpython/commit/39fcd9949832323b672f7ff05

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

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

[issue34171] Lib/trace.cover not removed by the clean target

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

[issue13574] refresh example in doc for Extending and Embedding

2018-08-04 Thread Berker Peksag
Berker Peksag added the comment: The documentation has been modernized in https://github.com/python/cpython/commit/1d80a561734b9932961c546b0897405a3bfbf3e6 and the "Weak Reference Support" section has been updated to show the modern way of adding weakref support: https://

[issue33736] Improve the documentation of asyncio stream API

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

[issue24937] Multiple problems in getters & setters in capsulethunk.h

2018-08-04 Thread Berker Peksag
Berker Peksag added the comment: It would be nice to remove PyCObject_* entries from Doc/data/refcounts.dat. +.. _documentation: http://py3c.readthedocs.org/en/latest/capsulethunk.html Nit: We could the HTTPS link. -- nosy: +berker.peksag stage: -> patch review t

[issue6952] deprecated conversion from string constant to char *

2018-08-04 Thread Berker Peksag
Berker Peksag added the comment: All changes (except PyUnicode_EncodeDecimal() which was deprecated in Python 3.3) have already been implemented in the following commits: * https://github.com/python/cpython/commit/c679227e31245b0e8dec74a1f7cc77710541d985 * https://github.com/python/cpython

[issue26515] Update extending/embedding docs to new way to build modules in C

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

[issue26515] Update extending/embedding docs to new way to build modules in C

2018-08-05 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag type: -> enhancement versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issu

[issue34248] dbm errors should contain file names

2018-08-05 Thread Berker Peksag
Berker Peksag added the comment: PR 8590 only changes dbm.gnu. If we do this, we should update dbm.ndbm as well: https://github.com/python/cpython/blob/4a745333406a4b9c5b0194bdac4a77d9fadd5457/Modules/_dbmmodule.c#L65 -- nosy: +berker.peksag type: -> enhancement versi

[issue34342] Fix the broken links in CPythonVmInternals wiki page

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. wiki.python.org is maintained by the Python community, not by Python core developers. You can fix those broken links by creating an account and requesting edit access by emailing to pydotorg-...@python.org. See https://wiki.python.org

[issue2122] mmap.flush does not check for errors on windows

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

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset e4dcbbd7f4ac18d01c0ec85f64ae98b8281ed403 by Berker Peksag in branch 'master': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/e4dcbbd7f4ac18d01c0ec85f64ae98

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset 5799e5a84c78eac672e5f5f4f3fd2d903ba51a9d by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/5799e5a84c78eac672e5f5f4f3fd2d

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset 671a13a7b6ff1022a6fd868e5842687123ab9fd1 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/671a13a7b6ff1022a6fd868e584268

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

2018-08-06 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.or

[issue34369] kqueue.control() documentation and implementation mismatch

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: This is probably a regression from the Argument Clinic conversion. Another docstring mismatches: select(rlist, wlist, xlist, timeout=None, /) Wait until one or more file descriptors are ready for some kind of I/O. >>> select.select(ti

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

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset 423d05f6f59b24c91b9ef6b2e4ac130316764382 by Berker Peksag in branch 'master': bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663) https://github.com/python/cpython/commit/423d05f6f59b24c91b9ef6b2e4ac13

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

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset c614121224a5a81d958643471720645b1cb3166e by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663) https://github.com/python/cpython/commit/c614121224a5a81d95864347172064

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

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

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset 84a13fbda0d79789e3c9efcc9f64752261ce1e8d by Berker Peksag in branch 'master': bpo-9372: Deprecate several __getitem__ methods (GH-8609) https://github.com/python/cpython/commit/84a13fbda0d79789e3c9efcc9f6475

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

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

[issue31908] trace module cli does not write cover files

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 by Berker Peksag in branch 'master': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/c8b0dbc4928a1fe4bd5abebd810b68

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

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 by Berker Peksag in branch 'master': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/c8b0dbc4928a1fe4bd5abebd810b68

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

2018-08-10 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.or

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

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8fc21c80af73226de875886132e0c32a4ffb32c5 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/8fc21c80af73226de875886132e0c3

[issue31908] trace module cli does not write cover files

2018-08-10 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8fc21c80af73226de875886132e0c32a4ffb32c5 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/8fc21c80af73226de875886132e0c3

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-11 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8225 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34384> ___ ___ Py

[issue21314] Document '/' in signatures

2018-08-12 Thread Berker Peksag
Berker Peksag added the comment: I'd suggest adding a FAQ entry to the "Core Language" section at https://docs.python.org/3/faq/programming.html#core-language then we can link to it from the places (except pydoc docs) Zachary listed in msg223893. -- nosy:

[issue34387] Deletion of attributes in dataclass is buggy!

2018-08-12 Thread Berker Peksag
Change by Berker Peksag : -- components: +Library (Lib) -Argument Clinic nosy: +eric.smith -larry ___ Python tracker <https://bugs.python.org/issue34387> ___ ___

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-12 Thread Berker Peksag
Berker Peksag added the comment: Steve and/or Eryk, I was adding some tests for os.readlink() in PR 8740 and I noticed that os.readlink() always returns str on Windows. However, the documentation for os.readlink() says: If the path is a bytes object (direct or indirectly), the result

[issue13837] test_shutil fails with symlinks enabled under Windows

2018-08-12 Thread Berker Peksag
Berker Peksag added the comment: Issue 20055 was a duplicate of this one. Both tests have been adjusted in https://github.com/python/cpython/commit/3f48ac98c04fc17f12c63dcf593dd0c19379c7df. -- dependencies: -os.chmod() does not follow symlinks on Windows, os.path.realpath on

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-12 Thread Berker Peksag
Berker Peksag added the comment: In msg235615 (Issue 9949), Zachary said using bytes paths on Windows is deprecated, but I can't see the actual conversation because Rietveld seems to be down: https://bugs.python.org/review/9949/#ps5077 I think the os.readlink() documentation needs

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the suggestions! I've updated PR 8740. I will submit separate PRs to fix os.readlink() documentation in 3.6 and 3.7 branches. -- ___ Python tracker <https://bugs.python.org/is

[issue15258] argparse documentation: Improve optparse section regarding allow_interspersed_args

2018-08-14 Thread Berker Peksag
Berker Peksag added the comment: ArgumentParser.parse_intermixed_arg() has been added in https://github.com/python/cpython/commit/0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8 (Issue 14191) and the "Upgrading optparse code" section now has the following item:

[issue33451] Start pyc file lock the file

2018-08-14 Thread Berker Peksag
Berker Peksag added the comment: All PRs have been merged (commit message from the 3.6 branch doesn't listed here but PR 7889 has been merged in https://github.com/python/cpython/commit/8f8ad2c38237caf5ee48f690289e8c811d245455) Closing this as 'fixed'. Please reopen if this

[issue34406] Typo in documentation

2018-08-15 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue34406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-15 Thread Berker Peksag
Berker Peksag added the comment: New changeset e0b5b2096ead4cc094a129ce7602ac5c0e998086 by Berker Peksag in branch 'master': bpo-34384: Fix os.readlink() on Windows (GH-8740) https://github.com/python/cpython/commit/e0b5b2096ead4cc094a129ce7602ac

[issue34398] Docs search does not index glossary items

2018-08-15 Thread Berker Peksag
Berker Peksag added the comment: Ammar's pull request looks good to me, but it would be nice to include the item's title in the box. I will add my comments about the design and implementation in the pull request. -- resolution: t

[issue27026] async/await keywords are missing from reference docs

2018-08-15 Thread Berker Peksag
Berker Peksag added the comment: The list has been updated in https://github.com/python/cpython/commit/bf9d317626eebcf79bd0756b4dd43df82d5cc186 (Issue 31810 Closing this as 'outdated'. Thanks for the report and for the patch. -- nosy: +berker.peksag resolution: ->

[issue8478] tokenize.untokenize first token missing failure case

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

[issue34418] Arguments missing from documentation for HTTPErrorProcessor.http(s)_response()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: New changeset c53aaec793e018edef4e72a3edbd338b10db10aa by Berker Peksag (Sebastian Rittau) in branch 'master': bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793) https://github.com/python/cpython/commit/c53aaec793e018edef4e72a3edbd33

[issue34418] Arguments missing from documentation for HTTPErrorProcessor.http(s)_response()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: New changeset 02c4d4b6dcd772ec3a7fdca517118f3fa53b0b88 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793) https://github.com/python/cpython/commit/02c4d4b6dcd772ec3a7fdca517118f

[issue34418] Arguments missing from documentation for HTTPErrorProcessor.http(s)_response()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report and for the patch! 3.5 is in security-fix-only mode, so it doesn't get documentation fixes anymore. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +P

[issue34420] Complete your registration to Python tracker -- keysnSwaZe6PtikiEZf4bdIXIiuwFyFZFxp

2018-08-17 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue34420> ___ ___

[issue28113] Remove Py_CreateSymbolicLinkW

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: Eryk, would you like to address Steve's comments and convert your patch to a GitHub pull request? Let me know if you don't have time to prepare a new patch. -- nosy: +berker.peksag versions: -Python 3.6,

[issue24012] Add error checks to PyInit_pyexpat()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: Some parts of the patch have already been applied into master: * PySys_GetObject(): https://github.com/python/cpython/commit/7a5457b6878db61910c81017d10579edb7c91512 * PyDict_SetItem(): https://github.com/python/cpython/commit

[issue24011] Add error checks to PyInit_signal()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: All of the PyModule_AddIntMacro() changes have already been applied in https://github.com/python/cpython/commit/6782b14bcba612e4a39e41992c77306217b91e30. The remaining parts are: -x = PyLong_FromLong((long)NSIG); -if (!x || PyDict_SetItemString(d

[issue24010] Add error checks to PyInit__locale()

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: A variant of localemodule.patch without error checking for PyModule_AddIntMacro() has been applied in https://github.com/python/cpython/commit/ff4fddde57d5579dff3a83d99e20cd06366b10d6. Christian, can this be closed or do we still need to add error checking

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-08-17 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. Looking at the Kernel source code, there doesn't seem to be any difference between -1, -100, or -255: https://github.com/torvalds/linux/blob/9bd553929f68921be0f2014dd06561e0c8249a0d/fs/eventpoll.c#L1747-L1761 Do you know any oth

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report. Quoting from https://docs.python.org/3.6/library/functions.html#eval This function can also be used to execute arbitrary code objects (such as those created by compile()). In this case pass a code object instead of a

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: Ok, I think it would be a good idea to mention that the function accepts a code object in the first sentence. I'd be happy to review such PR. The eval() documentation is located at https://github.com/python/cpython/blob/master/Doc/library/functions.rst

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

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

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: I like Martin's suggestion in msg282262 and I've just created PR 8812 to implement it. -- nosy: +berker.peksag type: -> behavior versions: +Python 3.8 -Python 3.5 ___ Python tracker <https:/

[issue26363] __builtins__ propagation is misleading described in exec and eval documentation

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Xavier. This is a duplicate of issue 22057. PR 8812 clarifies the behavior when a dictionary without a "__builtins__" key is passed as *globals* to eval(). I think that makes the opposite case much easier to understand.

[issue1648923] HP-UX: -lcurses missing for readline.so

2018-08-18 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset 225b05548027d55aafb11b65f6a4a2bef2f5196f by Berker Peksag in branch 'master': bpo-22057: Clarify eval() documentation (GH-8812) https://github.com/python/cpython/commit/225b05548027d55aafb11b65f6a4a2

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Martin, and thanks for the report, Alon! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue25810] Python 3 documentation for eval is incorrect

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

[issue27088] doc: select: epoll.poll: incorrect timeout units, missing maxevents

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. In the title, you mentioned epoll.poll(), but you gave the link to the poll.poll() documentation. Also, the part you quoted If timeout is given, it specifies the length of time in milliseconds which the system will wait for

[issue18925] select.poll.modify is not documented

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: poll.modify() is documented in both Python 2 and Python 3 docs: * https://docs.python.org/2/library/select.html#select.poll.modify * https://docs.python.org/3/library/select.html#select.poll.modify > I believe that should be "Modify a registe

[issue34441] NULL dereference when issubclass() is called on a class with bogus __subclasses__

2018-08-20 Thread Berker Peksag
Berker Peksag added the comment: New changeset cdbf50cba1664f72ae6621a89c324a32fea70377 by Berker Peksag (Alexey Izbyshev) in branch 'master': bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__ (GH-8835) https://github.com/python/cpyt

[issue2122] mmap.flush does not check for errors on windows

2018-08-22 Thread Berker Peksag
Berker Peksag added the comment: New changeset e7d4b2f205c711d056bea73a0093e2e2b200544b by Berker Peksag in branch 'master': bpo-2122: Make mmap.flush() behave same on all platforms (GH-8692) https://github.com/python/cpython/commit/e7d4b2f205c711d056bea73a0093e2e2b200544b -

[issue2122] mmap.flush does not check for errors on windows

2018-08-22 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the suggestions and for the reviews! -- assignee: brian.curtin -> priority: high -> normal resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue34462] _xxsubinterpreters: Wrong NULL check in _copy_raw_string()

2018-08-22 Thread Berker Peksag
Berker Peksag added the comment: New changeset c583919ffced0a3b6409766fc12f6e28bef4fac7 by Berker Peksag (Alexey Izbyshev) in branch 'master': bpo-34462: Add missing NULL check to _copy_raw_string() (GH-8863) https://github.com/python/cpython/commit/c583919ffced0a3b6409766fc12f6e

[issue34462] _xxsubinterpreters: Wrong NULL check in _copy_raw_string()

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

[issue34412] strsignal(3) does not exist on HP-UX

2018-08-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset 48ce4897f8f8d91d948ecd1241ffab002df2be9e by Berker Peksag (Michael Osipov) in branch 'master': bpo-34412: Make signal.strsignal() work on HP-UX (GH-8786) https://github.com/python/cpython/commit/48ce4897f8f8d91d948ecd1241ffab

[issue34412] strsignal(3) does not exist on HP-UX

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

[issue34474] Python/bltinmodule.c: Missing NULL check in builtin_sum_impl()

2018-08-23 Thread Berker Peksag
Berker Peksag added the comment: Personally I wouldn't bother fixing 2.7, but let's see what other core devs think. -- ___ Python tracker <https://bugs.python.o

[issue34448] incomplete/missing message from configure.ac for usable wchar_t

2018-08-23 Thread Berker Peksag
Berker Peksag added the comment: The message is a bit more descriptive if wchar_t isn't usable: > checking whether wchar_t is signed... yes > no usable wchar_t found I'm not sure if it's worth to backport to 3.6, but it's a nice improvement for 3.7 and master bra

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2018-08-23 Thread Berker Peksag
Change by Berker Peksag : -- Removed message: https://bugs.python.org/msg323967 ___ Python tracker <https://bugs.python.org/issue34480> ___ ___ Python-bugs-list m

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2018-08-23 Thread Berker Peksag
Change by Berker Peksag : -- status: -> open ___ Python tracker <https://bugs.python.org/issue34480> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31844] HTMLParser: undocumented not implemented method

2018-08-23 Thread Berker Peksag
Berker Peksag added the comment: After triaging issue 34480, I realized that we can't simply remove the error() method because the _markupbase.ParserBase() class still uses it. I've just closed PR 8562. -- ___ Python track

[issue31844] HTMLParser: undocumented not implemented method

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

[issue32876] HTMLParser raises exception on some inputs

2018-08-23 Thread Berker Peksag
Berker Peksag added the comment: Issue 34480 is another relevant issue. The HTMLParse method doesn't have an error() method and it doesn't raise any exceptions, but its base class still does. I think there is a compatibility problem between html.parser.HTMLPar

[issue28206] signal.Signals not documented

2018-08-23 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag type: -> enhancement versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issu

[issue28069] signalmodule.c does "is" comparisons for SIG_IGN and SIG_DFL

2018-08-23 Thread Berker Peksag
Change by Berker Peksag : -- components: +Library (Lib) nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue28069> ___ ___ Python-bugs-list m

[issue34448] incomplete/missing message from configure.ac for usable wchar_t

2018-08-24 Thread Berker Peksag
Berker Peksag added the comment: New changeset 3738fadc670274ecc4649f51b52a93602820a375 by Berker Peksag (Michael Osipov) in branch 'master': bpo-34448: Improve output of usable wchar_t check (GH-8846) https://github.com/python/cpython/commit/3738fadc670274ecc4649f51b52a93

[issue34448] incomplete/missing message from configure.ac for usable wchar_t

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

[issue30618] readlink for pathlib paths

2018-08-29 Thread Berker Peksag
Berker Peksag added the comment: The resolve() method already solves symlinks, but I think this is a reasonable feature request. I've just reviewed PR 8285. -- nosy: +berker.peksag, pitrou versions: +Python 3.8 -Python 3.7 ___ Python tr

[issue33803] contextvars: hamt_alloc() must initialize h_root and h_count fields

2018-08-30 Thread Berker Peksag
Change by Berker Peksag : -- type: enhancement -> crash ___ Python tracker <https://bugs.python.org/issue33803> ___ ___ Python-bugs-list mailing list Un

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-03 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8502 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue29386> ___ ___ Py

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2018-09-07 Thread Berker Peksag
Berker Peksag added the comment: New changeset 4e519377b1b84c9414a360961276993d24198825 by Berker Peksag (Zackery Spytz) in branch 'master': bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) https://github.com/python/cpython/commit/4e519377b1b84c9414a36096127699

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

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

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

2018-09-08 Thread Berker Peksag
Berker Peksag added the comment: We always explicitly document what the context manager does even if it simply calls an object's close() method. See https://docs.python.org/3/library/fileinput.html#fileinput.input and https://docs.python.org/3/library/shelve.html#shelve.Shelf for ex

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Berker Peksag
Berker Peksag added the comment: Personally, I find parent/child more descriptive if it can be used in the same context with master/slave, so I'm in favor of replacing master/slave with parent/child where applicable. However, I agree that the code changes in PR 9100 are a bit excessiv

[issue20178] Derby #9: Convert 52 sites to Argument Clinic across 11 files

2018-09-08 Thread Berker Peksag
Berker Peksag added the comment: I'm working on converting Modules/_sqlite/* to Argument Clinic. -- nosy: +berker.peksag versions: +Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/is

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

2018-09-08 Thread Berker Peksag
Berker Peksag added the comment: > Should I remove or change this line as per Daniel's comment "Note that > this does not automatically call :meth:`close` on the connection object." I'd prefer to keep the current wording as-is. --

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

2018-09-08 Thread Berker Peksag
Berker Peksag added the comment: PR 9079 looks good to me. I think we can use this as an opportunity to make the rest of the examples in the sqlite3 documentation more consistent and add missing "conn.close()" calls. -- ___ Python track

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

2018-09-08 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21314] Document '/' in signatures

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Welcome, Noah! Feel free to work on this issue, but please note that there is no consensus on the best place to document / signatures, so you may need to move your changes between locations (e.g. from Doc/faq/programming.rst to Doc/gloassary.rst) before we

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc by Berker Peksag in branch 'master': bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040) https://github.com/python/cpython/commit/b690b9b04729ba3d91c59bff1bb

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-11 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.or

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for merging this, Petr. What do you think about backporting to 3.7? -- components: -Documentation versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue26

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Ok, let's close this issue then. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.pyth

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6f82bffd2df63a4072b3f0483cdbe93ddedb87e9 by Berker Peksag (Alexey Izbyshev) in branch 'master': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6f82bffd2df63a4072b3f0483cdbe9

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset ec4d099b9f1951b08d1a53181c278173ff6a0cc1 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/ec4d099b9f1951b08d1a53181c2781

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6d726868cd1743623a28b8e048e31b9c3c52a399 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6d726868cd1743623a28b8e048e31b

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 669429fb583031c7c87392e30b065e99a2d8ccda by Berker Peksag (Miss Islington (bot)) in branch '2.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/669429fb583031c7c87392e30b065e

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

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

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