[issue22293] unittest.mock: use slots in MagicMock to reduce memory footprint

2014-08-28 Thread Natalia B. Bidart
Changes by Natalia B. Bidart : -- nosy: +nessita ___ Python tracker <http://bugs.python.org/issue22293> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11557] Increase coverage in logging module

2011-03-29 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: I'll work on a fix during next weekend (sooner if I have an open slot). -- ___ Python tracker <http://bugs.python.org/is

[issue11557] Increase coverage in logging module

2011-03-16 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Attaching a patch that increases test coverage for logging/__init__.py by 12%. There are still a lot more to do, but this pacth is big enough. -- keywords: +patch Added file: http://bugs.python.org/file21249/pycon-issue11557.patch

[issue11557] Increase coverage in logging module

2011-03-15 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : Current coverage is: Name Stmts Miss Cover -- Lib/logging/__init__ 73916278% Lib/logging/config 571 9883% Lib/logging/handlers 60132546

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Attaching a new patch with latest changes from trunk merged in (conflicts resolved). -- Added file: http://bugs.python.org/file21211/pycon-issue11501.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: On Tue, Mar 15, 2011 at 7:15 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > >> I'm not using "if zlib is not None" since the archive_utils module >> never explicitly imports zlib. > > Well, you can i

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: * Added change notice to Misc/NEWS. * changed patch method implementation so AttributeError is raised when trying to patch a non-existent attribute for an object (see Éric's comment). -- Added file: http://bugs.python.org/file21142/pycon-issue

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Hi Éric, Thanks for looking at the patch. I'm not using "if zlib is not None" since the archive_utils module never explicitly imports zlib. Only the zipfile module imports zlib and raises RuntimeError if not available (as per http://

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Attaching patch that performs the following: * skip all the distutils tests that need zlib in order to run properly. * add a new test (test_make_zipfile_no_zlib) to ensure that make_zipfile uses the compression option from zipfile module that works without

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : When creating a zipfile, the code: zip = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_DEFLATED) does not handle the potential RuntimeError casued by: "If ZIP_DEFLATED is specified but the zlib module i

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Attaching patch with improved skip message as per David's comment. -- Added file: http://bugs.python.org/file21119/pycon-issue11496.patch ___ Python tracker <http://bugs.python.org/is

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Trivial patch to skip the aforementioned test. -- keywords: +patch Added file: http://bugs.python.org/file21118/pycon-issue11498.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : When running the test suite, if zlib is not available, we get this failure: [1/1] test_zipfile test test_zipfile failed -- Traceback (most recent call last): File "/home/nessita/pycon/sprint/cpython/Lib/test/test_zipfile.py", lin

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: Trivial patch to skip the test if module 'readline' doesn't have the 'clear_history' attr. -- keywords: +patch Added file: http://bugs.python.org/file21115/pycon-issue11496.patch

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart added the comment: I'm working on a patch. -- ___ Python tracker <http://bugs.python.org/issue11496> ___ ___ Python-bugs-list mailing list

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : If libreadline-dev was installed after configure was run, and the latter is not re-run, test_readline fails with: [1/1] test_readline test test_readline failed -- Traceback (most recent call last): File "/home/nessita/pycon/sprint/cpython/Lib

[issue6994] enumerate dosctring has a typo

2009-09-25 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : Current docstring states: Return an enumerate object. iterable must be an other object that supports iteration. It should be: Return an enumerate object. iterable must be another object that supports iteration. -- assignee: georg.brandl