summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1194449: correctly detect unbound methods in pydoc.Georg Brandl2007-03-131-2/+2
|
* Patch #957650: "%var%" environment variable references are now properlyGeorg Brandl2007-03-134-22/+64
| | | | | expanded in ntpath.expandvars(), also "~user" home directory references are recognized and handled on Windows.
* Patch #1429539: pdb now correctly initializes the __main__ module forGeorg Brandl2007-03-132-9/+20
| | | | | the debugged script, which means that imports from __main__ work correctly now.
* NEWS entry for getstatus() deprecation.Georg Brandl2007-03-131-0/+2
|
* Deprecate commands.getstatus().Georg Brandl2007-03-132-0/+6
|
* Patch #1393667: pdb now has a "run" command which restarts the debuggedGeorg Brandl2007-03-134-3/+49
| | | | Python program, optionally with different arguments.
* Add versionadded marker for ctypes.c_bool.Thomas Heller2007-03-131-0/+1
|
* Patch #1444529: the builtin compile() now accepts keyword arguments.Georg Brandl2007-03-134-9/+23
| | | | (backport)
* Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.Thomas Heller2007-03-1310-50/+656
|
* Patch #1530482: add pydoc.render_doc() which returns the documentationGeorg Brandl2007-03-132-22/+29
| | | | for a thing instead of paging it to stdout, which pydoc.doc() does.
* Patch #1533909: the timeit module now accepts callables in addition toGeorg Brandl2007-03-134-11/+83
| | | | | strings for the code to time and the setup code. Also added two convenience functions for instantiating a Timer and calling its methods.
* Fix a tab.Georg Brandl2007-03-131-2/+2
|
* Acks for recent patches.Georg Brandl2007-03-131-0/+3
|
* Add acks for recent patch checkins:Collin Winter2007-03-131-0/+6
| | | | | | | | | Arvin Schnell - 1668482 Sébastien Martini - 1481079 Heiko Wundram - 1491866 Damon Kohler - 1545011 Peter Parente - 1599845 Bjorn Lindqvist - 1678662
* Patch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameterGeorg Brandl2007-03-135-9/+37
| | | | | which can be set to False to prevent the default delete-on-close behavior.
* Patch #1605192: list allowed states in error messages for imaplib.Georg Brandl2007-03-131-4/+8
|
* Patch #1581073: add a flag to textwrap that prevents the dropping ofGeorg Brandl2007-03-134-4/+26
| | | | whitespace while wrapping.
* Patch #1603688: ConfigParser.SafeConfigParser now checks values thatGeorg Brandl2007-03-133-2/+27
| | | | | are set for invalid interpolation sequences that would lead to errors on reading back those values.
* Quick fix for tests that fail on systems with an encoding otherLars Gustäbel2007-03-131-6/+7
| | | | than 'iso8859-1'.
* Bug #1622896: fix a rare corner case where the bz2 module raised anGeorg Brandl2007-03-132-10/+14
| | | | error in spite of a succesful compression.
* This is the implementation of POSIX.1-2001 (pax) format read/writeLars Gustäbel2007-03-135-968/+1514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support. The TarInfo class now contains all necessary logic to process and create tar header data which has been moved there from the TarFile class. The fromtarfile() method was added. The new path and linkpath properties are aliases for the name and linkname attributes in correspondence to the pax naming scheme. The TarFile constructor and classmethods now accept a number of keyword arguments which could only be set as attributes before (e.g. dereference, ignore_zeros). The encoding and pax_headers arguments were added for pax support. There is a new tarinfo keyword argument that allows using subclassed TarInfo objects in TarFile. The boolean TarFile.posix attribute is deprecated, because now three tar formats are supported. Instead, the desired format for writing is specified using the constants USTAR_FORMAT, GNU_FORMAT and PAX_FORMAT as the format keyword argument. This change affects TarInfo.tobuf() as well. The test suite has been heavily reorganized and partially rewritten. A new testtar.tar was added that contains sample data in many formats from 4 different tar programs. Some bugs and quirks that also have been fixed: Directory names do no longer have a trailing slash in TarInfo.name or TarFile.getnames(). Adding the same file twice does not create a hardlink file member. The TarFile constructor does no longer need a name argument. The TarFile._mode attribute was renamed to mode and contains either 'r', 'w' or 'a'.
* Patch #1449244: Support Unicode strings inMartin v. Löwis2007-03-133-2/+14
| | | | | email.message.Message.{set_charset,get_content_charset}. Will backport.
* Patch #1569798: fix a bug in distutils when building Python from aGeorg Brandl2007-03-132-2/+5
| | | | directory within sys.exec_prefix.
* Patch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" toGeorg Brandl2007-03-132-0/+6
| | | | pydoc's help keywords.
* Patch #1555098: use str.join() instead of repeated stringGeorg Brandl2007-03-132-9/+9
| | | | concatenation in robotparser.
* Patch #1635454: the csv.DictWriter class now includes the offendingGeorg Brandl2007-03-132-3/+8
| | | | | field names in its exception message if you try to write a record with a dictionary containing fields not in the CSV field names list.
* Patch #1668100: urllib2 now correctly raises URLError instead ofGeorg Brandl2007-03-133-18/+25
| | | | OSError if accessing a local file via the file:// protocol fails.
* Patch #1642844: comments to clarify the complexobject constructor.Georg Brandl2007-03-131-4/+25
|
* Patch #1679379: add documentation for fnmatch.translate().Georg Brandl2007-03-132-0/+33
|
* Typo and grammar fixes.Georg Brandl2007-03-132-4/+4
|
* Fix some style nits:Neal Norwitz2007-03-131-13/+15
| | | | | | | | | | * lines too long * wrong indentation * space after a function name * wrong function name in error string * simplifying some logic Also add an error check to PyDict_SetItemString.
* Add some other acks for recent checkins:Neal Norwitz2007-03-131-0/+3
| | | | | | Brian Leair - 922167 Tomer Filiba - 1591665 Jeremy Jones - 1192590
* Add Jerry Seutter for a bunch of his recent patches refactoring testsNeal Norwitz2007-03-131-0/+1
|
* Fix a typo where the variable name was not updated.Brett Cannon2007-03-131-1/+1
|
* Add test.test_support.transient_internet . Returns a context manager thatBrett Cannon2007-03-132-3/+14
| | | | | | | | | nests test.test_support.TransientResource context managers that capture exceptions raised when the Internet connection is flaky. Initially using in test_socket_ssl but should probably be expanded to cover any test that should not raise the captured exceptions if the Internet connection works.
* Set missing svn:eol-style property on text files.Tim Peters2007-03-120-0/+0
|
* Whitespace normalization.Tim Peters2007-03-1218-522/+522
|
* Patch #1670993: Refactor test_threadedtempfile.py to use unittest.Collin Winter2007-03-122-46/+34
|
* Typo fix.Georg Brandl2007-03-121-1/+1
|
* Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. ↵Collin Winter2007-03-127-2/+62
| | | | | | Fixed by patch #922167. Will backport.
* Patch #1678088: convert test_operations to use unittest, fold the result ↵Collin Winter2007-03-124-100/+72
| | | | into test_dict.
* Bug #1678647: write a newline after printing an exception in anyGeorg Brandl2007-03-122-2/+5
| | | | case, even when converting the value to a string failed.
* Backport from Py3k branch:Georg Brandl2007-03-125-129/+281
| | | | | | | Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir. Had to change a few bits of the patch because classobjs and __methods__ are still in Py2.6.
* Patch #1677862: Require a space or tab after import in .pth files.Martin v. Löwis2007-03-123-7/+14
|
* Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.Martin v. Löwis2007-03-123-7/+13
|
* Sane humans would call these invalid tests, but Andrew McNamara pointed outSkip Montanaro2007-03-121-0/+4
| | | | | that given the inputs in these tests Excel does indeed produce the output these tests expect. Document that for future confused folks.
* Tokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in theBarry Warsaw2007-03-123-4/+17
| | | | | | | | | display name of an email address, e.g. Foo \tBar <foo@example.com> Test case added by Barry.
* Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py ↵Collin Winter2007-03-121-1/+1
| | | | | | | must use a more stable FTP. Will backport.
* Fix resource leak reported in SF #1516995.Vinay Sajip2007-03-111-0/+2
|
* Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the ↵Collin Winter2007-03-112-2/+13
| | | | | | IndexError caused by passing in an invalid breakpoint number. Will backport.