[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-03-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/issue7783 ___ ___ Python-bugs-list

[issue8216] Nur jetzt beste Software zu besten Preisen!

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8216 ___ ___ Python-bugs-list mailing list

[issue8216] Nur jetzt beste Software zu besten Preisen!

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file16633/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8216

[issue8216] spam

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed title: Nur jetzt beste Software zu besten Preisen! - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8187] spam

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8187 ___ ___ Python-bugs-list mailing list

[issue8187] spam

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file16603/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8187

[issue8186] spam

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file16602/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8186

[issue8186] spam

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8186 ___ ___ Python-bugs-list mailing list

[issue8217] typo unterlying

2010-03-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r79358 (trunk), r79359 (release26-maint), r79360 (py3k) and r79361 (release31-maint), thanks for the report! -- assignee: georg.brandl - ezio.melotti nosy: +ezio.melotti priority: - normal resolution: - fixed stage

[issue8218] typo currect

2010-03-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: georg.brandl - ezio.melotti nosy: +ezio.melotti priority: - normal resolution: - accepted versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http

[issue8218] typo currect

2010-03-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Some more typos: The benefit from this approach is that WSGI applications can be deployed much easier as is is specially designed to host WSGI applications s/is is/it is/ Pylons is much like TurboGears with ab even s/ab/an/ Once you

[issue8225] Wrong link in xml.etree documentation

2010-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8225

[issue8203] IDLE about dialog credits raises UnicodeDecodeError

2010-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8203

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - benjamin.peterson nosy: +benjamin.peterson priority: - normal stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8241

[issue8234] Spelling and text in howto/webservers

2010-03-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Closed as duplicate of #8218. -- nosy: +ezio.melotti resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8218] typo currect

2010-03-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See also #8234 that has a patch with some rephrasing too. -- nosy: +ubershmekel stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218

[issue8248] Add test cases for bool

2010-03-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248

[issue8218] typo currect

2010-03-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is a patch that fixes the typos found by David and Yuv and rephrases a couple of parts. -- keywords: +easy, needs review, patch stage: needs patch - patch review Added file: http://bugs.python.org/file16686/issue8218.diff

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-03-31 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Unicode nosy: +ezio.melotti priority: - normal stage: - test needed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8271

[issue8269] Missing return values for PyUnicode C/API functions

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: if you are referring to http://docs.python.org/dev/py3k/c-api/unicode.html#PyUnicode_FromFormat the return type is a PyObject. See also http://docs.python.org/dev/py3k/c-api/structures.html#PyObject -- nosy: +ezio.melotti

[issue8273] move test_support into the unittest package

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I agree that some things can be moved in unittest, however several of the function in test_support are designed specifically for being used for the python test suite. For example temp_cwd is something that could be really useful

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: There's also an invalid link to an image just after the title The low-level view: -.. .. image:: http.png +.. image:: http.png The image is not there though, and in r66294 only the document has been added

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If the image is missing, then the whole line can be removed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The author is Marek Kubica, but he doesn't seem to be registered to this tracker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Having the 'high bit set' means that the first bit is set to 1. All the continuation bytes (i.e. the 2nd, 3rd or 4th byte in a sequence) have the first two bits set to 1 and 0 respectively, so if the first bit is not set to 1 then the byte

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

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

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Yes, right now I'm considering valid all the bytes that start with '10...'. C2 starts with '11...' so it's a failing byte. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: That's why I'm writing tests that cover all the cases, including overlong sequences. If the test will fail I'll change the patch :) -- ___ Python tracker rep...@bugs.python.org http

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is an incomplete patch. It seems to solve the problem but I still have to add more tests and check it better. I also wonder if the sequences with the first byte in range F5-FD (start of 4/5/6-byte sequences, restricted by RFC 3629

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Even if they are not valid they still eat all the 4/5/6 bytes, so they should be fixed too. I haven't see anything about these bytes in chapter 3 so far, but there are at least two possibilities: 1) consider all the bytes in range F5-FD

[issue8290] I HAVE A PROBLEM WITH PYTHON

2010-04-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: HI! This is the wrong place where to ask help, try http://www.python.org/about/help/#got-a-python-problem-or-question -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed

[issue8291] i have a doubt with using __init__ and .self and classes

2010-04-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Hi! This is the wrong place where to ask help, try http://www.python.org/about/help/#got-a-python-problem-or-question -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a new patch. Should be complete but I want to test it some more before committing. I decided to follow RFC 3629, putting 0 instead of 5/6 for bytes in range F5-FD (we can always put them back in the unlikely case that the Unicode

[issue8304] strftime and Unicode characters

2010-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This seems to be fixed now, on both 3.1 and 3.2. Can you try with 3.1.2 and see if it works? What operating system are you using? -- nosy: +ezio.melotti priority: - normal status: open - pending versions: -Python 2.6

[issue8208] test_issue7820 fails: name '?' is not defined

2010-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8208

[issue8307] test_pep263 failure on OS X

2010-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See also #8208. -- components: +Tests nosy: +ezio.melotti, haypo, l0nwlf, ned.deily priority: - normal stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8297] AttributeError message text should include module name

2010-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - low stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8297

[issue8308] raw_bytes.decode('cp932') -- spurious mappings

2010-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8308

[issue8304] strftime and Unicode characters

2010-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Actually the bug seems related to Windows. -- components: +Windows nosy: +brian.curtin status: pending - open versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http

[issue8309] Sin(x) is Wrong

2010-04-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mark.dickinson stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8309

[issue4868] Faster utf-8 decoding

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

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This new patch (v3) should be ok. I added a few more tests and found another corner case: '\xe1a'.decode('utf-8', 'replace') was returning u'\ufffd' because \xe1 is the start byte of a 3-byte sequence and there were only two bytes

[issue8218] Fix typos and phrasing in the Web servers howto

2010-04-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r79781 (trunk), r79782 (release26-maint), r79783 (py3k) and r79784 (release31-maint). Thanks to all! -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed

[issue6090] zipfile DeprecationWarning Python 2.5/2.6

2010-04-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - needs patch type: - behavior versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6090

[issue8331] a documentation grammar fix in logging module

2010-04-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: georg.brandl - ezio.melotti nosy: +ezio.melotti priority: - normal resolution: - accepted stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8331

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The patch was causing a failure in test_codeccallbacks, issue8271v4 fixes the test. (The failing test in test_codeccallbacks was testing that registering error handlers works, using a function that replaced \xc0\x80 with \x00. Since now

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8271 ___ ___ Python-bugs-list

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2010-04-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3672 ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue8337] test_gdb fails on Sparc Ubuntu

2010-04-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See also #8330, same failure, different buildbot. Unless they need to be tracked separately I'll close this as duplicate -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http

[issue7132] Regexp: capturing groups in repetitions

2010-04-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7132 ___ ___ Python

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2010-04-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/issue5207 ___ ___ Python-bugs-list

[issue7378] unexpected truncation of traceback

2010-04-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7378

[issue8352] imp.find_module of a .py ending dir causes glibc double free crash

2010-04-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +brett.cannon, ncoghlan priority: - high stage: - test needed type: - crash versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8352

[issue3985] removed string module from distutils [patch]

2010-04-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Patch looks good. There's only a missing space before the for in: +self.metadata.platforms = [kw.strip() + for kw in platformlist.split(',')] -- nosy: +ezio.melotti

[issue8351] Suppress large diffs in unitttest.TestCase.assertSequenceEqual()

2010-04-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8351

[issue8351] Suppress large diffs in unitttest.TestCase.assertSequenceEqual()

2010-04-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8351

[issue8356] SyntaxError: integer assignment with leading zeros (only 8 and 9)

2010-04-09 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The leading 0 is used to indicate octal numbers, and 8 and 9 are not valid octal digits. -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-04-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8362

[issue8361] Remove assert in functools.total_ordering

2010-04-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8361

[issue7621] Test issue

2010-04-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Some more testing: http://psf.upfronthosting.co.za/roundup/meta/issue254 [http://psf.upfronthosting.co.za/roundup/meta/issue254] (http://psf.upfronthosting.co.za/roundup/meta/issue254) {http://psf.upfronthosting.co.za/roundup/meta/issue254

[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8026 ___ ___ Python-bugs-list

[issue3143] Make the left sidebar in the doc collapsible

2010-04-12 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Even if I tested it only with Python documentation, the script should work for other docs generated by Sphinx (at least with the default theme). Last time I tried the script it wasn't working on Chrome, so there's still some work to do

[issue8398] Modules with a dot in the filename don't load

2010-04-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If you do import GetMy.com_MOD Python will search for the module named com_MOD in the package GetMy. The name of the module should be a valid Python identifier -- possibly all lowercase (see PEP8). GetMy.com_MOD is not a valid identifier

[issue8344] test_tag_configure fails on FreeBSD

2010-04-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The buildbot seems happy starting from build 486 [1], can this be closed? [1]: http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%207.2%20trunk/builds/486 -- nosy: +ezio.melotti priority: - normal resolution: - fixed

[issue8404] Set operations don't work for dictionary views

2010-04-14 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/issue8404

[issue8354] siginterrupt with flag=False is reset when signal received

2010-04-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +needs review priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8354

[issue8414] Add test cases for assert

2010-04-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Wouldn't it be better to test e.args instead or in addition to str(e)? Skipping the whole test if __debug__ is False is also a good idea. -- nosy: +ezio.melotti priority: - normal stage: - patch review

[issue8415] namedtuple vs tuple

2010-04-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You should propose this on the python-ideas mailing list first. Anyway it's already too late to do this on Python 2.x, and since it's not backward compatible for the 1-element case, it won't probably be accepted for 3.x either, so I

[issue8401] Strange behavior of bytearray slice assignment

2010-04-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This happens because bytearray_ass_subscript() (Objects/bytearrayobject.c:588) calls PyByteArray_FromObject() (:641) that in turn calls bytearray_init() (:746), so the results are similar to the ones returned by calling bytearray

[issue8401] Strange behavior of bytearray slice assignment

2010-04-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is a proof of concept that fixes the problem. The doc of bytearray() says about its first arg: * If it is a string, you must also give the encoding [...]. * If it is an integer, the array will have that size and will be initialized

[issue8408] need console/pager module

2010-04-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8408

[issue8401] Strange behavior of bytearray slice assignment

2010-04-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Not really, chars are not ints and anyway the empty string fall in the first case. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8401

[issue8417] bytes and bytearray constructors raise TypeError for very large ints

2010-04-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - unit test needed versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8417

[issue8413] String interpolation doesn't work with sys.version_info

2010-04-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8413

[issue8273] move generally useful test_support functions into the unittest package

2010-04-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Not the module as it is, but just some of the APIs that it provides, possibly after a cleanup to remove things specific to our test suite and to make them more general and forward-compatible

[issue6095] os.curdir as the default argument for os.listdir

2010-04-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6095

[issue8438] Codecs: surrogateescape error handler in Python 2.7

2010-04-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8438 ___ ___ Python-bugs-list

[issue8425] a -= b should be fast if a is a small set and b is a large set

2010-04-18 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Raymond, have you forgotten to attach the patch or have you just set the stage to 'patch review' by mistake? -- nosy: +ezio.melotti priority: - normal stage: patch review - unit test needed

[issue5650] Obsolete RFCs should be removed from doc of urllib.urlparse

2010-04-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The 'See also' in the documentation should also be updated: http://docs.python.org/dev/library/urlparse.html#urlparse.urldefrag -- nosy: +ezio.melotti priority: - normal status: closed - open versions: +Python 3.2 -Python 3.0

[issue8438] Codecs: surrogateescape error handler in Python 2.7

2010-04-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I consider this an important missing backport for 2.7, since without this handler, the UTF-8 codecs in 2.7 and 3.x are incompatible and there's no other way to work around this other than to make use of the errorhandler conditionally

[issue8454] unittest Module Problem with different Kinds of Invocation

2010-04-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, michael.foord versions: +Python 2.6, Python 2.7 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8454

[issue8273] move generally useful test_support functions into the unittest package

2010-04-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Also note that the test_support module is for some reason documented here: http://docs.python.org/library/test.html#module-test.test_support This means that there are probably developers out there that are already using these functions

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: That line has been added first on py3k where the function is called 'itertools.filterfalse' and then ported to 2.x. Most likely the 'i' has been forgotten. A new filterfalse function can't be added to 2.7 because it's already in beta. I

[issue8474] Duplicate tests in email test suite

2010-04-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r80350 (trunk), r80352 (release26-maint), r80353 (py3k) and r80354 (release31-maint), thanks for the patch! -- nosy: +ezio.melotti priority: - normal resolution: - fixed stage: - committed/rejected status: open - closed

[issue8500] Erroneous Invalid Syntax Error

2010-04-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Except the report :) -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed type: compile error - behavior ___ Python tracker rep...@bugs.python.org http

[issue8325] improve regrtest command line help

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8325 ___ ___ Python-bugs-list

[issue8511] Small mistake in tutorial web page

2010-04-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Duplicate of #4570. -- nosy: +ezio.melotti, rhettinger resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue4570] Bad example in set tutorial

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mdcowles priority: - normal stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570

[issue1379416] email.Header encode() unicode P2.6

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___ ___ Python-bugs

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +jcea priority: - normal stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8516

[issue8517] Apple Style Guide link is broken in the Documenting Python chapter

2010-04-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/issue8517 ___ ___ Python-bugs-list

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2008-07-06 Thread Ezio Melotti
New submission from Ezio Melotti [EMAIL PROTECTED]: Problem: when you have Unicode characters with a code point greater than U+ written directly in the source file (that is, not in the form u'\U' but as normal chars in a u'' string) the interpreter uses surrogate pairs

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2008-07-11 Thread Ezio Melotti
Ezio Melotti [EMAIL PROTECTED] added the comment: On my Linux box sys.maxunicode == 1114111 and len(u'\U00010123') == 1, so it should be a UTF-32 build. On windows instead sys.maxunicode == 65535 and len(u'\U00010123') == 2, so it should be a UTF-16 build. The problem seems then related to UTF

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2008-09-02 Thread Ezio Melotti
Changes by Ezio Melotti [EMAIL PROTECTED]: -- nosy: +ezio.melotti ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3672 ___ ___ Python-bugs-list mailing

[issue6289] compile() raises SyntaxError with confusing message for some decoding problems

2009-06-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6289 ___ ___ Python-bugs-list

[issue6312] httplib fails with HEAD requests to pages with transfer-encoding: chunked

2009-06-19 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: Try this code (youtube.com uses transfer-encoding: chunked): import httplib url = 'www.youtube.com' conn = httplib.HTTPConnection(url) conn.request('HEAD', '/') # send an HEAD request res = conn.getresponse() print res.getheader('transfer

[issue6331] Add unicode script info to the unicode database

2009-06-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6331

[issue6334] 3.0/3.1: Bad bug in range() computation (or possible Integer problem)

2009-06-24 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Simpler test case: Py2.6: n = 46349**2 n 2148229801L range(n-10, n, 3) [2148229791L, 2148229794L, 2148229797L, 2148229800L] Py3.0: n = 46349**2 n 2148229801 list(range(n-10, n, 3)) [2148229791, 2148229794, 2148229797] -- nosy

[issue6346] Rstrip Incorrectly Strips Some Strings

2009-06-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: And you should probably use http://docs.python.org/library/os.path.html#os.path.splitext instead of .rstrip(). -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http

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