[issue11015] Bring test.support docs up to date

2011-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: There are still functions that are not documented, so I think this should stay open until we documented them (unless they shouldn't be documented -- in that case it can be closed). -- ___ Python tracker

[issue12133] ResourceWarning in urllib.request

2011-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The packaging test (test_pypi_simple.py:test_uses_mirrors) creates a server and a mirror, starts the mirror only, tries to connect to the server, and then falls back on the mirror when the server raises a timeout error. The code in the first message does more

[issue12134] json.dump much slower than dumps

2011-05-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) -Extension Modules nosy: +ezio.melotti versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue12

[issue12140] Crash upon start up

2011-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: Can you try to open a Windows terminal (start->run->cmd or win+r on the keyboard), cd to Python27, execute python.exe and see if it gives any error message there? -- nosy: +ezio.melotti ___ Python tracker

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The patch looks ok to me. AFAIU the lookup will take care to normalize the name and return latin_N. This also implies that other names (like 'latin-N', 'LaTiN~~N' and so on) will be normalized to latin_N and then accepted. Regarding th

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Ezio Melotti
Ezio Melotti added the comment: Something like: if name == 'mbcs' and not sys.platform.startswith('win'): continue should be enough. -- ___ Python tracker <http://bu

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Ezio Melotti
Ezio Melotti added the comment: I suggest to: 1) remove the alias for tactis; 2) add the aliases for latin_* and the tests for the aliases; 3) fix the email.charset to use the new aliases instead of its own dict. 2) and 3) should go on 3.3 only, 1) could be considered a bug and fixed on

[issue12140] Crash upon start up

2011-05-22 Thread Ezio Melotti
Ezio Melotti added the comment: The 'site' module should be in Python27\Lib\site.py. You could try to run "python.exe -v" to see if it says something useful in the output, or maybe try to reinstall Python and see if it works. -- __

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Ezio Melotti
New submission from Ezio Melotti : The attached patch causes a segfault while running test_urllib: $ ./python -m test test_urllib [1/1] test_urllib Fatal Python error: Segmentation fault Current thread 0xb77de8d0: File "/home/wolf/dev/py/py3k/Lib/http/client.py", line 45

[issue12154] PyDoc Partial Functions

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

[issue12074] regrtest: display the current number of failures

2011-05-23 Thread Ezio Melotti
Ezio Melotti added the comment: I removed the /0 when there are no failures after a short discussion on #python-dev. FWIW I'm -0 on the /N, but now that it's not displayed if there are no failures it won't bother me too much. -- nosy: +ezio.melotti stage: ->

[issue12162] Documentation about re \number

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

[issue12173] PyImport_ImportModuleLevel doesn't have 'const' on its argument

2011-05-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +needs review nosy: +brett.cannon, haypo stage: -> patch review ___ Python tracker <http://bugs.python.org/issu

[issue11969] Can't launch multiproccessing.Process on methods

2011-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: The test should be a diff against Lib/test/test_multiprocessing.py that adds a unit test. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +bethard type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue12193> ___ ___ Python-bugs-list mai

[issue12192] Doc that collection mutation methods return item or None

2011-05-27 Thread Ezio Melotti
Ezio Melotti added the comment: I find this wording a little confusing: "For lists, sets, and dicts, methods that change the contents or order never return the instance. Instead, they return an item from the instance or, more commonly, None.". I would suggest to drop the second pa

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: I'm not sure it's worth adding this to the PEP 7. The PEP is about conventions and style not idioms. PEP 8 has a section about "Programming Recommendations" that contains a few idioms, but since PEP 7 doesn't have an equival

[issue11906] test_argparse failure in interactive mode

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: Terry, I think you can apply the patch you proposed in msg137085 and close this issue. If the recommended structure of test files is not documented, a section in the devguide should be added, but that's another issue. (FWIW I'm not even sure

[issue10449] “os.environ was modified by test_httpservers”

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: Python 3.1.4 should be released today, so I think it's too late for this to be fixed. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/is

[issue10449] “os.environ was modified by test_httpservers”

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: The release date of 3.1.4 is actually June 11th. Today will be released an RC though, so what I said should still apply. -- ___ Python tracker <http://bugs.python.org/issue10

[issue12170] Bytes.index() and bytes.count() should accept byte ints

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

[issue9382] os.popen referenced but not documented in Python 3.x

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

[issue10224] Build 3.x documentation using python3.x

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

[issue10225] Fix doctest runable examples in python manual

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

[issue12106] reflect syntatic sugar in with ast

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: That would be c4ddb460f4f2. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue12106> ___ ___ Python-bug

[issue12185] Decimal documentation lists "first" and "second" arguments, should be "self" and "other"

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: Note that usually 'self' is not included in the arguments of methods. The 3.3 doc correctly uses e.g. copy_sign(other). A 'd.' could also be added so that the end result looks like: d.copy_sign(other) but it's not mandatory (if do

[issue10449] “os.environ was modified by test_httpservers”

2011-05-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue10449> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12185] Decimal documentation lists "first" and "second" arguments, should be "self" and "other"

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: In this case using: d.copy_sign(other) and then refer to 'd' and 'other' might be clearer. -- ___ Python tracker <http://bug

[issue12162] Documentation about re \number

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: The regex sets (\d\w\s\D\W\S) don't match any Python escape sequence, so even if some suggest to always use r'' regardless, I don't find it necessary, especially for simple regexs. The two conflicting escape sequences to keep in mind a

[issue12134] json.dump much slower than dumps

2011-05-28 Thread Ezio Melotti
Ezio Melotti added the comment: The name dump and dumps exist to match the same API provided by pickle and marshal. I agree that a note marked as CPython implementation detail should be added. -- keywords: +easy -patch stage: -> needs patch versions: +Python 2.7, Python

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

2011-05-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +georg.brandl stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue11975> ___ ___ Python-

[issue12134] json.dump much slower than dumps

2011-05-29 Thread Ezio Melotti
Ezio Melotti added the comment: Are you against the proposed wording or the note itself? Stating that in CPython json.dump doesn't use the C accelerations is a reasonable thing to do imho. -- ___ Python tracker <http://bugs.python.org/is

[issue12204] str.upper converts to title

2011-05-29 Thread Ezio Melotti
Ezio Melotti added the comment: '\u1ff3'.upper() returns '\u1ffc', so we have: U+1FF3 (ῳ - GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI) U+1FFC (ῼ - GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI) The first belongs to the Ll (Letter, lowercase) category, whereas the secon

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

2011-06-01 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO it would be better to tweak regrtest so that it understand test_file.TestClass.test_method, possibly supporting wildcards. E.g.: - ./python -m test test_subprocess.POSIXProcessTestCase - ./python -m test

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

2011-06-01 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW using the class directive also adds a 'class' before the name, and I -1 about having int()/float()/etc. prepended by 'class' in the functions.rst page. What happens if we leave ".. function::" there and use ".. clas

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

2011-06-01 Thread Ezio Melotti
Ezio Melotti added the comment: I think the only way to find it out is to try it and see. In the worst case, sphinx will give an error while building the doc, if we are lucky it will just pick one of the two (or even better the one defined with the function directive while using :func:`` and

[issue12270] Please update copyright notice on bugs.python.org to 2011?

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

[issue12270] Please update copyright notice on bugs.python.org to 2011?

2011-06-06 Thread Ezio Melotti
Ezio Melotti added the comment: Done in r88853, thanks for the report! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-06-07 Thread Ezio Melotti
Ezio Melotti added the comment: If there are a few of these idioms, I'm not against adding a new section to PEP 7 (something like the "Programming Recommendations" section in the PEP 8). It's just not worth doing it for the "*p

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

2011-06-07 Thread Ezio Melotti
Ezio Melotti added the comment: What if in the functions.rst page we specify the current module for all the functions (or even just for int/float/etc) as __builtin__ and use the function directive, and in the stdtypes.rst (or elsewhere) we use the class directive? The idea is to pretend that

[issue12286] float('nan') breaks sort() method on a list of floats

2011-06-08 Thread Ezio Melotti
Ezio Melotti added the comment: This is expected. See also #11986 and #11949. -- nosy: +belopolsky, ezio.melotti, mark.dickinson, rhettinger resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python track

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

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

[issue12298] Sphinx glitch in library/functions

2011-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- dependencies: +Fix referencing of built-in types (list, int, ...) ___ Python tracker <http://bugs.python.org/issue12298> ___ ___ Pytho

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

2011-06-09 Thread Ezio Melotti
Ezio Melotti added the comment: It won't (because there's the ~ in :func/class:`~__builtin__.int`). Specifying the module would just be a workaround used to distinguish the 'int' in functions.rst from the one in stdtypes.rst. -- __

[issue11375] urllib2 over SOCKS doesn't use proxy for DNS

2011-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue11375> ___ ___ Python-bugs-list mailing list Unsubscri

[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:

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