[issue23756] Tighten definition of bytes-like objects

2015-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23756

[issue23751] Allow reverse lookup (value-to-member) for Enum sublcasses decorated with @enum.unique

2015-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23751 ___ ___ Python-bugs-list

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738

[issue23737] spam

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed title: web course - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737

[issue23737] web course

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- Removed message: http://bugs.python.org/msg238875 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737

[issue23737] web course

2015-03-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -302 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23737 ___ ___ Python-bugs-list

[issue11468] Improve unittest basic example in the doc

2015-03-18 Thread Ezio Melotti
Ezio Melotti added the comment: Raymond, in the meanwhile can the proposed patch be applied? I don't think it's necessary to show that you need to import a module in order to test its functions. Using modules also has the disadvantage that people might not know what result to expect

[issue23702] docs.python.org/3/howto/descriptor.html still refers to unbound methods

2015-03-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23702

[issue23441] rlcompleter: tab on empty prefix = insert spaces

2015-03-14 Thread Ezio Melotti
Ezio Melotti added the comment: +1 for 4 spaces. Smart backspace would be nice too, but I agree it's a separate issue (unless it's trivial to implement). Deeply-nested code in the interactive interpreter is uncommon, and the lack of smart backspace never bothered me. -- nosy

[issue23645] Incorrect doc for __getslice__

2015-03-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23645

[issue23614] Opaque error message on UTF-8 decoding to surrogates

2015-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: The Table 3-7 of http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (page 93 of the book, or 40 of the pdf) shows that if the start byte is ED the continuation byte must be in range 80..9F. This means that, in order to decode a sequence starting with ED

[issue23637] Warnings error with non-ascii chars.

2015-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: I think that the problem is actually with the file.write() in _show_warning(). If any of the arguments of formatwarning() are unicode, the result will be unicode, and if file (default sys.stderr) is opened in binary mode, Python will try to encode the unicode

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23623 ___ ___ Python-bugs

[issue23614] Opaque error message on UTF-8 decoding to surrogates

2015-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: Nice document. Is that actually how Python's decoder checks things? Yes, Python follows the Unicode standard. * E0 followed by 80..9F: non-shortest form * ED followed by A0..BF: surrogate * F4 followed by 90..BF: outside defined range If you get a decode

[issue23639] Not documented special names

2015-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: I think most of these are either implementation details or private names, so there is no need to document them. The ones that are intended to be used by developers or that are useful to understand the functioning of a public API should be documented

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-08 Thread Ezio Melotti
Ezio Melotti added the comment: A context manager here would seem a bit strange. I still haven't thought this through, but I can't see any problem with it right now. This would be similar to: from contextlib import closing with closing(MyHTMLParser()) as parser: parser.feed(html

[issue17570] Improve devguide Windows instructions

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17570 ___ ___ Python-bugs-list

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eric.smith, ezio.melotti, mark.dickinson, rhettinger, skrah stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23602

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch that fixes the problem. Even though calling .close() is the correct solution, I preferred to restore the previous behavior and call handle_data as soon as possible. There is a corner case in which a charref might be cut in half while feeding

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file38376/issue23144.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file38380/issue23144.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144

[issue23584] test_doctest lineendings fails in verbose mode

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - behavior versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23584

[issue23579] Amazon.com links

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23579 ___ ___ Python-bugs

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Ezio Melotti added the comment: I still think it would be worthwhile adding close() calls to the examples in the documentation (Doc/library/html.parser.rst). If I add context manager support to HTMLParser I can update the examples to use it, but otherwise I don't think it's worth changing

[issue23595] Split the math module into _math (C) + math (py)

2015-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23595

[issue23594] Wrong variable name in traceback

2015-03-05 Thread Ezio Melotti
Ezio Melotti added the comment: #8087 -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23594 ___ ___ Python-bugs-list mailing

[issue22936] traceback module has no way to show locals

2015-03-05 Thread Ezio Melotti
Ezio Melotti added the comment: In the patch you made some args kw-only. Isn't that backward incompatible in case someone was passing them by position? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue23591] Add IntFlags

2015-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23591 ___ ___ Python-bugs

[issue23589] Redundant sentence in FAQ

2015-03-05 Thread Ezio Melotti
Ezio Melotti added the comment: I think the first sentence could be improved, even though it's correct. A superficial reading might give the impression that function variables are implicitly global, or that only the variables inside a function are global, especially if the reader

[issue23589] Redundant sentence in FAQ

2015-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti stage: - commit review versions: +Python 2.7 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2015-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544

[issue22936] traceback module has no way to show locals

2015-03-05 Thread Ezio Melotti
Ezio Melotti added the comment: You are right -- I didn't notice the versionadded in the docs. Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue23583] IDLE: printing unicode subclasses broken (again)

2015-03-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Unicode nosy: +ezio.melotti, haypo, ned.deily, serhiy.storchaka, terry.reedy type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23583

[issue19481] IDLE hangs while printing instance of Unicode subclass

2015-03-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19481 ___ ___ Python-bugs

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-03-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23512

[issue23275] Can assign [] = (), but not () = []

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23275 ___ ___ Python-bugs

[issue22933] Misleading sentence in doc for shutil.move

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22933

[issue22801] collections.Counter, when empty, doesn't raise an error with = when other is an incompatible type

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22801

[issue22812] Documentation of unittest -p usage wrong on windows.

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22812

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy stage: - needs patch type: - enhancement versions: +Python 2.7, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23460

[issue23312] google thinks the docs are mobile unfriendly

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23312 ___ ___ Python-bugs

[issue23192] Generator return value ignored in lambda function

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23192 ___ ___ Python-bugs

[issue23320] devguide should mention rules about paragraph reflow in the documentation

2015-03-02 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed with what Georg said and I think the devguide can be update accordingly. -- assignee: - docs@python components: +Documentation keywords: +easy nosy: +docs@python stage: - needs patch ___ Python tracker rep

[issue22785] range docstring is less useful than in python 2

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22785

[issue23330] h2py.py regular expression missing

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23330 ___ ___ Python-bugs-list

[issue22813] No facility for test randomisation

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813

[issue22831] Use with to avoid possible fd leaks

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22831 ___ ___ Python-bugs

[issue23367] integer overflow in unicodedata.normalize

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Unicode nosy: +ezio.melotti, haypo, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23367

[issue22942] Language Reference - optional comma

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +Joshua.Landau, neil.g ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22942 ___ ___ Python

[issue23560] Group the docs of similar methods in stdtypes.rst

2015-03-02 Thread Ezio Melotti
New submission from Ezio Melotti: The Doc/library/stdtypes.rst page describes in detail the built-in types and their methods. As suggested in #21777 (see the comments on Rietveld), it might be a good idea to group the documentation of some similar methods, such as {r|l|}just, {r|l|}strip, {r

[issue21777] Separate out documentation of binary sequence methods

2015-03-02 Thread Ezio Melotti
Ezio Melotti added the comment: Zach, Ezio - if there are any other refactorings from the reviews that you'd like to pursue, consider pulling them out to separate issues so we don't forget about them. See #23560. -- ___ Python tracker rep

[issue23263] Python 3 gives misleading errors when validating unicode identifiers

2015-03-02 Thread Ezio Melotti
Ezio Melotti added the comment: While the request is reasonable, the patch seems to touch quite some code. Since this is just to improve an error message in a somewhat obscure corner case, I'm not sure it's worth applying it. -- nosy: +serhiy.storchaka stage: - patch review versions

[issue433030] SRE: Atomic Grouping (?...) is not supported

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue433030 ___ ___ Python-bugs

[issue23262] webbrowser module broken with Firefox 36+

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23262 ___ ___ Python-bugs

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-03-01 Thread Ezio Melotti
Ezio Melotti added the comment: That was me in #10299 (the issue contains a discussion about the ordering in the last few messages). Since there are only 4 functions, I think it would be ok removing them from the table and instead add a sentence like In addition, there are other 4 built

[issue23504] Add __all__ into types

2015-03-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23504 ___ ___ Python-bugs

[issue23455] file iterator deemed broken; can resume after StopIteration

2015-03-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23455

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2015-03-01 Thread Ezio Melotti
Ezio Melotti added the comment: Should we add a note to the format docs, or just close this? -- nosy: +ezio.melotti, mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23460

[issue23469] Delete Misc/*.wpr files

2015-03-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23469 ___ ___ Python-bugs

[issue433028] SRE: (?flag:...) is not supported

2015-03-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue433028 ___ ___ Python-bugs

[issue23493] optimize sort_keys in json module by using operator.itemgetter()

2015-03-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23493 ___ ___ Python-bugs

[issue23523] cmath.atanh has wrong output

2015-02-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, mark.dickinson, rhettinger, stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23523

[issue23507] Tuple creation is too slow

2015-02-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23507 ___ ___ Python-bugs

[issue1559298] test_popen fails on Windows if installed to Program Files

2015-02-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559298 ___ ___ Python-bugs

[issue22963] broken link in PEP 102

2015-02-04 Thread Ezio Melotti
Ezio Melotti added the comment: Ok, so I'm closing this again. Berker, can you add a link to this issue too on the pydotorg tracker? -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22963

[issue22963] broken link in PEP 102

2015-02-03 Thread Ezio Melotti
Ezio Melotti added the comment: The link in PEP 102 is still wrong, even though the pydotorg issue has been closed. The problem seems to affect txt PEPs (not rst ones), and it can be fixed by simply doing: diff --git a/pep2html.py b/pep2html.py --- a/pep2html.py +++ b/pep2html.py @@ -48,11

[issue22818] Deprecate splitting on possible zero-width re patterns

2015-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: DeprecationWarning: Base class for warnings about deprecated features. UserWarning: Base class for warnings generated by user code. RuntimeWarning: Base class for warnings about dubious runtime behavior. FutureWarning: Base class for warnings about constructs

[issue12312] is ok

2015-01-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- Removed message: http://bugs.python.org/msg234435 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12312

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-01-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144

[issue23201] Decimal(0)**0 is an error, 0**0 is 1, but Decimal(0) == 0

2015-01-08 Thread Ezio Melotti
Ezio Melotti added the comment: In the code there is this comment: # 0**0 = NaN (!), x**0 = 1 for nonzero x (including +/-Infinity) and raising the error for this specific case seems intentional. -- nosy: +ezio.melotti, facundobatista, mark.dickinson, rhettinger, skrah versions

[issue23203] Aliasing import of sub-{module, package} from the package raises AttributeError on import.

2015-01-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +brett.cannon, eric.snow, ezio.melotti, ncoghlan type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23203

[issue23119] Remove unicode specialization from set objects

2015-01-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23119 ___ ___ Python-bugs

[issue23119] Remove unicode specialization from set objects

2015-01-08 Thread Ezio Melotti
Ezio Melotti added the comment: Without changesets information (not included in the git format) rietveld will try to apply the patch on default and if it applies clearly it will work, so creating the patch against an up to date py3 clone should work even with the git format

[issue23194] Antigravity prints osascript errors in OS X Yosemite

2015-01-08 Thread Ezio Melotti
Ezio Melotti added the comment: Do you see the same messages if you use the webbrowser module directly? -- components: +Library (Lib) -Extension Modules nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23194

[issue23194] Antigravity prints osascript errors in OS X Yosemite

2015-01-08 Thread Ezio Melotti
Ezio Melotti added the comment: Does anything change if you use open/open_new/open_new_tab, and/or use different urls (http and https)? -- nosy: +hynek, ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23179] New function proposal: string.from_iterable(iterable [, map_function])

2015-01-06 Thread Ezio Melotti
Ezio Melotti added the comment: You should propose this to the python-ideas mailing list. FWIW, if this is accepted, I would use str as default map_function. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23124] Incorrect Integer saving

2014-12-27 Thread Ezio Melotti
Ezio Melotti added the comment: On CPython small ints are cached to improve performances. This is an implementation detail and is should not be used to compare ints (== should be used instead). -- nosy: +ezio.melotti resolution: - not a bug stage: - resolved status: open - closed

[issue19548] 'codecs' module docs improvements

2014-12-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19548 ___ ___ Python-bugs

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2014-12-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23061 ___ ___ Python-bugs

[issue16329] mimetypes does not support webm type

2014-12-03 Thread Ezio Melotti
Ezio Melotti added the comment: A while ago there was a discussion about updating the MIME registry on bug fix releases too, and I seem to remember people agreed it should be done. If this is indeed the case and the patch is accepted for 3.5, should it also be backported to 2.7 and 3.4

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-03 Thread Ezio Melotti
Ezio Melotti added the comment: I have a few comments about the patch. About the markup: 1) you can specify the default highlight (bash) once at the top of the file, and just use :: afterwards instead of .. code-block::; 2) the used for some headers is inconsistent with the other files; 3

[issue22942] Language Reference - optional comma

2014-11-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22942 ___ ___ Python-bugs

[issue22887] ensurepip and distutils' build_scripts fails on Windows when path to Python contains accented characters

2014-11-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - ensurepip and distutils' build_scripts fails on Windows when path to Python contains accented characters ___ Python

[issue22578] Add additional attributes to re.error

2014-11-10 Thread Ezio Melotti
Ezio Melotti added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22578 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue2636] Adding a new regex module (compatible with re)

2014-11-08 Thread Ezio Melotti
Ezio Melotti added the comment: So you are suggesting to fix bugs in re to make it closer to regex, and then replace re with a forked subset of regex that doesn't include advanced features, or just to fix/improve re until it matches the behavior of regex? If you are suggesting the former, I

[issue2636] Adding a new regex module (compatible with re)

2014-11-08 Thread Ezio Melotti
Ezio Melotti added the comment: Ok, regardless of what will happen, increasing test coverage is a worthy goal. We might start by looking at the regex test suite to see if we can import some tests from there. -- ___ Python tracker rep

[issue22824] Update reprlib to use set literals

2014-11-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22824

[issue22823] Use set literals instead of creating a set from a list

2014-11-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22823

[issue22817] re.split fails with lookahead/behind

2014-11-07 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide a sample DNA sequence (or part of it), the exact code you used, the output you got, and what you expected? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22817

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806 ___ ___ Python-bugs

[issue22786] Message could not be delivered

2014-11-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22786

[issue22680] Blacklist FunctionTestCase from test discovery

2014-11-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22680 ___ ___ Python-bugs-list

[issue22293] unittest.mock: use slots in MagicMock to reduce memory footprint

2014-11-02 Thread Ezio Melotti
Ezio Melotti added the comment: James, could you check again with a recent Python and see if the #11798 fix makes things any better? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22293

[issue22317] action argument is not documented in argparse add_subparser() docs

2014-11-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +bethard stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22317

[issue22335] Python 3: Segfault instead of MemoryError when bytearray too big

2014-11-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22335 ___ ___ Python-bugs

[issue16662] load_tests not invoked in package/__init__.py

2014-11-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16662 ___ ___ Python-bugs-list

[issue22344] Reorganize unittest.mock docs into linear manner

2014-11-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22344

[issue22354] Idle: highlite tabs

2014-11-02 Thread Ezio Melotti
Ezio Melotti added the comment: Possible ways to highlite is to have a light grey: -- » (at the beginning of the tab) FWIW the latter (») is what I usually see used, with a lighter color to distinguish it from regular text. 3. Should tab space in comments and strings be shaded? I think

[issue22357] inspect module documentation makes no reference to __qualname__ attribute

2014-11-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou, yselivanov stage: - needs patch type: behavior - enhancement versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22357

[issue22388] Unify style of Contributed by notes

2014-11-02 Thread Ezio Melotti
Ezio Melotti added the comment: Patch LGTM. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22388 ___ ___ Python-bugs-list

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