[issue2771] Test issue

2022-04-11 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: -EWDurbin, matrixise, nedbat, pitrou, python-dev, zach.ware resolution: fixed -> works for me ___ Python tracker <https://bugs.python.org/iss

[issue2771] Test issue

2022-04-08 Thread Ezio Melotti
Ezio Melotti added the comment: So long, and thanks for all the bugs. -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailin

[issue46111] test_unittest fails in optimized mode

2022-03-31 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue46111> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2022-03-07 Thread Ezio Melotti
Change by Ezio Melotti : -- dependencies: +Add math.tau, Python source code build fails with old mercurial superseder: -> Test issue ___ Python tracker <https://bugs.python.org/iss

[issue2771] Test issue

2021-10-29 Thread Ezio Melotti
Ezio Melotti added the comment: Testing GitHub mentions, please ignore: @serhiy-storchaka -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Pytho

[issue2771] Test issue

2021-10-25 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: python-dev -> ezio.melotti ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mai

[issue2771] Test issue

2021-10-25 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: python-dev -> ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue2771] Test issue

2021-10-25 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> python-dev ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue2771] Test issue

2021-10-25 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: ezio.melotti -> python-dev versions: +Python 3.11 -Python 3.9 ___ Python tracker <https://bugs.python.org/iss

[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-19 Thread Ezio Melotti
New submission from Ezio Melotti : sys.version returns '3.10.0 (default, Oct 5 2021, 23:49:26) [GCC 10.2.1 20210110]' 'default' is supposed to represent the name of the branch, and it's been there since the HG days: https://github.com/python/cpython/blob

[issue43520] Fraction only handles regular slashes ("/") and fails with other similar slashes

2021-03-16 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue43520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: Merged! Thanks for the report and the PR! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 9eb11a139fac5514d8456626806a68b3e3b7eafb by Karl Dubost in branch 'master': bpo-41748: Handles unquoted attributes with commas (#24072) https://github.com/python/cpython/commit/9eb11a139fac5514d8456626806a68b3e3b7eafb

[issue42821] HTMLParser: subsequent duplicate attributes should be ignored

2021-01-05 Thread Ezio Melotti
Ezio Melotti added the comment: If we follow the behavior of the browser, we will have to pick one of the two values and discard the other, making this value unaccessible. If we provide both, scripts and libraries that use HTMLParser will have access to both and can decide what to do

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-03 Thread Ezio Melotti
Ezio Melotti added the comment: Writing tests that verify the expected behavior is a great first step. The expected output in the tests should match the behavior described by the HTML 5 specs (which should also correspond to the browsers' behavior), and should initially fail. You can start

[issue27886] Docs: the difference between rename and replace is not obvious

2020-10-28 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue27886> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41989] htmlparser unclosed script tag causes data loss

2020-10-12 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue41989> ___ ___ Python-bugs-list mai

[issue41748] HTMLParser: parsing error

2020-09-09 Thread Ezio Melotti
Ezio Melotti added the comment: The html.parser follows the HTML 5 specs as closely as possible. There are a few corner cases where it behaves slightly differently but it's only while dealing with invalid markup, and the differences should be trivial and generally not worth the extra

[issue41411] Improve and consolidate f-strings docs

2020-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks both for pointing out the additional section in inputoutput.rst that I initially missed. > I have done PR 21681 that adds index to the tutorial although searching[2][3] > does not seem to be better now that the reference has an index. The onlin

[issue41411] Improve and consolidate f-strings docs

2020-07-28 Thread Ezio Melotti
Ezio Melotti added the comment: HOWTOs are generally used to explain how to accomplish a certain task, so I'm not sure if they are a good fit for this situation. In the list of proposed solutions in my first message, 1-3 should be quite easy to implement. This leaves us with 4-5

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +20788 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21552 ___ Python tracker <https://bugs.python.org/issu

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: > I agree that it might be better to separate them into a new issue. I created #41411. -- ___ Python tracker <https://bugs.python.org/issu

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Ezio Melotti
New submission from Ezio Melotti : [Creating a new issue from #41045] I was just just trying to link to someone the documentation for f-strings, but: 1) Searching "fstring" only returns two results about xdrlib[0]; 2) Searching "f-string" returns many unrelated resu

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: I was just just trying to link to someone the documentation for f-strings, but: 1) Searching "fstring" only returns two results about xdrlib[0]; 2) Searching "f-string" returns many unrelated results[1]; 3) The first (and closer) result (str

[issue41080] re.sub treats * incorrectly?

2020-06-22 Thread Ezio Melotti
Ezio Melotti added the comment: This behavior was changed in 3.7: "Empty matches for the pattern are replaced only when not adjacent to a previous empty match, so sub('x*', '-', 'abxd') returns '-a-b--d-'." [0] See also bpo-32308 and bpo-25054. [0]: https://docs.python.org

[issue40873] Something wrong with html.unescape()

2020-06-19 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue40873> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40799] Create Lib/_pydecimal.py file to optimize "import datetime" when _decimal is available

2020-05-27 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue40799> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40711] Clearing the screen of IDLE interactive mode in Windows

2020-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The cls command only works when Python is executed within a Windows terminal. In other contexts (such as IDLE), the command doesn't work. -- assignee: terry.reedy -> ezio.melotti nosy: +ezio.melotti resolution: -> not a bug stage: -> resolv

[issue40710] Malfunctioning of '\r' (ii)

2020-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: Correct. This is a Windows issue, not a Python one. -- resolution: -> not a bug status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue40708] Clearing the screen of IDLE interactive mode in Windows

2020-05-21 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: terry.reedy -> ezio.melotti nosy: +ezio.melotti resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Clearing the screen of IDLE interactive mode in Windows type: performa

[issue40710] Malfunctioning of '\r'

2020-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The behavior of \r depends on the operating system and terminal you are using, and not on Python itself. -- assignee: terry.reedy -> ezio.melotti nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type:

[issue40709] Malfunctioning of '\r'

2020-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The behavior of \r depends on the operating system and terminal you are using, and not on Python itself. -- assignee: terry.reedy -> ezio.melotti nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type:

[issue39833] Bug in html parsing module triggered by malformed input

2020-03-02 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the report. This is a duplicate of #34480. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> resolved status: open -> closed type: compile error -> behavior ___ Python tra

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-22 Thread Ezio Melotti
Ezio Melotti added the comment: Do you know/can you verify if Chinese versions of Windows/Linux/MacOS include non-ASCII version numbers (e.g. fullwidth digits)? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39368] A matrix (list of lists) behaves differently, depending how it is created

2020-01-17 Thread Ezio Melotti
Ezio Melotti added the comment: See also https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x You can use the builtin function id() to see the id of the lists, and verify whether they refer to the same object or not. -- nosy: +ezio.melotti

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Can you elaborate on the rational for this proposed change? I'm not sure if there cases where the digits are non-ASCII, but if there are, is rejecting them the right thing to do? In the code there's a comment that mentions that the Windows version can

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

2020-01-06 Thread Ezio Melotti
Ezio Melotti added the comment: I think so. It might be worth double-checking if BeautifulSoup (and possibly other 3rd party libs) use _markupbase.py and/or ParserBase.error(). If they do, giving them a heads up and/or going through a regular deprecation process might be good, otherwise PR

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

2020-01-05 Thread Ezio Melotti
<pre> Ezio Melotti <ezio.melo...@gmail.com> added the comment: HTMLParser is supposed to follow the HTML5 standard, and never raise an error. For the example in the first comment ("<![hi world]>"), the steps should be: * <a rel="nofollow" hre

[issue34979] Python throws “SyntaxError: Non-UTF-8 code start with \xe8...” when parse source file

2019-11-15 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue34979> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38201] Anotation problem at flask_httpauth package

2019-09-17 Thread Ezio Melotti
Ezio Melotti added the comment: Please read the documentation for login_required at https://flask-login.readthedocs.io/en/latest/#flask_login.login_required and if you still think you have found a bug report it to the Flask bug tracker. -- nosy: +ezio.melotti resolution

[issue2771] Test issue

2019-09-11 Thread Ezio Melotti
Ezio Melotti added the comment: test comment -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Ezio Melotti
Change by Ezio Melotti : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +15547 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15906 ___ Python tracker <https://bugs.python.org/issu

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Ezio Melotti
New submission from Ezio Melotti : I just rebuilt the docs and got the following error: Warning, treated as error: Doc/c-api/typeobj.rst:2456:duplicate label examples, other instance in Doc/distutils/examples.rst Makefile:49: recipe for target 'build' failed make: *** [build] Error 2

[issue37584] Multiple test failures with OSError: [Errno 84] Invalid or incomplete multibyte or wide character on ZFS with utf8only=on

2019-07-15 Thread Ezio Melotti
Ezio Melotti added the comment: I think Dimiter was able to fix most of the failures, except test_unicode_file_functions. Yesterday during the sprints we were looking at it, and we did some tests using the following snippet: import os import unicodedata upsilon_diaeresis_and_hook = &q

[issue7940] re.finditer and re.findall should support negative end positions

2019-07-15 Thread Ezio Melotti
Ezio Melotti added the comment: > Are there any real world examples which show the benefit of supporting > negative indices? A common case is ignoring parentheses at the beginning/end, e.g. >>> re.compile('[^,]+').findall('(foo,123,(),bar)') ['(foo', '123', '()', 'bar)

[issue7940] re.finditer and re.findall should support negative end positions

2019-07-14 Thread Ezio Melotti
Ezio Melotti added the comment: Sorry, I was wrong. re.findall accepts negative indices for both start and end but they silently get converted to 0, which is arguably an unexpected behavior. This is an example of the current behavior: >>> s, e = 1, 4; re.compile('.').findall('abc

[issue7940] re.finditer and re.findall should support negative end positions

2019-07-14 Thread Ezio Melotti
Ezio Melotti added the comment: The current behavior is inconsistent because the start position accepts both positive and negative indices, whereas the end position only accepts positive indices. I think the proposal and the PR written by Anil are reasonable and should be merged

[issue37328] remove deprecated HTMLParser.unescape

2019-06-20 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue37328> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15474] Differentiate decorator and decorator factory in docs

2019-06-04 Thread Ezio Melotti
Ezio Melotti added the comment: If you want some early feedback I believe you can already create a PR and mark it as work-in-progress/don't-merge. If you need some material you can find the slides of a talk about decorators that I did at https://www.pycon.it/media/conference/slides

[issue21492] email.header.decode_header sometimes returns bytes, sometimes str

2019-06-03 Thread Ezio Melotti
Ezio Melotti added the comment: If we can't fix the behavior, it should at least be documented. Currently the docs says "This function returns a list of (decoded_string, charset) pairs containing each of the decoded parts of the header.". One could assume that this means that

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the PRs! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.7 ___

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 9390e98c3ed9eb9fa414030a2feec1926193af94 by Ezio Melotti (Miss Islington (bot)) in branch '3.7': bpo-19184: Update the documentation of dis module. (GH-13652) (GH-13755) https://github.com/python/cpython/commit

[issue37014] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the PRs! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin -&g

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 6bd438e137a0618b8db949a4751304f541b6674d by Ezio Melotti (Miss Islington (bot)) in branch '3.7': bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) (GH-13753) https://github.com/python/cpython/commit

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset e1179a5096fb12297ececd7a1c79969aa5747e28 by Ezio Melotti (Michele Angrisano) in branch 'master': bpo-19184: Update the documentation of dis module. (GH-13652) https://github.com/python/cpython/commit/e1179a5096fb12297ececd7a1c79969aa5747e28

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset aca273e2401ca3151e15e984f400233b7f255e15 by Ezio Melotti (Michele Angrisano) in branch 'master': bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) https://github.com/python/cpython/commit

[issue2771] Test issue

2019-05-24 Thread Ezio Melotti
Change by Ezio Melotti : ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/o

[issue2771] Test issue

2019-05-24 Thread Ezio Melotti
Change by Ezio Melotti : -- components: +Tests keywords: +easy (C) priority: -> low versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/iss

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the PR! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 25d8404c358f3b1cc8321cdc74049d45dcb8d014 by Ezio Melotti (Michele Angrisano) in branch '2.7': bpo-36713: Rename duplicated method in test_unicode. (#13525) https://github.com/python/cpython/commit/25d8404c358f3b1cc8321cdc74049d45dcb8d014

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Ezio Melotti
Ezio Melotti added the comment: The duplicate method is gone from 3.5+, but it is still present on 2.7: 2.7/Lib/ctypes/test/test_unicode.py:96 2.7/Lib/ctypes/test/test_unicode.py:110 The one at line 96 should be renamed "test_ascii_strict". Michele, do you want to work on a

[issue36892] "Modules" section in Tutorial contains incorrect description about __init__.py

2019-05-11 Thread Ezio Melotti
Ezio Melotti added the comment: I agree that implicit namespace packages don't deserve more than a footnote in that page. However, since I often have to answer questions about packages, I'm thinking that perhaps it would be better to expand that page and maybe have a page dedicated

[issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

2019-05-05 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement ___ Python tracker <https://bugs.python.org/issue36789> ___ ___ Python-bugs-list mai

[issue36425] Add Simplified Chinese to the language switcher

2019-03-28 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue36425> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36139] release GIL on mmap dealloc

2019-03-06 Thread Ezio Melotti
Ezio Melotti added the comment: > Oh wow, that's really strange. I'm sure that I wrote "https://...; URL but my > URL became "r263026496">https://...; !? The links are now fixed (Roundup was getting confused by the rNN, since it looks like a SVN rev

[issue2771] Test issue

2018-12-22 Thread Ezio Melotti
Ezio Melotti added the comment: test message via email -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsub

[issue35354] Generator functions stack overflow

2018-11-29 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: -asdwqii ___ Python tracker <https://bugs.python.org/issue35354> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35354] Generator functions stack overflow

2018-11-29 Thread Ezio Melotti
Ezio Melotti added the comment: > I think I have seen this bug reported elsewhere but can't find it now. Sorry, I was referring to issue6028 and issue32570 that I thought were similar to the original report. (Karthikeyan is having trouble posting, so I'm trying on his beh

[issue25416] Add encoding aliases from the (HTML5) Encoding Standard

2018-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: Adding those aliases sounds good to me. I think it would be good to add some tests first (possibly as a separate issue/pr), even though I'm not sure what would be the best way to test the aliases. Testing if the list is complete/correct should be done

[issue35072] re.sub does not play nice with chr(92)

2018-10-25 Thread Ezio Melotti
Ezio Melotti added the comment: I'm assuming you want to replace double backslashes with single backslashes in stringy_thing, so I defined stringy_thingy and tried both your snippets but they are both failing: >>> stringy_thingy = r'foo\\bar\\baz' >>> print(stringy_thingy)

[issue34935] Misleading error message in str.decode()

2018-10-10 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.pyt

[issue2771] Test issue

2018-10-09 Thread Ezio Melotti
Ezio Melotti added the comment: mail test -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34917] add time decorator to timeit.py

2018-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the decorator, however this should probably be discussed on python-ideas first to decide if a decorator should be added in the first place. If the idea is accepted, the exact implementation should be discussed and defined, and finally a pull

[issue2771] Test issue

2018-10-02 Thread Ezio Melotti
Ezio Melotti added the comment: another test -- ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- keywords: -patch resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bug

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 56c102596f01ecbbe5cca6339d2ae16695b083ff by Ezio Melotti (Miss Islington (bot)) in branch '3.6': bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9664) https://github.com/python/cpython/commit

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 27d7f93f633f0163b96d0a95e312f0eb5615abfd by Ezio Melotti (Miss Islington (bot)) in branch '3.7': bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9663) https://github.com/python/cpython/commit

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 30534cc7172f36092e0002bb7df482edc0d539ce by Ezio Melotti in branch 'master': bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9662) https://github.com/python/cpython/commit/30534cc7172f36092e0002bb7df482edc0d539ce

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +9055 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue31865] html.unescape does not work as per documentation

2018-10-01 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: docs@python -> ezio.melotti keywords: +easy stage: -> needs patch ___ Python tracker <https://bugs.python.org/i

[issue32956] python 3 round bug

2018-09-24 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti, mark.dickinson ___ Python tracker <https://bugs.python.org/issue32956> ___ ___ Python-bugs-list mailin

[issue34792] Tutorial doesn''t discuss / and * function arguments

2018-09-24 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue34792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2018-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: test -- nosy: +nedbat ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2018-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: test -- nosy: -nedbat ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32876] HTMLParser raises exception on some inputs

2018-09-14 Thread Ezio Melotti
<pre> Ezio Melotti <ezio.melo...@gmail.com> added the comment: There are at least a couple of issues here. The first one is the way the parser handles '<![...'. The linked page contains markup like '<![STAT]-[USER-ACTIVE]!>' and since the parser currently c

[issue32876] HTMLParser raises exception on some inputs

2018-09-14 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +8724 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32876> ___ ___ Py

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

2018-09-13 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker <https://bugs.python.org/issue34480> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31844] HTMLParser: undocumented not implemented method

2018-08-24 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker <https://bugs.python.org/issue31844> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34087] int(s), float(s) and others may cause segmentation fault

2018-07-13 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue34087> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32876] HTMLParser raises exception on some inputs

2018-02-25 Thread Ezio Melotti
Change by Ezio Melotti <ezio.melo...@gmail.com>: -- assignee: -> ezio.melotti ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue32876] HTMLParser raises exception on some inputs

2018-02-19 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: The HTMLParser has been updated to handle HTML5 and should never fail parsing a document, so if it raises an error it's probably a bug. -- ___ Python tracker <rep...@bugs.python.or

[issue2771] Test issue

2017-10-27 Thread Ezio Melotti
Change by Ezio Melotti <ezio.melo...@gmail.com>: -- Removed message: https://bugs.python.org/msg303087 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pytho

[issue31714] Improve re documentation

2017-10-06 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: ISTM that ``x`` is used when x is a regex or regex metachar, whereas ``'x'`` is used when 'x' is a string. I find this distinction reasonable. -- ___ Python tracker <rep...@bugs.p

[issue31589] Links for French documentation pdf is broken

2017-10-01 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: FWIW most of the errors I met while trying to build the pdfs of the main docs were caused by the presence of non-latin1 characters. French should be limited to the latin1 range and the error you pasted doesn't seem to be r

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: This should be fixed now, thanks for the report! -- assignee: -> ezio.melotti resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <r

[issue2771] Test issue

2017-09-26 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: mail test On Wed, Sep 27, 2017 at 4:14 AM, Ezio Melotti <rep...@bugs.python.org> wrote: > > Ezio Melotti <ezio.melo...@gmail.com> added the comment: > > test > > --

[issue2771] Test issue

2017-09-26 Thread Ezio Melotti
Ezio Melotti <ezio.melo...@gmail.com> added the comment: test -- versions: +Python 3.8 -Python 3.5 ___ Python tracker <rep...@bugs.python.org> <https://bugs.pytho

[issue31580] Defer compiling regular expressions

2017-09-26 Thread Ezio Melotti
Ezio Melotti added the comment: What about adding a lazy_compile() function? It will leave the current behavior unchanged, it's explicit, and it's easier to use cross version (if importing re.lazy_compile fails, use re.compile). FWIW I'm -1 on changing re.compile, -1 on adding re.IMMEDIATE

[issue31553] Extend json.tool to handle jsonlines (with a flag)

2017-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: I agree with Raymond that this is a reasonable request. Even if jsonlines is not part of the JSON specification, the format is quite common, and practicality beats purity (espcially considering that we are just talking about json.tool). -- nosy

  1   2   3   4   5   6   7   8   9   10   >