[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
Lucas Cimon added the comment: The GitHub PR is ready for reviewing. -- ___ Python tracker <https://bugs.python.org/issue46101> ___ ___ Python-bugs-list mailin

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2021-12-16 Thread Lucas Cimon
Lucas Cimon added the comment: This was resolved by https://github.com/python/cpython/pull/28050 -- message_count: 4.0 -> 5.0 pull_requests: +28366 status: open -> closed pull_request: https://github.com/python/cpython/pull/28050 ___ Python t

[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
Change by Lucas Cimon : -- keywords: +patch pull_requests: +28364 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30146 ___ Python tracker <https://bugs.python.org/issu

[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
New submission from Lucas Cimon : Hi! Here is some minimal code reproducing the issue: import argparse common_opts_parser = argparse.ArgumentParser(add_help=False) common_opts_parser.add_argument("--endpoint", choices=("prod", "dev"

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2021-05-21 Thread Lucas Cimon
Lucas Cimon added the comment: Sorry, the fix was by Mathias Ettinger: elif isinstance(argument, _SubParsersAction): return '{%s}' % ','.join(map(str, argument.choices)) I submitted a PR with this patch and a corresponding unit test: https://github.com/pytho

[issue29298] argparse fails with required subparsers, un-named dest, and empty argv

2021-05-21 Thread Lucas Cimon
Change by Lucas Cimon : -- nosy: +Lucas Cimon nosy_count: 7.0 -> 8.0 pull_requests: +24884 pull_request: https://github.com/python/cpython/pull/26278 ___ Python tracker <https://bugs.python.org/issu

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2021-05-21 Thread Lucas Cimon
Lucas Cimon added the comment: Reporting a duplicate / superseder with the following bug: parser = argparse.ArgumentParser() subparsers = parser.add_subparsers(required=True) subparsers.add_parser('foo') parser.parse_args() Raising: TypeError: sequence item 0: expected st

[issue40787] Mysql + unittest crash

2020-05-27 Thread Lucas
Lucas added the comment: The problem was that I didn't close the 1st connection to the database and then made another request, which had to wait for the 1st to close, to be exact. -- ___ Python tracker <https://bugs.python.org/is

[issue40787] Mysql + unittest crash

2020-05-27 Thread Lucas
Lucas added the comment: While trying to simplify my program for you, I found that the problem was caused by a very specific interaction of one of the functions that was being tested with the restore command, which did not happen when I tried to rule this problem out in other ways. Anyways

[issue40787] Mysql + unittest crash

2020-05-26 Thread Lucas
New submission from Lucas : environment: win10 cmd, python 3.8 32-bit, mysql, unittest description: When restoring a database through mysql in a unittest function, the command prompt freezes before giving the result of the test, and I am forced to close it to quit. steps to replicate: Have

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2019-10-24 Thread Lucas Cimon
Lucas Cimon added the comment: Thanks for the feedbacks paul.j3 ! I totally agree it would be best to test all formatter classes. I modified the new test to do so. I think I should probably place this test somewhere else in test_argparse.py, but I'm having trouble figuring out where ex

[issue38586] logging: handlers names are not set when using fileConfig

2019-10-24 Thread Lucas Cimon
Change by Lucas Cimon : -- keywords: +patch pull_requests: +16450 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16918 ___ Python tracker <https://bugs.python.org/issu

[issue38586] logging: handlers names are not set when using fileConfig

2019-10-24 Thread Lucas Cimon
New submission from Lucas Cimon : The logging.Handler .name property is not set when the logging configuration is loaded with logging.fileConfig -- components: Library (Lib) messages: 355338 nosy: Lucas Cimon priority: normal severity: normal status: open title: logging: handlers

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2019-10-24 Thread Lucas Cimon
Change by Lucas Cimon : -- keywords: +patch pull_requests: +16448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16917 ___ Python tracker <https://bugs.python.org/issu

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2019-10-24 Thread Lucas Cimon
New submission from Lucas Cimon : The test I am going to add to test_argparse.py: def test_whitespace_help(self): parser = self._get_parser() parser.add_argument( '--foo2', action='store_true', help=' ') parser.add_argu

[issue36647] TextTestRunner doesn't honour "buffer" argument

2019-04-17 Thread José Luis Segura Lucas
New submission from José Luis Segura Lucas : When using "buffer = True" in a TextTestRunner, the test result behaviour doesn't change at all. This is because TextTestRunner.stream is initialised using a decorator (_WritelnDecorator). When "buffer" is passed, the T

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-11 Thread Lucas Cimon
New submission from Lucas Cimon : Hi. I think I have found a minor memory leak in Modules/main.c:pymain_parse_cmdline_impl. When the loop in the pymain_read_conf function in this same file calls pymain_init_cmdline_argv a 2nd time, the pymain->command buffer of wchar_t is overriden and

[issue34016] Bug in sort()

2018-07-01 Thread Lucas Sampaio
Lucas Sampaio added the comment: ok, I got it lista4 = input().split() print(lista4) lista4.sort() print(lista4) print(type(lista4[2])) 6 8 10['6', '8', '10'] ['10', '6', '8'] ok, I got it 2018-07-01 18:05 GMT-03:00 Tim Pet

[issue34016] Bug in sort()

2018-07-01 Thread Lucas Sampaio
Lucas Sampaio added the comment: same code with another input type is list lista4 = input().split() print(lista4) lista4.sort() print(lista4) 6 8 9 ['6', '8', '9'] ['6', '8', '9'] lista4 = input().split() print(lista4) lista4.sor

[issue34016] Bug in sort()

2018-07-01 Thread Lucas Sampaio
New submission from Lucas Sampaio : lista4 = input().split() print(lista4) lista4.sort() print(lista4) Input = 6 8 10 Output: 6 8 10 ['6', '8', '10'] ['10', '6', '8'] a bug occurs when setting the 10 -- messages: 320843 no

[issue31952] Weird behavior on tupple item assignment

2017-11-05 Thread Lucas Bertoldo
Change by Lucas Bertoldo : -- versions: +Python 2.7, Python 3.5 ___ Python tracker <https://bugs.python.org/issue31952> ___ ___ Python-bugs-list mailing list Unsub

[issue31952] Weird behavior on tupple item assignment

2017-11-05 Thread Lucas Bertoldo
New submission from Lucas Bertoldo : Basically, I typed: >>> m = (list(), list()) then I got, this, as expected: >>> m[0] += [1] Traceback (most recent call last): File "", line 1, in m[0] += [1] TypeError: 'tuple' object does not support item assign

[issue29430] zipfile: invalid link

2017-02-03 Thread Lucas Moeskops
New submission from Lucas Moeskops: The ZipFile documentation shows a link to the PKZip Application Node. This link, with address "https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT"; goes to a "Page Not Found" document. -- messages: 286847 nosy: lucas

[issue10109] itertools.product with infinite iterator cause MemoryError.

2016-09-17 Thread Lucas Wiman
Lucas Wiman added the comment: It is quite thrifty with memory compared to the size of the search space O(n*k) memory for a search space of size O(n**k). I think a reasonable expectation for itertools.product is that it should _eventually_ reach any element in the search space. The only way

[issue14376] sys.exit documents argument as "integer" but actually requires "subtype of int"

2016-08-27 Thread Lucas Hoffmann
Changes by Lucas Hoffmann : -- nosy: +luc ___ Python tracker <https://bugs.python.org/issue14376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27808] os.waitpid does not return (0, 0) when child has not exited (FreeBSD)

2016-08-19 Thread Casey Lucas
New submission from Casey Lucas: I'm not sure if this a Python issue or a FreeBSD issue but the return value from os.waitpid is not reliably (0,0) on FreeBSD when the WNOHANG is used and the child process has not yet exited. Python docs say that the return value will be (0,0) but this i

[issue27623] int.to_bytes() and int.from_bytes(): raise ValueError when bytes count is zero

2016-07-27 Thread Lucas Morales
Lucas Morales added the comment: This is actually a problem in Objects/longobject.c, in the _PyLong_AsByteArray function. It should have given an overflow error, because -1 cannot be encoded in 0 bytes. -- nosy: +lucasem ___ Python tracker <h

[issue10109] itertools.product with infinite iterator cause MemoryError.

2016-05-31 Thread Lucas Wiman
Lucas Wiman added the comment: I realize this is an old (and closed!) thread, but here are a few notes from running into this issue recently, working on a search problem with infinite iterators. First, note that yegle's recursive solution is not correct, since it exhausts the iter

[issue11416] netrc module does not handle multiple entries for a single host

2014-03-12 Thread Lucas Hoffmann
Lucas Hoffmann added the comment: What is the status of this issue? On version 3.3 I still can not get more than one entry per host. The stopping issue #12009 seems to be closed. (Sorry, if I violate some etiquette by bumping this, just tell me.) -- nosy: +luc

[issue17946] base64 encoding result should be str, not bytes

2013-05-09 Thread Lucas Clemente Vella
New submission from Lucas Clemente Vella: As stated in RFC 3548: Base encoding of data is used in many situations to store or transfer data in environments that, perhaps for legacy reasons, are restricted to only US-ASCII [9] data. thus, I was surprised to see, when I used base64 for

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-12-16 Thread Lucas Maystre
Lucas Maystre added the comment: Sorry for the little glitches you had to fix, I wonder why I didn't catch them. Anyways, thanks Petri! -- ___ Python tracker <http://bugs.python.org/is

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-12-02 Thread Lucas Maystre
Lucas Maystre added the comment: As per Ezio's comment, changed "l1" to "utf-8" in the example of the doc. -- Added file: http://bugs.python.org/file28195/filetype11175.patch ___ Python tracker <http:

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-11-27 Thread Lucas Maystre
Lucas Maystre added the comment: Added some documentation for the patch. Let me know what you think. -- Added file: http://bugs.python.org/file28139/filetype11175.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-11-27 Thread Lucas Maystre
Lucas Maystre added the comment: OK, I'll give it a try. -- ___ Python tracker <http://bugs.python.org/issue11175> ___ ___ Python-bugs-list mailing list

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-11-26 Thread Lucas Maystre
Lucas Maystre added the comment: Is there something I can do something to move this forward? -- ___ Python tracker <http://bugs.python.org/issue11175> ___ ___

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-26 Thread Lucas Maystre
Lucas Maystre added the comment: Alright, here's a version with more tests (unittest.mock is awesome!). I think it tests exactly what it should (and no more), i.e. that the arguments are correctly passed to `open`. -- Added file: http://bugs.python.org/file27729/filetype11175.

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-23 Thread Lucas Maystre
Lucas Maystre added the comment: OK, as discussed offline with Petri I'll put some tests to ensure that open() is called the right way (using unittest.mock.patch). -- ___ Python tracker <http://bugs.python.org/is

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-23 Thread Lucas Maystre
Lucas Maystre added the comment: Here's an attempt at implementing this (my first contribution). Some notes: - I tried to keep `__repr__()` backwards compatible. It would have been easier to inherit from `_AttributeHolder`, but maybe this might break some things... - I added some test

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-09-04 Thread Lucas Sinclair
Lucas Sinclair added the comment: I agree to close the issue. I tried following the steps proposed here: http://docs.python.org/devguide/ And typed these two commands on a OS X 10.8.1 with XCode and command line tools installed. $ hg clone http://hg.python.org/cpython. $ run ./configure

[issue13583] sqlite3.Row doesn't support slice indexes

2011-12-11 Thread Lucas Sinclair
New submission from Lucas Sinclair : When using the sqlite3.Row object as a row factory, one can access the resulting rows by index (such as row[1]) or by name (such as row['b']). However, the slice functionality is lost, as doing row[0:2] raises the error: "slices not implemen

[issue9750] sqlite3 iterdump fails on column with reserved name

2011-11-08 Thread Lucas Sinclair
Lucas Sinclair added the comment: My patch contains two new dump tests which originally fail, and the fixes to the code that makes them pass. -- Added file: http://bugs.python.org/file23629/issue9750.patch ___ Python tracker <h

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-07 Thread Lucas Sinclair
Lucas Sinclair added the comment: Well the configure parameters suggested by Michael Foord worked. I was able to build cpython on a mac. But I could not have guessed how to make it work. Shouldn't these instructions be added here http://docs.python.org/devguide/ ? Shouldn't

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-04 Thread Lucas Sinclair
Lucas Sinclair added the comment: I just cloned cpython today. The output of "hg summary" is: parent: 73351:2bec7c452b39 tip Fix C89 incompatibility. branch: default commit: (clean) update: (current) -- ___ Python tracker <http://bu

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-04 Thread Lucas Sinclair
Lucas Sinclair added the comment: I'm on 10.7.2, with XCode is 4.2 and the problem is still present. The command "ggc -v" produces the following output: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) The command "./configure --with-pydebug &am

[issue9750] sqlite3 iterdump fails on column with reserved name

2011-10-31 Thread Lucas Sinclair
Lucas Sinclair added the comment: Sure, I can have a try at it and address the issues you pointed out. The URL to the guidelines you provided gives a 404. In what form exactly would you like the patch to be ? I wouldn't mind either adding to the test suite, but I'm not sure how t

[issue9750] sqlite3 iterdump fails on column with reserved name

2011-10-25 Thread Lucas Sinclair
Lucas Sinclair added the comment: I just encountered this issue today. So, it's been several months, will the patch be merged into the master branch ? Or will this never be fixed ? -- nosy: +xapple ___ Python tracker <http://bugs.py

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
Kelly Lucas added the comment: This is easy enough to implement by subclassing the Queue class and overriding join(), so it's not a big deal. Just seems like it would be a nice thing to have. -- ___ Python tracker <http://bugs.py

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
Kelly Lucas added the comment: Here are a few that I saw: http://stackoverflow.com/questions/1564501/add-timeout-argument-to-pythons-queue-join http://www.eggheadcafe.com/software/aspnet/36145181/max-time-threads.aspx http://efreedom.com/Question/1-1564501/Add-timeout-argument-to-python-s

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
Changes by Kelly Lucas : -- versions: +Python 3.1 -Python 2.7 ___ Python tracker <http://bugs.python.org/issue9634> ___ ___ Python-bugs-list mailing list Unsub

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
New submission from Kelly Lucas : I've seen quite a few people requesting to add a timeout value to the Queue.join() method, as it seems like a nice feature to have when waiting for queue's to finish. Please add a feature so that Queue.join() will issue a self.all_tasks_done.rele

[issue6567] Make inf be almost equal to inf

2009-07-25 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: I would like to ask as a feature request that "inf" be almost equal to "inf". I wrote a program with a timeline class that had a method to tell the time of the last event registered into it such that some events would be positioned at th

[issue6567] Isn't inf almost equal to inf?

2009-07-24 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue6567> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6567] Isn't inf almost equal to inf?

2009-07-24 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : -- components: +Tests ___ Python tracker <http://bugs.python.org/issue6567> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6567] Isn't inf almost equal to inf?

2009-07-24 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : -- versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue6567> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6567] Isn't inf almost equal to inf?

2009-07-24 Thread Lucas Prado Melo
New submission from Lucas Prado Melo : When we use TestCase.assertAlmostEqual to compare two float('inf') objects, the result is that float('inf') is not almost equal to float('inf'). I believe this is a bug. I tested against r74195 of Python 3.2 and against Pyth

[issue5870] subprocess.DEVNULL

2009-07-12 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: -1 on this one. It is not a portable decision (only *nix OSes do have /dev/null). Also, why would we want it as a default constant? The subprocess module would need to open /dev/null every time. Despite that, I can't see how would someone use the redire

[issue6467] raw_input() doesn't work as expected when it gets multiple ^D

2009-07-12 Thread Lucas Prado Melo
New submission from Lucas Prado Melo : -- $ cat raw_input_test.py s = '' try: while True: c = raw_input() print c s += c except EOFError: pass $ python raw_input_test.py test^D^Dtes ^D $ python --version Python 2.

[issue6447] PATCH: typo (English) in subprocess module

2009-07-09 Thread Lucas Prado Melo
New submission from Lucas Prado Melo : I am pretty sure this patch is alright. -- nosy: +lucaspmelo ___ Python tracker <http://bugs.python.org/issue6447> ___ ___

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-23 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: I think this patch is ok. -- ___ Python tracker <http://bugs.python.org/issue5230> ___ ___ Python-bugs-list mailing list Unsub

[issue6064] Add "daemon" argument to threading.Thread constructor

2009-06-17 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: +1 to the py3k diff. :) Hey, I think this daemon property should be set as a keyword argument of the Thread constructor. -- nosy: +conf ___ Python tracker <http://bugs.python.org/issue6

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-15 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Ok A new patch without read1() changes. Only one test fails, a read1() test: == FAIL: test_read1 (test.test_io.PyBufferedRWPairTest

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-14 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Here, it's a patch that passes all the tests (I had to change some of them though, they were expecting erroneous behaviours IMHO). The biggest problem was the read1 testing, I've tried to get the maximum of bytes less than or equal to what the u

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-14 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Here is a patch that passes all the tests (I had to change some of them though, they were expecting erroneous behaviours IMHO). The biggest problem was the read1 testing, I've tried to get the maximum of bytes less than or equal to what the user wanted

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-13 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: We could fill the buffer while moving its start point to 0. I guess this behavior would require a new function (or a new parameter to Modules/_io/bufferedio.c:_bufferedreader_fill_buffer() ). If you are ok with that I could write a patch

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-12 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: There's a problem with my patch... When the size of the data we want to peek is too big ( > buffer_len - start ) the cursor will move, thus there isn't a case where the peek function would work properly (except when we want to peek() just 1 byte)

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-12 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Oops I overlooked I minor flaw. A second version. -- Added file: http://bugs.python.org/file14282/peek2.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2009-06-12 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Hey guys, I did a patch about this one. I didn't do many tests but I guess it is ok (it works like I think it should). What do you think? -- keywords: +patch nosy: +conf Added file: http://bugs.python.org/file14281/peek

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-03 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : Removed file: http://bugs.python.org/file14140/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5230> ___ ___ Python-bugs-list m

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-03 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: I had lots of stuff to do lately, sorry it took me so long to answer. Here is the patch as we intended, but there is a bug yet. What if the non-existent imported module has the same name of the module itself? $ cat pydoc_badimport3.py import

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-02 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Take a look at the output: $ python pydoc.py test.pydoc_badimport2 problem in test.pydoc_badimport2 - : No module named i_dont_exist.neither_do_i This is different from what you expected. How do we change this output? (I was talking about this issue in the

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-01 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Thanks :) It seems that the error message carried by the ImportError object comes from Python/import.c:1504. What should we do: a) Edit Python/import.c b) Change the ImportError object c) Anything else

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-01 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: I didn't understand what you mean: what should be shown when pydoc tries to generate documentation for a module with the bad import 'import test.i_dont_exist.neither_do_i'? I am not a native english speaker, so please excuse me if you d

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-01 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: by the way, I was not acquainted with this unit test thing... sorry -- ___ Python tracker <http://bugs.python.org/issue5

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-01 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : Removed file: http://bugs.python.org/file14138/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5230> ___ ___ Python-bugs-list m

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-06-01 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: Ok. New patch that passes the unit tests and with a new unit test covering inexistant nested modules. -- Added file: http://bugs.python.org/file14140/pydocs.diff ___ Python tracker <http://bugs.python.

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: A new patch with an unit test and with whitespaces. -- Added file: http://bugs.python.org/file14138/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : Removed file: http://bugs.python.org/file14137/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5230> ___ ___ Python-bugs-list m

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
Changes by Lucas Prado Melo : Removed file: http://bugs.python.org/file14136/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5230> ___ ___ Python-bugs-list m

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: The same patch with whitespaces. Is it ok now? -- Added file: http://bugs.python.org/file14137/pydocs.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
Lucas Prado Melo added the comment: I've written a patch. Hope you like it :) -- keywords: +patch nosy: +conf Added file: http://bugs.python.org/file14136/pydocs.diff ___ Python tracker <http://bugs.python.org/i