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

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

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

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

2011-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79d2682c4fc5 by Ezio Melotti in branch '3.2': #11435: link to the correct branch. http://hg.python.org/cpython/rev/79d2682c4fc5 New changeset 3028b5ab92c0 by Ezio Melotti in branch 'default': #11435: dummy merge with 3.2. http://hg.python.org/cpyth

[issue11629] Reference implementation for PEP 397

2011-07-20 Thread Mark Hammond
Mark Hammond added the comment: The most recent version of PEP397 has removed all mentioned of this reference implementation - the C implementation at https://bitbucket.org/vinay.sajip/pylauncher/ is now the reference. -- resolution: -> out of date status: open -> closed ___

[issue10271] warnings.showwarning should allow any callable object

2011-07-20 Thread lekma
lekma added the comment: Thank you very much for your help -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11363] Curses - add missing functions to doc

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

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

2011-07-20 Thread Aneesh
Aneesh 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 everything. -- no

[issue12401] unset PYTHON* environment variables when running tests

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

[issue12600] Support parameterized TestCases in unittest

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

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Austin Bingham
Austin Bingham 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 wrote: > Unless someone sees a clever way to implement both with the same mechanism, > parameterizing test case

[issue12600] Support parameterized TestCases in unittest

2011-07-20 Thread Austin Bingham
New submission from Austin Bingham : 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 parameterization of TestCases. The fu

[issue12298] Sphinx glitch in library/functions

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: patch review -> commit review versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue11113] html.entities mapping dicts need updating?

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

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

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +needs review stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2011-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

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

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

[issue12266] str.capitalize contradicts oneself

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

[issue12204] str.upper converts to title

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

[issue12204] str.upper converts to title

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

[issue12266] str.capitalize contradicts oneself

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +belopolsky, eric.araujo, ezio.melotti, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray 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 meaningful names, don't

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

2011-07-20 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Nick Coghlan
Nick Coghlan 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 builder would be the

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

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy 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, about replacing a n

[issue11197] information leakage with SimpleHTTPServer

2011-07-20 Thread Ori Livneh
Ori Livneh added the comment: Yes, I seem to have gotten confused about this. Sorry for the confusion, and thanks for clearing it up. -- ___ Python tracker ___

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

2011-07-20 Thread Terry J. Reedy
Terry J. Reedy 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 window shows a co

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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 the TestResult - so any fa

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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 done in the TestLoader).

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

2011-07-20 Thread Nick Coghlan
New submission from Nick Coghlan : 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 is False. Also, mo

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

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

2011-07-20 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

2011-07-20 Thread Eric Snow
New submission from Eric Snow : 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 _SysImportState_Init function in Python/sys

[issue12551] Provide data for TLS channel binding

2011-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch is now committed. Thanks for your contribution! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue12551] Provide data for TLS channel binding

2011-07-20 Thread Roundup Robot
Roundup Robot 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 ___ Python

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Nick Coghlan
Nick Coghlan 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 to get too clever

[issue12583] More detailed ImportError messages

2011-07-20 Thread Brett Cannon
Brett Cannon 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 simplejson as json As fo

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

2011-07-20 Thread Landry Breuil
Landry Breuil 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 2004 Free Software F

[issue12576] urlib.request fails to open some sites

2011-07-20 Thread Barry A. Warsaw
Barry A. Warsaw 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 Roumen Petrov
Roumen Petrov 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 ___ Python tracker <

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

2011-07-20 Thread Ned Deily
Ned Deily 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 __

[issue12597] List created by multiplication behaves different

2011-07-20 Thread R. David Murray
R. David Murray 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 ___ Python tracker

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

2011-07-20 Thread Landry Breuil
Landry Breuil 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 interp 0x90ae7cc0, thre

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

2011-07-20 Thread Landry Breuil
Landry Breuil 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 -- nosy: +landry ___

[issue8668] Packaging: add a 'develop' command

2011-07-20 Thread Carl Meyer
Carl Meyer added the comment: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Éric Araujo 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 that's the most promising strat

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Сергій Загорія
Сергій Загорія added the comment: So the workaround is for i in range(len(list_generated)): list_generated[i]=list(tuple(list_generated[i])) -- ___ Python tracker ___ ___

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

2011-07-20 Thread R. David Murray
R. David Murray 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 fix well enough to fee

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Sandro Tosi
Sandro Tosi 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: print(id(i)) ..

[issue12597] List created by multiplication behaves different

2011-07-20 Thread Сергій Загорія
New submission from Сергій Загорія : 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, 1, 0], [0, 1, 0], [0

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
Philipp Mölders 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 often it could cause a lot of r

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread R. David Murray
R. David Murray 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 ___ __

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
Changes by Philipp Mölders : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12596] cPickle - stored data differ for same dictionary

2011-07-20 Thread Philipp Mölders
New submission from Philipp Mölders : 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() again, the stored data differ from

[issue12279] Add build_distinfo command to packaging

2011-07-20 Thread Éric Araujo
Éric Araujo 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 want to run build

[issue665194] datetime-RFC2822 roundtripping

2011-07-20 Thread R. David Murray
R. David Murray 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 headers. If localtime g

[issue12581] Increased test coverage of test_urlparse

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue665194] datetime-RFC2822 roundtripping

2011-07-20 Thread Roundup Robot
Roundup Robot 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 ___ Pyt

[issue12595] python.h redundant redeclarations

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

[issue11176] give more meaningful argument names in argparse documentation

2011-07-20 Thread Éric Araujo
Éric Araujo 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 in this bug rep

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

2011-07-20 Thread Christoph Schindler
New submission from Christoph Schindler : 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 messages: 140744 nos

[issue12555] PEP 3151 implementation

2011-07-20 Thread Éric Araujo
Éric Araujo 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 __

[issue12555] PEP 3151 implementation

2011-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7620] Vim syntax highlight

2011-07-20 Thread Éric Araujo
Éric Araujo 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 little benefit, yo

[issue12555] PEP 3151 implementation

2011-07-20 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file22705/40ae82fafaed.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2011-07-20 Thread Éric Araujo
Éric Araujo added the comment: If possible, the code example would use only Python, not httplib2 or Active State Python :) -- nosy: +eric.araujo ___ Python tracker ___ _

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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 generating tests from

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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 the tests and attaches t

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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* you generate the names i

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray 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 test selection support r

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray 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 I want support fo

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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. -- ___ Python tracker

[issue12524] change httplib docs POST example

2011-07-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Bharadwaj. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Michael Foord
Michael Foord 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 of tests can be known).

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
R. David Murray 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 clever way to implement

[issue12524] change httplib docs POST example

2011-07-20 Thread Roundup Robot
Roundup Robot 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 Kumaran in branch 'default': merge

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Brian Curtin
Brian Curtin 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 have a patch that

[issue7897] Support parametrized tests in unittest

2011-07-20 Thread Austin Bingham
Austin Bingham 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 want the behavior of set

[issue12560] libpython.so not built on OpenBSD

2011-07-20 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +rpointel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-07-20 Thread Stefan Krah
Stefan Krah 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 ___ Python tracker

[issue12583] More detailed ImportError messages

2011-07-20 Thread R. David Murray
R. David Murray 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 flag, because of the var

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

2011-07-20 Thread R. David Murray
R. David Murray 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 ConfigParser docs should be

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

2011-07-20 Thread rpointel
New submission from rpointel : 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 Jul 9 08:58:5

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

2011-07-20 Thread rpointel
New submission from rpointel : 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 08:58:56 2011 +++ c

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

2011-07-20 Thread STINNER Victor
STINNER Victor 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 not an error. time_mktime() us

[issue12524] change httplib docs POST example

2011-07-20 Thread Bharadwaj
Changes by Bharadwaj : Added file: http://bugs.python.org/file22704/http_example2.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12583] More detailed ImportError messages

2011-07-20 Thread Ram Rachum
Ram Rachum 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 import a module `foo` w