[issue12329] XHTML entity apos missing in htmlentitydefs

2011-06-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) -Extension Modules keywords: +easy nosy: +eric.araujo, ezio.melotti ___ Python tracker <http://bugs.python.org/issue12

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12326> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11113] html.entities mapping dicts need updating?

2011-06-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue3> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1669539] Fix bug in os.path.join

2011-06-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -jongfoster ___ Python tracker <http://bugs.python.org/issue1669539> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12346] Python 2.7.2 source code build (release) depends on mercurial

2011-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: The regexes are now in the right order. -- ___ Python tracker <http://bugs.python.org/issue12346> ___ ___ Python-bugs-list mailin

[issue12341] Some additions to .hgignore

2011-06-25 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed during the EuroPython sprint, thanks for the patch! -- nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bug

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-26 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tr

[issue11363] Curses - add missing functions to doc

2011-06-26 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue12442] shutil.disk_usage()

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12442> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12445] dict view values objects are missing tp_richcmp and tp_as_number

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, rhettinger stage: -> patch review ___ Python tracker <http://bugs.python.org/issue12445> ___ ___ Python-

[issue12452] reuse plistlib in sysconfig; deprecation process in plistlib

2011-06-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12452> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12508] Codecs Anomaly

2011-07-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12508> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12522] Implement `os.startfile` under Linux and Mac

2011-07-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12522> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12546] str.format cannot fill with \x00 char

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.smith, ezio.melotti ___ Python tracker <http://bugs.python.org/issue12546> ___ ___ Python-bugs-list mailing list Unsub

[issue1170] shlex have problems with parsing unicode

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue1170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12524] change httplib docs POST example

2011-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: You'll need a page that accepts POST requests, possibly returning some meaningful value, and without side effects (e.g. adding messages is usually done via POST, but we don't want a new message for every user that tries the example). -

[issue12524] change httplib docs POST example

2011-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW the 'show issue' button on the left sidebar of http://bugs.python.org/ uses POST, so maybe you could send an issue number as request there to get back the issue page. -- ___ Python trac

[issue12547] whatsnew/3.3: error in example about nntplib

2011-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12548] Add suport native Functor

2011-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: It's not entirely clear to me what you are proposing, but it looks like functools.partial[0]. Whatever it is, adding new syntax especially for it sounds highly unlikely. You might want to propose and discuss it on python-ideas though. [0]:

[issue12531] documentation index entries for * and **

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12531> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12527] assertRaisesRegex doc'd with 'msg' arg, but it's not implemented?

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12527> ___ ___ Python-bugs-list mai

[issue12544] Avoid using a pseudo-dict for _type_equality_funcs in unittest

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12544> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4819] Misc/cheatsheet needs updating

2011-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: Another idea might be to have a "cheatsheet" in the official docs with links to the right section and possibly a minimal description. It would be useful to get a quick overview of the features of the language and use the links to jump to the ex

[issue9285] Add a profile decorator to profile and cProfile

2011-07-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue9285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12548] Add suport native Functor

2011-07-14 Thread Ezio Melotti
Ezio Melotti added the comment: Using the func%(args) syntax is not possible because fab = foo%(1,2) is equivalent to fab = foo.__mod__((1,2)) It might actually be possible to overload the % operator to make something that looks like your proposed syntax (without changing the actual Python

[issue10403] Use "member" consistently

2011-07-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue10403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue7897> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12266] str.capitalize contradicts oneself

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +belopolsky, eric.araujo, ezio.melotti, lemburg ___ Python tracker <http://bugs.python.org/issue12266> ___ ___ Python-bug

[issue12204] str.upper converts to title

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch. I don't think it's necessary to update the docstring. -- assignee: docs@python -> ezio.melotti keywords: +patch stage: -> commit review Added file: http://bugs.python.org/file

[issue12204] str.upper converts to title

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: New patch that factors out the definition of cased characters adding it to a footnote. -- Added file: http://bugs.python.org/file22709/issue12204-2.diff ___ Python tracker <http://bugs.python.org/issue12

[issue12266] str.capitalize contradicts oneself

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: Indeed this seems a different issue, and might be worth fixing it. Given this definition: str.capitalize()¶ Return a copy of the string with its first character capitalized and the rest lowercased. we might implement capitalize like: >>> def myc

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: To distinguish the 'int' in functions.rst from the one in stdtypes.rst (if it works...). -- ___ Python tracker <http://bugs.python.o

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- keywords: +easy ___ Python tracker <http://bugs.python.org/issue12301> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3665] Support \u and \U escapes in regexes

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +needs review stage: -> patch review ___ Python tracker <http://bugs.python.org/issue3665> ___ ___ Python-bugs-list mai

[issue11113] html.entities mapping dicts need updating?

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: Having them in different mappings would be good, but I expect that for most real world application a single mappings that includes them all is the way to go. If I'm parsing a supposedly HTML page that contains an ' I'd rather have it convert

[issue8887] "pydoc str" works but not "pydoc str.translate"

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: patch review -> commit review versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue8887> ___ ___ Python-

[issue12298] Sphinx glitch in library/functions

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue12298> ___ ___ Python-bugs-list mai

[issue12600] Support parameterized TestCases in unittest

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +Yaroslav.Halchenko, brian.curtin, eric.araujo, ericsnow, exarkun, ezio.melotti, fperez, michael.foord, nchauvat, ncoghlan, pitrou, r.david.murray versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker

[issue12401] unset PYTHON* environment variables when running tests

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue12401> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11363] Curses - add missing functions to doc

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW the typo has been fixed in 13c9b93e97ad. If the example is failing another issue should be created. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue11435] Links to source code should now point to hg repo

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: I fixed the URL in 3.2. > The 2.7 docs link to the Subversion repo. Can I update them? 2.7 doesn't have the source directive, do you want to replace all the svn links manually? If so, either reopen this issue or create a

[issue12568] Add functions to get the width in columns of a character

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12568> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12601] Spelling error in the comments in the webbrowser module.

2011-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue12266] str.capitalize contradicts oneself

2011-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: Do you mean "if (!Py_UNICODE_ISLOWER(*s)) {" (with the '!')? This sounds fine to me, but with this approach all the uncased characters will go through a Py_UNICODE_TO* macro, whereas with the current code only the cased ones are converted

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-07-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue11669> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12581] Increased test coverage of test_urlparse

2011-07-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12581> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12204] str.upper converts to title

2011-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: I think it's an invention, but its meaning is quite clear to me. -- ___ Python tracker <http://bugs.python.org/is

[issue12266] str.capitalize contradicts oneself

2011-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: >>> import sys; hex(sys.maxunicode) '0x10' >>> import unicodedata; unicodedata.unidata_version '6.0.0' import unicodedata all_chars = list(map(chr, range(0x11))) Ll = [c for c in all_chars if unicodedata.category(c)

[issue12266] str.capitalize contradicts oneself

2011-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: L = set(sum([Ll, Lu, Lt, Lo, Lm], [])) -- ___ Python tracker <http://bugs.python.org/issue12266> ___ ___ Python-bugs-list mailin

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- Removed message: http://bugs.python.org/msg70327 ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailin

[issue2771] Test issue

2011-07-22 Thread Ezio Melotti
Ezio Melotti added the comment: Testing authorage -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailin

[issue2771] Test issue

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -loewis ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12617] Mutable Sequence Type can work not only with iterable in slice[i:j] = t

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12617> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11049] add tests for test.support

2011-07-22 Thread Ezio Melotti
Ezio Melotti added the comment: Several buildbot are failing after the commit: == FAIL: test_get_original_stdout (test.test_support.TestSupport) -- Traceback

[issue12626] run test cases based on a glob filter

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #12231 for a similar suggestion. -- ___ Python tracker <http://bugs.python.org/issue12626> ___ ___ Python-bugs-list m

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #12626 for a similar suggestion. -- ___ Python tracker <http://bugs.python.org/issue12231> ___ ___ Python-bugs-list m

[issue12170] index() and count() methods of bytes and bytearray should accept byte ints

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: > When an integer out of range(0, 256) is passed as the first argument, > should we raise a ValueError or a TypeError? ValueError = Inappropriate argument value (of correct type). TypeError = Inappropriate argument type. > Currently, a ValueError ra

[issue12628] urllib.request.urlopen gives empty response bodies for some sites

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #12576. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> urlib.request fails to open some sites ___ Python tr

[issue12632] Windows GPF with Code Page 65001

2011-07-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, haypo ___ Python tracker <http://bugs.python.org/issue12632> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12635] use "as" for block scope support

2011-07-25 Thread Ezio Melotti
Ezio Melotti added the comment: You should propose this to the python-ideas mailing list first. It might be worth checking the archives of the ML as well -- I think I saw already something similar a while ago. -- nosy: +ezio.melotti resolution: -> rejected stage: -> com

[issue12634] Random Remarks in class documentation

2011-07-25 Thread Ezio Melotti
Ezio Melotti added the comment: Indeed that paragraph is not really clear. I had to read it till the end ("verbs for methods and nouns for data attributes") to figure out what it was talking about. Even then it's still not clear what it's trying to say. I *think* it mean

[issue12547] whatsnew/3.3: error in example about nntplib

2011-07-25 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks again for the patch! -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file22765/900df5732f93.diff ___ Python tracker <http://bugs.python.org/issue10639> ___ ___ Python-bug

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file22766/900df5732f93.diff ___ Python tracker <http://bugs.python.org/issue10639> ___ ___ Python-bugs-list m

[issue12642] Python2 documentation of the open() built-in function

2011-07-26 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- nosy: +ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-26 Thread Ezio Melotti
Ezio Melotti added the comment: I left a review about your patch on rietveld, including a description of what I think it's going on there (the patch lacks some context and it's not easy to figure out how everything works there). I also did some tests with and without the patch:

[issue12644] document the "%a" conversion in the old string formatting operations

2011-07-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy, patch -gsoc stage: -> patch review Added file: http://bugs.python.org/file22774/issue12644.diff ___ Python tracker <http://bugs.python.org/issu

[issue12644] document the "%a" conversion in the old string formatting operations

2011-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: ISTM that it applies to both %s and %a, but the note is wrong/imprecise. The precision determines where the string is truncated, but the actual number of characters is given by the field width. -- nosy: +ezio.melotti

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: IIRC we have been following what browsers do in other cases already. There were also some discussions about supporting HTML5 (see e.g. #7311 and #3) and the strict vs non-strict mode introduced in Python3. Note that changing the way things are parsed is

[issue12644] document the "%a" conversion in the old string formatting operations

2011-07-28 Thread Ezio Melotti
Ezio Melotti added the comment: The commit looks fine, the issue can be closed. -- ___ Python tracker <http://bugs.python.org/issue12644> ___ ___ Python-bug

[issue12652] Move documentation of test.support into the devguide

2011-07-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: As I said somewhere else, the only use case I can think of where the 'strict' flag is useful is validation, but AFAIK even in "strict mode" it's possible to parse non-valid documents, so I agree it's pretty useless. Moving to HTM

[issue9723] Add shlex.quote

2011-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: +_find_unsafe = re.compile(r'[^\w\d@%_\-\+=:,\./]').search \w already includes both \d and _, so (unless you really want to be explicit about it) they are redundant. Also keep in mind that they match non-ASCII letters/numbers on Python 3. '+

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue12675> ___ ___ Python-bug

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue12675> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Ezio Melotti
Ezio Melotti added the comment: I applied it because the patch is valid on 3.3 too until we actually change copystat to use lutimes. If/when shutil is changed the doc can be updated accordingly. -- nosy: +ezio.melotti ___ Python tracker <h

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Devguide -Documentation nosy: +ezio.melotti resolution: -> accepted stage: -> needs patch ___ Python tracker <http://bugs.python.org/i

[issue12683] urlparse.urljoin different behavior for different scheme

2011-08-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) -None nosy: +ezio.melotti, orsenthil versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue12

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12541> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12677] Turtle, fix right/left rotation orientation

2011-08-03 Thread Ezio Melotti
Ezio Melotti added the comment: It seems to me that right() always turns the turtle clockwise, both with the "standard" and the "logo" mode. I agree that changing left->right and leave clockwise is better than changing clockwise->counterclockwise. I don't think

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> test needed ___ Python tracker <http://bugs.python.org/issue12691> ___ ___ Python-bugs-list mai

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

2011-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: ISTM that the patch is trying to do too many things at once: 1) increase the test coverage, possibly fixing some bugs discovered while doing so; 2) refactor the tests to use the correct assert methods; 3) get rid of old code, and do some refactoring in copy.py

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11561> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Ezio Melotti
Ezio Melotti added the comment: Sounds good to me. I would also replace the % with $ in the first example and use triple-quoted docstrings and spaces around the == in the last. -- keywords: +easy nosy: +ezio.melotti, sandro.tosi stage: -> needs patch versions: -Python 2.6, Pyt

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW that would be fine with me. Even if there's nothing broken in a feature request, "fixed" applied to feature could mean "the lack of this feature has been fixed". If the issue is valid, one can say so in a message without

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: Nope, ``...`` can be used for generic pieces of code, whereas e.g. :data:`sys.stdout` indicates that stdout is a "data" attribute of the sys module. If you use :data:`...` and rebuild the doc (cd Doc/; make html), you will see that e.g. sys.stdout wi

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: For global there's :keyword:. Also note that :data: should be used for module-level variables (or constant) not for attributes of e.g. classes and instances. If there are other ``...`` that can be fixed (even using something else like e.g. :func: or

[issue10087] HTML calendar is broken

2011-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: BTW, accessing sys.stdout.buffer is not really safe, because if sys.stdout has been replaced with some other object, the buffer attribute might not be available (IIRC StringIO doesn't have it). -- ___ Python tr

[issue12707] Deprecate addinfourl getters

2011-08-07 Thread Ezio Melotti
New submission from Ezio Melotti : The documentation for urllib.request.urlopen [0] says that: """ This function returns a file-like object [addinfourl] with two additional methods from the urllib.response module geturl() — return the URL of the resource retrieved, [...]

[issue10050] urllib.request still has old 2.x urllib primitives

2011-08-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue10050> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12707] Deprecate addinfourl getters

2011-08-07 Thread Ezio Melotti
Ezio Melotti added the comment: Another possible improvement that can be done is providing a proper Response object instead of addbase, addinfo, addinfourl (yes, those are oddly-named classes, not functions [0]). The Response object could be like 'addbase', but with this signatu

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Ezio Melotti
Ezio Melotti added the comment: ``...`` should also be used for common names like True, False, None (no one needs links to their doc to see what they are), or, as Éric said, to avoid creating links for each occurrence of a name (one such example is the name of a module in the page that

[issue12711] Explain tracker components in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti added the comment: This are the current components in random order and a possible description: """ The following components should be selected if the issue apply to: Build the build process Demos and Tools the scripts in Tools/ and Tools/demo/ 2to3 (2.x to 3.0

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti added the comment: "patch accepted" can be marked with the "commit review" stage. That should mean "the patch is ready to go in, after a last quick review by the committer that will apply it", even though I've seen it used as "I made the co

[issue12711] Explain tracker components in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a proper patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file22865/issue12711.diff ___ Python tracker <http://bugs.python.org/issu

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- hgrepos: +52 ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- hgrepos: -52 ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- hgrepos: +53 ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

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