[issue21278] Running the test suite with -v makes the test_ctypes and the test_zipimport erroneously reported as failed

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - works for me status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21278

[issue1371826] distutils is silent about multiple -I/-L/-R

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1371826

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! The other FAQ got fixed in #17177/3d3b9d456eb8. -- assignee: docs@python - ezio.melotti resolution: - fixed stage: needs patch - resolved status: open - closed versions: +Python 2.7

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-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/issue19838 ___ ___ Python-bugs

[issue19055] Regular expressions: * does not match as many repetitions as possible.

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I agree. -- resolution: - works for me stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19055

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Even if the problem is not in test_shutil, those warnings shouldn't be there. Vajrasky, can you check if you can still reproduce this issue, and see if you can fix it (either by converting the filenames to unicode, or by silencing the warnings

[issue17923] test glob with trailing slash fail on AIX 6.1

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Someone on AIX should verify this patch and confirm that it fixes the issue (and if Python 3 is affected or not). -- keywords: +easy title: test glob with trailing slash fail - test glob with trailing slash fail on AIX 6.1

[issue11955] 3.3 : test_argparse.py fails 'make test'

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I applied my patch, but that doesn't fix the original issue -- it just provides a better error message in case of failure. -- keywords: -patch stage: patch review - needs patch versions: +Python 3.5 ___ Python

[issue18069] Subprocess picks the wrong executable on Windows

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18069

[issue22023] PyUnicode_FromFormat is broken on python 2

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - resolved type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22023

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I left a few comments on rietveld. The patch should also include documentation. Class decorator approach looks less obvious to me. [...] But encountering the unittest.base_class decorator, I need to look in the documentation and/or sources to understand how

[issue22138] patch.object doesn't restore function defaults

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: The issue seems to affect special attributes that can't be deleted. In Lib/unittest/mock.py:1329, patch() tried to delete the attribute, and then, if it doesn't exist, it restores the previous value. However some special attributes exist even after

[issue17665] convert test_wsgiref to idiomatic unittest code

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - out of date stage: patch review - resolved status: open - closed superseder: - Use specific asserts in urllib related tests ___ Python tracker rep...@bugs.python.org http

[issue15759] make suspicious doesn't display instructions in case of failure

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for fixing this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15759 ___ ___ Python-bugs-list mailing

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21928

[issue21972] Bugs in the lexer and parser documentation

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21972 ___ ___ Python

[issue22000] cross type comparisons clarification

2014-08-04 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/issue22000

[issue22014] Add summary table for OS exception - errno mapping

2014-08-04 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/issue22014

[issue22060] Clean up ctypes.test, use unittest test discovery

2014-08-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/issue22060 ___ ___ Python-bugs

[issue22118] urljoin fails with messy relative URLs

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +ezio.melotti, orsenthil stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22118

[issue22071] Remove long-time deprecated attributes from smtpd

2014-08-04 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/issue22071

[issue11763] assertEqual memory issues with large text inputs

2014-08-03 Thread Ezio Melotti
Ezio Melotti added the comment: The second problem I mentioned in msg134530 got fixed in #18996, making the patches on this issue obsolete. Since the other problem is now tracked in #19217, I'm going to close this. -- stage: patch review - resolved status: open - closed

[issue20135] FAQ need list mutation answers

2014-08-03 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a new patch that includes an additional paragraph about mutation and non-mutation operations. -- Added file: http://bugs.python.org/file36236/issue20135-2.diff ___ Python tracker rep...@bugs.python.org http

[issue22092] Executing some tests inside Lib/unittest/test individually throws Error

2014-08-03 Thread Ezio Melotti
Ezio Melotti added the comment: I left a comment on rietveld. Michael, do you think changing the imports is OK, or will this cause you some troubles with the external unittest package you maintain? -- assignee: - michael.foord stage: - patch review type: - behavior

[issue15114] Deprecate strict mode of HTMLParser

2014-08-02 Thread Ezio Melotti
Ezio Melotti added the comment: 3.5 is done. Closing. -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15114

[issue22024] Add to shutil the ability to wait until files are definitely deleted

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

[issue22116] Weak reference support for C function objects

2014-08-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22116

[issue9529] Make re match object iterable

2014-08-01 Thread Ezio Melotti
Ezio Melotti added the comment: See also #19536. I still think that if we do something about these issues, we should try to be compatible with the regex module. If we are going to add support for both iterability and __getitem__, they should be consistent, so that list(m) == [m[0], m[1], m[N

[issue9529] Make re match object iterable

2014-08-01 Thread Ezio Melotti
Ezio Melotti added the comment: That's indeed another valid solution, even though having indexing and iterability would be convenient (assuming we can figure out a reasonable way to implement them). -- ___ Python tracker rep...@bugs.python.org http

[issue9529] Make re match object iterable

2014-08-01 Thread Ezio Melotti
Ezio Melotti added the comment: Even if it doesn't get included in the stdlib, some people might decide to switch from re to regex (or possibly vice versa) for their projects, so the closer they are the easier this will be. Another reason is that afaik the authors of the regex module made

[issue22119] Some input chars (i.e. '++') break re.match

2014-08-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed type: compile error - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22119

[issue2771] Test issue

2014-08-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs

[issue22106] Python 2 docs 'control flow/pass' section contains bad example

2014-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: Do you have any suggestion? The section already includes examples about empty classes and as placeholder inside functions, and the only other realistic situations I can think of is inside an except to ignore errors -- but that might be considered an anti

[issue22106] Python 2 docs 'control flow/pass' section contains bad example

2014-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: Keep in mind that this is in one of the first sections of the tutorial, where try/except, with, and generators have not been introduced yet. Maybe the comment could be changed to a simpler loop forever (use ctrl+c to stop) so that it doesn't suggest

[issue22106] Python 2 docs 'control flow/pass' section contains bad example

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

[issue18477] fix_import (2to3 fixer) is not case-sensitive

2014-07-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18477 ___ ___ Python-bugs

[issue22110] enable extra compilation warnings

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

[issue22086] Tab indent no longer works in interpreter

2014-07-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22086

[issue22097] Linked list API for ordereddict

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

[issue22066] subprocess.communicate() does not receive full output from the called process.

2014-07-27 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - resolved status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22066

[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

2014-07-24 Thread Ezio Melotti
Ezio Melotti added the comment: See https://docs.python.org/devguide/patch.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21084

[issue21777] Separate out documentation of binary sequence methods

2014-07-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +chris.jerdonek, ezio.melotti, zach.ware stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21777

[issue22020] tutorial 9.10. Generators statement error

2014-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: The reverse function is defined just above the example that uses it. -- assignee: - docs@python components: +Documentation nosy: +docs@python, ezio.melotti resolution: - not a bug stage: - resolved status: open - closed type: compile error - behavior

[issue22021] shutil.make_archive() root_dir do not work

2014-07-21 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the report, do you want to provide a patch? (You can check the devguide if you need more information.) -- keywords: +easy nosy: +ezio.melotti, hynek, tarek stage: - needs patch ___ Python tracker rep

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed. Make sure that the arguments you are passing to ntpath.join() have the same type (i.e. either both unicode, or both string). -- nosy: +ezio.melotti resolution: - not a bug stage: - resolved status: open - closed

[issue21965] Add support for Memory BIO to _ssl

2014-07-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Extension Modules nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21965

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Ezio Melotti
Ezio Melotti added the comment: It's using __eq__: l = [3, 1.0, 5, True, 7, 1] l.index(1) 1 l.index(True) 1 l.index(1.0) 1 True == 1 == 1.0 True -- nosy: +ezio.melotti resolution: - not a bug stage: - resolved status: open - closed ___ Python

[issue21993] counterintuitive behavior of list.index with boolean values

2014-07-16 Thread Ezio Melotti
Ezio Melotti added the comment: 'a' evaluates to true, but it's not equal to True: bool('a') True 'a' == True False but 1 and True are equal (for historical reasons): 1 == True True Similarly '' evaluates to false, but it's not equal to False: bool('') False '' == False

[issue21988] Decrease iterating overhead in timeit

2014-07-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21988

[issue21984] list(itertools.repeat(1)) causes the system to hang

2014-07-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) -Extension Modules stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21984

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21815

[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-13 Thread Ezio Melotti
Ezio Melotti added the comment: Wouldn't this be backward incompatible? Even if the EOFError that is raised is not documented explicitly, people might be catching it, and switching to a new exception would break their programs. Maybe NNTPConnectError should inherit from EOFError too

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? -- components: +Windows nosy: +ezio.melotti, loewis, steve.dower, tim.golden, zach.ware stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21931

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: The docstring is correct, as this is how wraps is implemented (see Lib/functools.py#l73). partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated) will return a partial version of update_wrapper() where only the wrapper argument is missing

[issue21934] OpenBSD has no /dev/full device

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: If it's not needed in other places, I think the proposed patch might be OK (assuming it works fine on other platforms). -- nosy: +ezio.melotti stage: - patch review versions: +Python 3.4, Python 3.5 ___ Python

[issue21941] Clean up turtle TPen class

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: While TPen doesn't seem to be documented, it's not prefixed by a '_', so there might people using it and relying on these methods. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http

[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21946 ___ ___ Python-bugs-list

[issue21934] OpenBSD has no /dev/full device

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to grep on 3.x for this test but it looks like it's been removed there, so this issue only affects 2.7. -- versions: -Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue21964] inconsistency in list-generator comprehension with yield(-from)

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: There seem to be two issues here: list comprehension with yield(-from) would return a generator. This is somewhat surprising, and I'm not sure it's expected/documented. The example you provided seems to behave reasonably, so I don't think we should change

[issue21968] 'abort' object is not callable

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: Do you assign anything to self.abort in your code? Without further information we can't determine if this is a bug with impalib, I checked the code and I don't see anything that might change self.abort. -- nosy: +ezio.melotti type: crash - behavior

[issue21968] 'abort' object is not callable

2014-07-12 Thread Ezio Melotti
Ezio Melotti added the comment: In imaplib, abort is either raised or caught (in addition to be the defined once), so the error doesn't seem to be there. I suggest you to try and print self.abort (and possibly its repr()/id() or similar informations) and try to determine if/when it gets

[issue20135] FAQ need list mutation answers

2014-07-11 Thread Ezio Melotti
Ezio Melotti added the comment: Good point, I'll try to add that to the FAQ. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20135 ___ ___ Python

[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Ezio Melotti
Ezio Melotti added the comment: The original issue seems to be fixed, but the other two related issues mentioned by Amaury still need to be addressed. One has already a patch, the other doesn't. -- components: +Extension Modules -Build type: compile error - resource usage versions

[issue21945] Wrong grammar in documentation

2014-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue19608] devguide needs pictures

2014-07-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - works for me stage: - resolved status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19608

[issue21927] BOM appears in stdin when using Powershell

2014-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: I would argue that adding the BOM is a Powershell issue, and I'm not sure Python should do anything about it. There are probably cases where people expects the BOM to be received by python, so stripping it is probably not an option. As for detecting, it should

[issue15759] make suspicious doesn't display instructions in case of failure

2014-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: Serhiy, your patch LGTM. Can you apply a similar fix for the linkcheck and doctest target and commit it? FWIW the patch produces a slightly different output (in addition to showing the missing message), but I don't think it's a problem: Without patch

[issue21844] Fix HTMLParser in unicodeless build

2014-07-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- dependencies: -Fix unicodeless build of Python stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21844

[issue21844] Fix HTMLParser in unicodeless build

2014-07-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- dependencies: +Fix unicodeless build of Python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21844

[issue20135] FAQ need list mutation answers

2014-07-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti nosy: +rhettinger stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20135

[issue21929] Rounding properly

2014-07-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mark.dickinson, skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21929 ___ ___ Python

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed, but there are a few problems with the proposals: 1) it requires the addition of a new keyword (raises), and that will break any program that uses it as an identifier; 2) the use case is arguably limited; 3) assertRaises is consistent with the other assert

[issue2771] Test issue

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: test -- resolution: later - not a bug Added file: http://bugs.python.org/file35887/issue18958-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: See also https://mail.python.org/pipermail/python-ideas/2014-June/028206.html for a list of things to keep in mind while adding new features (especially keywords). -- ___ Python tracker rep...@bugs.python.org http

[issue20135] FAQ need list mutation answers

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: I moved the FAQ about mutable default arguments to the programming FAQs page. I was going to do a review about new FAQ, but it since I had several comments I just tried to rewrite it and make a new patch. Do you think this is clear enough? -- Added

[issue1581182] Definition of a character is wrong

2014-07-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - duplicate stage: needs patch - resolved status: languishing - closed superseder: - Issues in Unicode HOWTO ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue20906] Issues in Unicode HOWTO

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: See also #1581182. -- stage: - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20906

[issue12602] Missing cross-references in Doc/using

2014-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: Patch LGTM. -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602

[issue21922] PyLong: use GMP

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mark.dickinson, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21922

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) keywords: +easy nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21879

[issue21911] IndexError: tuple index out of range should include the requested index and tuple length

2014-07-05 Thread Ezio Melotti
Ezio Melotti added the comment: The feature request sounds reasonable to me, unless someone proves that there are major (performance) issues. However, since this has already been reported in #18162, I'm going to close it as a duplicate. @Raymond The IndexError exception is commonly used

[issue18162] Add index attribute to IndexError

2014-07-05 Thread Ezio Melotti
Ezio Melotti added the comment: Knowing the len of the sequence would also be useful. Brett, were you also planning to use these attributes in the error message (when they are available), or do you prefer to keep the two issues separate and reopen #21911? Is there a meta-issue

[issue9554] test_argparse.py: use new unittest features

2014-07-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/issue9554 ___ ___ Python-bugs-list

[issue14050] Tutorial, list.sort() and items comparability

2014-07-03 Thread Ezio Melotti
Ezio Melotti added the comment: Why do the patches attached to this issue not have a review link? because both (2.7 and 3.2) patches do not line up with the current 2.7 and 3.x tip, both hunks get rejected. The review link only appears if the patch applies cleanly on the default branch

[issue14069] In extensions (?...) the lookbehind assertion cannot choose between the beginning of string and a letter

2014-07-03 Thread Ezio Melotti
Ezio Melotti added the comment: I believe this is not a bug. As the error says a look-behind requires the pattern to have a fixed length. In re.search(r'(?=(a|b))(\w+)', 'abc').groups() the two possible patterns in the look behind are a and b, both with length 1. In re.search(r'(?=(^|$))(\w

[issue15722] PEP 3121, 384 Refactoring applied to decimal module

2014-07-03 Thread Ezio Melotti
Ezio Melotti added the comment: This sounds like a question for python-dev (or perhaps python-ideas). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15722

[issue21185] heapq fails to print in sorted order for certain inputs

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

[issue21051] incorrect utf-8 conversion with c api

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

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Ezio Melotti
Ezio Melotti added the comment: https://docs.python.org/3/library/math.html#hyperbolic-functions should be updated as well. It looks fine to me. What do you think should be changed? I just meant to say that the docs and the docstrings should be kept in sync (especially if they are short

[issue17904] bytes should be listed as built-in function for 2.7

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: I mean here: https://docs.python.org/2/library/functions.html#str -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17904

[issue21898] .hgignore: Missing ignores for Eclipse/pydev

2014-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, pitrou stage: - patch review versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21898

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

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Éric, I think you should open a separate issue for this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10224

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? https://docs.python.org/3/library/math.html#hyperbolic-functions should be updated as well. -- assignee: - docs@python components: +Documentation keywords: +easy nosy: +docs@python, ezio.melotti, mark.dickinson

[issue14097] Improve the introduction page of the tutorial

2014-07-01 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for backporting this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097 ___ ___ Python-bugs-list

[issue21202] Naming a file` io.py` causes cryptic error message

2014-06-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21202 ___ ___ Python-bugs

[issue18588] timeit examples should be consistent

2014-06-29 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to run those timings again and the values I got from the terminal are close to the ones I got from the interactive interpreter. I'm not sure why when I wrote those examples I got such different values. It would be fine with me to update them and avoid

[issue13963] dev guide has no mention of mechanics of patch review

2014-06-29 Thread Ezio Melotti
Ezio Melotti added the comment: If someone familiar with rietveld wants to propose a patch I will review and apply it, otherwise it might take a while before I can get to it. The patch should include these things: 1) how to make a patch that works with rietveld (this might already

[issue10765] Build regression from automation changes on windows

2014-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo, steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10765

[issue21575] list.sort() should show arguments in tutorial

2014-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - resolved type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21575

[issue21429] Input.output error with multiprocessing

2014-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21429 ___ ___ Python-bugs

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