[issue12545] Incorrect handling of return codes in the posix_lseek function in posixmodule.c

2011-07-20 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Hi.  I can submit a patch for the first part.  Should I submit on this issue tracker item? Sure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12545

[issue12583] More detailed ImportError messages

2011-07-20 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com added the comment: David, I don't think you've read my message carefully enough. I'm well aware that there are other ways in Python to import than the `import` statement. I'm proposing that it doesn't matter. I asked, isn't a circular import when you try to

[issue12524] change httplib docs POST example

2011-07-20 Thread Bharadwaj
Changes by Bharadwaj barbi.br...@gmail.com: Added file: http://bugs.python.org/file22704/http_example2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12524 ___

[issue12545] Incorrect handling of return codes in the posix_lseek function in posixmodule.c

2011-07-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: So I'd suggest forgetting about this part. If someone really wants this feature (relative seek of more than 2^63), he/she should open a new issue. This issue remembers me a mktime() issue: mktime() may return -1 even if it is

[issue12592] modify configure.in to detect OpenBSD 5.x

2011-07-20 Thread rpointel
New submission from rpointel pyt...@xiri.fr: Hi, I tested to build Python 2.7 and Python 3.2.1 (it would be the same with others versions of Python) and it failed to build on OpenBSD 5.0 (beta version). This is the diff to correctly work on OpenBSD 5.x: --- configure.in.orig Sat Jul 9

[issue12593] define OpenBSD in configure.in if Py_ENABLE_SHARED == 1

2011-07-20 Thread rpointel
New submission from rpointel pyt...@xiri.fr: Hi, Could you define OpenBSD in enable_shared section of the configure.in ? I just tested with Python 3.2.1, but it could be usefull to add it in the other versions of Python 3.x. This is the diff which seems to work : --- configure.in.orig Sat

[issue12591] text files returned by subprocess.Popen with universal_newlines=True are not iterable

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This isn't a problem with ConfigParser, it's a problem with the text file object returned by Subprocess. You can reproduce the bug by trying to iterate over the TextIOWrapper returned by subprocess. (It is true, however, that the

[issue12583] More detailed ImportError messages

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It might. Although I did miss your message about the flag, my point really was that you'll find that import is very complicated when you try to write the patch to do it. There may not be one central place you can set and query that

[issue12593] define OpenBSD in configure.in if Py_ENABLE_SHARED == 1

2011-07-20 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: This is a duplicate of #12560. -- nosy: +skrah resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - libpython.so not built on OpenBSD type: - behavior

[issue12560] libpython.so not built on OpenBSD

2011-07-20 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +rpointel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12560 ___ ___ Python-bugs-list

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Austin Bingham
Austin Bingham austin.bing...@gmail.com added the comment: Has a decision been made to implement some form of parametric tests? Is working being done? Along with parameterizing individual test methods, I'd also like to throw out a request for parametric TestCases. In some cases I find that I

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: By this issue existing, that's the decision that we should probably do this, and I think the discussion shows we agree it should happen. How it's done is another way, and we have roughly a year to get it figured out before 3.3 gets closer. I

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___ ___

[issue12524] change httplib docs POST example

2011-07-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ab4d403cb0c0 by Senthil Kumaran in branch '3.2': Fix closes issue12524 - update http.client POST example with a working example. http://hg.python.org/cpython/rev/ab4d403cb0c0 New changeset bc71fff2b6c7 by Senthil

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Brian, if you don't have time to work on it in the next little while, maybe you could post your partial patch in case someone else wants to work on it? Might be a good project for someone on the mentoring list. Unless someone sees a

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: *If* we add this to unittest then we need to decide between test load time parameterised tests and test run time parameterisation. Load time is more backwards compatible / easier (all tests can be generated at load time and the number

[issue12524] change httplib docs POST example

2011-07-20 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Thanks for the patch, Bharadwaj. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12524 ___

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: And yes, parameterising test cases is a different issue. bzr does this IIRC. This is easier in some ways, and can be done through load_tests, or any other test load time mechanism. -- ___

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Michael, would your single test clearly indicate all the individual failures by name? If not, then I would not find it useful. I can already easily parameterize inside a single test using a loop, it's the detailed reporting piece that

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The reporting piece, and ideally being able to use the arguments to unittest to run a single one of the parameterized tests. (I can get the reporting piece now using the locals() hack, but that doesn't support test selection). Does

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Test selection would require load time parameterisation - although the current test selection mechanism is through importing which would probably *not* work without a specific fix. Same for run time parameterisation. Well how *exactly*

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Dammit, I've reversed my thinking in some of those messages. Load time parameterisation *does* give you separate test reporting. It is run time parameterisation that doesn't. Depending on how you do it (i.e. if the decorator generates

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: So if we do import time *or* test load time parameterisation then we can do separate failure reporting. We may still want to improve test selection for parameterised tests. There are use cases for run time parameterisation (for example

[issue8728] 2.7 regression in httplib.py: AttributeError: 'NoneType' object has no attribute 'makefile'

2011-07-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: If possible, the code example would use only Python, not httplib2 or Active State Python :) -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8728

[issue12555] PEP 3151 implementation

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22705/40ae82fafaed.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12555 ___

[issue7620] Vim syntax highlight

2011-07-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for your willingness to contribute to Python and your work on a patch. We’re currently debating whether we should update or remove the Misc/Vim files, on #9893, so if we reach an agreement that maintaining these files is too costly for

[issue12555] PEP 3151 implementation

2011-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Library (Lib) stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12555 ___

[issue12555] PEP 3151 implementation

2011-07-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The patch looks good. I can’t comment on details of the C code, but I’ve seen the changed Python code and the tests and I like this. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue12594] Docs for py3k still refer to MacPython 2.5 folder

2011-07-20 Thread Christoph Schindler
New submission from Christoph Schindler h...@30hopsmax.at: In http://docs.python.org/py3k/using/mac.html#getting-and-installing-macpython and http://docs.python.org/py3k/using/mac.html#distributing-python-applications-on-the-mac . -- assignee: docs@python components: Documentation

[issue11176] give more meaningful argument names in argparse documentation

2011-07-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I worked on this some time ago; the problem was the size of the documentation, i.e. it was difficult to stay consistent. I think it’s okay to improve the docs one patch at a time, starting with the simple example referenced in the first message

[issue12595] python.h redundant redeclarations

2011-07-20 Thread Tobias Pfaff
New submission from Tobias Pfaff tobias.pf...@inf.ethz.ch: Compiling 'Python.h' with g++ and -Wredundant-decls produces warnings Testcase: test.cpp: #include Python.h int main() { return 0; } g++ test.cpp -I/usr/include/python3.2mu/ -Wredundant-decls In file included from

[issue665194] datetime-RFC2822 roundtripping

2011-07-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5f7b03dcd523 by R David Murray in branch 'default': #665194: support roundtripping RFC2822 date stamps in the email.utils module http://hg.python.org/cpython/rev/5f7b03dcd523 -- nosy: +python-dev

[issue12581] Increased test coverage of test_urlparse

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12581 ___

[issue665194] datetime-RFC2822 roundtripping

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed a bug (parsedate_to_datetime wasn't producing naive datetimes for -) and checked this in. Note that I have added Alexander's 'localtime' function to email.utils in my feature branch/pypi release, to facilitate testing date

[issue12279] Add build_distinfo command to packaging

2011-07-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I temporarily retract my request for addition of build_distinfo. Other build_spam/install_spam commands have clear responsibilities: build creates files, install moves them. This is the classic make/make install division of work, where you may

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
New submission from Philipp Mölders philipp.moeld...@googlemail.com: I think there is a problem within cPickle. I wanted to store a dictionary with only one entry with cPickle.dump() this works fine and can be loaded with cPickle.load(). But if you store the loaded data with cPickle.dump()

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___ ___ Python-bugs-list

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
Changes by Philipp Mölders philipp.moeld...@googlemail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12596 ___ ___

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If the load produces the same result, why does it matter that what is on disk differs? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12596

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
Philipp Mölders philipp.moeld...@googlemail.com added the comment: The file on disk matters for a replication service, so if a file is touched but not changed it will not be replicated, but in this special case the data change even when the structures have not changed. So if this happens very

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Сергій Загорія
New submission from Сергій Загорія xintx...@gmail.com: Next code: def ill(row): row[1]=1 list_manual=[[0,0,0],[0,0,0],[0,0,0]] list_generated=[[0,0,0]]*3 ill(list_manual[1]) print(list_manual) ill(list_generated[1]) print(list_generated) Will output: [[0, 0, 0], [0, 1, 0], [0, 0, 0]] [[0,

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, no it's not a bug :) What you actually get with [[0]]*3 is a list of 3 references to the same list, [0]: a = [[0], [0], [0]] b = [[0]]*3 for i in a: print(id(i)) ... 139807725184032 139807725300280 139807725300520 for i in b:

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, if the test doesn't fail before applying the remainder of the patch, then it doesn't test the bits that haven't been applied yet. I don't know enough about aifc to construct a test that fails or to understand the remainder of the

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Сергій Загорія
Сергій Загорія xintx...@gmail.com added the comment: So the workaround is for i in range(len(list_generated)): list_generated[i]=list(tuple(list_generated[i])) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12597

[issue8668] Packaging: add a 'develop' command

2011-07-20 Thread Carl Meyer
Carl Meyer c...@dirtcircle.com added the comment: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Éric Araujo mer...@netwok.org added the comment: [Carl] there's an implicit assumption that a .pth file is the most likely strategy. If you have other ideas, please share them. No, I think

[issue12589] test_long.test_nan_inf() failed on OpenBSD (powerpc)

2011-07-20 Thread Landry Breuil
Landry Breuil lan...@openbsd.org added the comment: $python3.2 Python 3.2.1 (default, Jul 18 2011, 10:56:33) [GCC 4.2.1 20070719 ] on openbsd4 int(float('inf')) 0 $sysctl hw hw.machine=macppc --

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-20 Thread Landry Breuil
Landry Breuil lan...@openbsd.org added the comment: (gdb) r Starting program: /usr/obj/ports/Python-3.2.1/Python-3.2.1/Modules/_testembed --- Pass 0 --- interp 0x90ae7300, thread state 0x87b48a00: id(modules) = 2363177552 interp 0x90ae7a40, thread state 0x87b48a80: id(modules) = 2243881408

[issue12597] List created by multiplication behaves different

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm not sure what your example is trying to achieve, but the list(tuple(...)) looks redundant. Your initial example could be written: b = [[0] for i in range(3)] -- nosy: +r.david.murray

[issue12594] Docs for py3k still refer to MacPython 2.5 folder

2011-07-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the report. The whole Using Python on a Macintosh section is very out-of-date and needs a major update. -- assignee: docs@python - ned.deily nosy: +ned.deily stage: - needs patch versions: +Python 2.7, Python 3.3 -Python 3.1

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-20 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Hi Landry , what is result if you move _testembed to upper directory and run it with environment so that shared python library from upper to be loaded (LD_LIBRARY_PATH= )? -- nosy: +rpetrov

[issue12576] urlib.request fails to open some sites

2011-07-20 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I think this is also a regression in Python 2.7, as reported here: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/813295 -- nosy: +barry versions: +Python 2.7 ___ Python tracker

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-20 Thread Landry Breuil
Landry Breuil lan...@openbsd.org added the comment: You get the same issue : [23:08] mikey:/usr/obj/ports/Python-3.2.1/Python-3.2.1/ $cp Modules/_testembed . [23:08] mikey:/usr/obj/ports/Python-3.2.1/Python-3.2.1/ $LD_LIBRARY_PATH=. gdb _testembed GNU gdb 6.3 Copyright

[issue12583] More detailed ImportError messages

2011-07-20 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: For the ImportWarning docs, there could stand to be more; patches welcome. =) As for ImportError being postmortem on an error, that is not always true as plenty of people use the trick, e.g.: try: import json except ImportError: import

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Load time parameterisation seems more of a worthwhile addition to me, too. As David noted, runtime parameterisation is pretty easy to do by looping and consolidating failures into the one error message via self.fail(). For test naming, trying

[issue12551] Provide data for TLS channel binding

2011-07-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cb44fef5ea1d by Antoine Pitrou in branch 'default': Issue #12551: Provide a get_channel_binding() method on SSL sockets so as http://hg.python.org/cpython/rev/cb44fef5ea1d -- nosy: +python-dev

[issue12551] Provide data for TLS channel binding

2011-07-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch is now committed. Thanks for your contribution! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2011-07-20 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: Several import-related sys variables are set in _PyImportHooks_Init (in Python/import.c), which is called in Python/pythonrun.c. I have included a patch that moves that initialization from _PyImportHooks_Init to a new

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2011-07-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12598 ___ ___

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +ericsnow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___ ___ Python-bugs-list

[issue12599] Use 'is not None' where appropriate in importlib

2011-07-20 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Problems noted by PJE on import-sig: For example, PathFinder's find_module treats an empty path the same as sys.path, and will also fail if for some reason the bool() of a PEP 302 finder or loader object

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: That all sounds good to me Nick. Some notes / questions. How should parameterised tests be marked? I'm happy with a unittest.parameterized decorator (it would do no work other than mark the test method, with the parameterisation being

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Oh, and if we're not going to get clever with naming, how is the TestResult going to include the parameter repr in the failure report? That information will have to be stored on the TestCase. I would prefer this feature not to touch

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This nasty bug really can cause severe problems. If a zombie process ran a tkinter (tk) window, then attempting to logout/restart/shutdown eventually brings up a window I have never seen before: End Process -- EmbeddedMenuWindow. The message

[issue11197] information leakage with SimpleHTTPServer

2011-07-20 Thread Ori Livneh
Ori Livneh ori.liv...@gmail.com added the comment: Yes, I seem to have gotten confused about this. Sorry for the confusion, and thanks for clearing it up. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11197

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Restart is not required to create a zombie. Just start IDLE and quit, and the second, user process does not disappear. Reverting completely does not seem possible. I first just ran the 3.2 installer and it did not complain, that I noticed,

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Here's a sketch for a possible decorator factory: def parameters(params, *, builder=_default_param_builder): def make_parameterized_test(f): return ParameterizedTest(f, params, builder) return make_parameterized_test (default

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12540 ___ ___ Python-bugs-list

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Personally I would be happy if I could pass in a dictionary that maps names to argument tuples, or an iterator yielding (name, (argtuple)) pairs, and just have the failure report the name. That is, make me responsible for generating

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___ ___ Python-bugs-list

[issue12266] str.capitalize contradicts oneself

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +belopolsky, eric.araujo, ezio.melotti, lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12266 ___

[issue12204] str.upper converts to title

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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/file22708/issue12204.diff

[issue12204] str.upper converts to title

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 rep...@bugs.python.org

[issue12266] str.capitalize contradicts oneself

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

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

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: To distinguish the 'int' in functions.rst from the one in stdtypes.rst (if it works...). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11975

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

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: +1 -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12301 ___ ___

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

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3665 ___

[issue11113] html.entities mapping dicts need updating?

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 apos; I'd rather have it

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

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: patch review - commit review versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8887 ___

[issue12298] Sphinx glitch in library/functions

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12298 ___

[issue12600] Support parameterized TestCases in unittest

2011-07-20 Thread Austin Bingham
New submission from Austin Bingham austin.bing...@gmail.com: In the discussion about adding support for parameterized tests (issue 7897), it seemed clear that parameterizing individual tests was a different issue from parameterizing TestCases. This, then, is a request to support

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Austin Bingham
Austin Bingham austin.bing...@gmail.com added the comment: OK, I created issue 12600 for dealing with parameterized TestCases as opposed to individual tests. On Wed, Jul 20, 2011 at 4:03 PM, R. David Murray rep...@bugs.python.org wrote: Unless someone sees a clever way to implement both with

[issue12600] Support parameterized TestCases in unittest

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- 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

[issue12401] unset PYTHON* environment variables when running tests

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

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-20 Thread Aneesh
Aneesh aneeshb...@gmail.com added the comment: We are also noticed same issue and reverted to Python 3.1. Whenever we run a script, two new pythonw.exe process is started and it is really irritating to see all in Windows Task Manager. Last day I killed around 14 Pythonw.exe to clean up

[issue11363] Curses - add missing functions to doc

2011-07-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 rep...@bugs.python.org