]> granicus.if.org Git - python/log
python
14 years agoFix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations...
Senthil Kumaran [Mon, 9 Aug 2010 19:53:52 +0000 (19:53 +0000)]
Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Docs changed.

14 years agoMerged manually from 2.7 branch to 3.x trunk.
Florent Xicluna [Mon, 9 Aug 2010 17:18:05 +0000 (17:18 +0000)]
Merged manually from 2.7 branch to 3.x trunk.

  ------------------------------------------------------------------------
  r81149 | florent.xicluna | 2010-05-13 23:40:01 +0200 (jeu. 13 mai 2010) | 2 lignes

  Better test skipping, with message in the log.
  ------------------------------------------------------------------------
  r81150 | florent.xicluna | 2010-05-13 23:41:05 +0200 (jeu. 13 mai 2010) | 2 lignes

  Improve test feedback to troubleshoot issue #8423 on OS X.
  ------------------------------------------------------------------------
  r81151 | florent.xicluna | 2010-05-14 01:46:48 +0200 (ven. 14 mai 2010) | 2 lignes

  Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot.
  ------------------------------------------------------------------------
  r82056 | florent.xicluna | 2010-06-17 22:30:56 +0200 (jeu. 17 juin 2010) | 2 lignes

  Add few words about test.test_genericpath.CommonTest
  ------------------------------------------------------------------------

14 years agoMerged manually from 2.7 branch to 3.x trunk.
Florent Xicluna [Mon, 9 Aug 2010 16:56:43 +0000 (16:56 +0000)]
Merged manually from 2.7 branch to 3.x trunk.

  ------------------------------------------------------------------------
  r80411 | florent.xicluna | 2010-04-23 19:59:10 +0200 (ven. 23 avril 2010) | 2 lignes

  Remove ImportWarnings filters.  They become obsolete after r79310, issue #8205.
  ------------------------------------------------------------------------
  r80412 | florent.xicluna | 2010-04-23 20:10:12 +0200 (ven. 23 avril 2010) | 2 lignes

  Fix the "regrtest -s" switch.
  ------------------------------------------------------------------------
  r81140 | florent.xicluna | 2010-05-13 19:05:29 +0200 (jeu. 13 mai 2010) | 3 lignes

  Add sensible information about the OS X platform to diagnose issue #8423:
  test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
  ------------------------------------------------------------------------
  r81141 | florent.xicluna | 2010-05-13 20:16:06 +0200 (jeu. 13 mai 2010) | 2 lignes

  Revert the additional OS X information (r81140).  Keep the endianness information.
  ------------------------------------------------------------------------

14 years agocorrect comment
Benjamin Peterson [Mon, 9 Aug 2010 15:53:58 +0000 (15:53 +0000)]
correct comment

14 years agotypo
Benjamin Peterson [Mon, 9 Aug 2010 15:49:56 +0000 (15:49 +0000)]
typo

14 years agodon't alias directly, so that extra arguments don't appear #6678
Benjamin Peterson [Mon, 9 Aug 2010 13:05:35 +0000 (13:05 +0000)]
don't alias directly, so that extra arguments don't appear #6678

14 years agoissue #9452:
Fred Drake [Mon, 9 Aug 2010 12:52:45 +0000 (12:52 +0000)]
issue #9452:
Add read_file, read_string, and read_dict to the configparser API;
new source attribute to exceptions.

14 years agoAlso temporarily revert r83871, to fix compilation on buildbots
Antoine Pitrou [Mon, 9 Aug 2010 12:47:33 +0000 (12:47 +0000)]
Also temporarily revert r83871, to fix compilation on buildbots

14 years agoFix ``Tools/scripts/checkpyc.py`` after PEP 3147.
Florent Xicluna [Mon, 9 Aug 2010 12:26:44 +0000 (12:26 +0000)]
Fix ``Tools/scripts/checkpyc.py`` after PEP 3147.

14 years agoClean up syntax for some scripts.
Florent Xicluna [Mon, 9 Aug 2010 12:24:20 +0000 (12:24 +0000)]
Clean up syntax for some scripts.

14 years agoRevert r83877 in order to fix compilation
Antoine Pitrou [Mon, 9 Aug 2010 10:47:46 +0000 (10:47 +0000)]
Revert r83877 in order to fix compilation

14 years agospelling mistake.
Senthil Kumaran [Mon, 9 Aug 2010 09:03:57 +0000 (09:03 +0000)]
spelling mistake.

14 years agoFix Issue5416 - explain negative value for count in bytes object replace.
Senthil Kumaran [Mon, 9 Aug 2010 08:56:25 +0000 (08:56 +0000)]
Fix Issue5416 - explain negative value for count in bytes object replace.

14 years agoMerge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
Florent Xicluna [Mon, 9 Aug 2010 08:29:08 +0000 (08:29 +0000)]
Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).

14 years agoreapply the revert made in r83875
Senthil Kumaran [Mon, 9 Aug 2010 07:30:53 +0000 (07:30 +0000)]
reapply the revert made in r83875

Now the _collections is statically built, the build dependencies are in proper
order and build works fine.

Commit Log from r83874:
Issue 9396.   Apply functools.lru_cache in the place of the
random flushing cache in the re module.

14 years agoFix Issue9545 - Adding _collections to static build.
Senthil Kumaran [Mon, 9 Aug 2010 07:24:50 +0000 (07:24 +0000)]
Fix Issue9545  - Adding _collections to static build.

14 years agoRevert 83784 adding functools.lru_cache() to the re module.
Raymond Hettinger [Mon, 9 Aug 2010 05:56:50 +0000 (05:56 +0000)]
Revert 83784 adding functools.lru_cache() to the re module.

The problem is that the re module is imported by sysconfig
and re needs functools which uses collections.OrderedDict()
but the _collectionsmodule.c code is not yet constructed
at this point in the build.

The likely best solution will be to include _collections
as part of the static build before the rest of the
boot-strapping.

14 years agoIssue 9396. Apply functools.lru_cache in the place of the
Raymond Hettinger [Mon, 9 Aug 2010 04:24:42 +0000 (04:24 +0000)]
Issue 9396.   Apply functools.lru_cache in the place of the
random flushing cache in the re module.

14 years agouse 3 space indents
Benjamin Peterson [Mon, 9 Aug 2010 02:13:10 +0000 (02:13 +0000)]
use 3 space indents

14 years agoIssue 7846: fnmatch cache can grow without bound
Raymond Hettinger [Mon, 9 Aug 2010 02:07:15 +0000 (02:07 +0000)]
Issue 7846:  fnmatch cache can grow without bound

Updated to solution to use the functools.lru_cache().
Restores the API so that purge() is not needed
(because the cache never gets big).

14 years agoIssue #9425: Create load_builtin() subfunction
Victor Stinner [Mon, 9 Aug 2010 00:59:10 +0000 (00:59 +0000)]
Issue #9425: Create load_builtin() subfunction

Just move the code and some variables.

14 years agoIssue #8524: Add a forget() method to socket objects, so as to put the
Antoine Pitrou [Sun, 8 Aug 2010 23:24:50 +0000 (23:24 +0000)]
Issue #8524: Add a forget() method to socket objects, so as to put the
socket into the closed state without closing the underlying file
descriptor.

14 years agoFix xml.etree.ElementInclude to include the tail of the current node. Issue #6231
Florent Xicluna [Sun, 8 Aug 2010 23:08:41 +0000 (23:08 +0000)]
Fix xml.etree.ElementInclude to include the tail of the current node.  Issue #6231

14 years agoFix BytesWarning in test_xml_etree, introduced with r83851.
Florent Xicluna [Sun, 8 Aug 2010 22:58:56 +0000 (22:58 +0000)]
Fix BytesWarning in test_xml_etree, introduced with r83851.

14 years agoIssue #9425: file system encoding is not always utf-8
Victor Stinner [Sun, 8 Aug 2010 22:31:44 +0000 (22:31 +0000)]
Issue #9425: file system encoding is not always utf-8

Fix a regression introduced in test_sys by r83778.

14 years agoIssue #477863: Print a warning at shutdown if gc.garbage is not empty.
Antoine Pitrou [Sun, 8 Aug 2010 22:18:46 +0000 (22:18 +0000)]
Issue #477863: Print a warning at shutdown if gc.garbage is not empty.

14 years agoIssue #9425: fix setup_context() for non-ascii filenames
Victor Stinner [Sun, 8 Aug 2010 22:12:45 +0000 (22:12 +0000)]
Issue #9425: fix setup_context() for non-ascii filenames

setup_context() replaces .pyc or .pyo filename suffix by .py, but it
didn't work if the filename contains a non-ascii character because the
function used the wrong unit for the length (number of characters
instead of the number of bytes).

With this patch, it uses unicode filenames instead of bytes filenames,
to fix the bug and to be fully unicode compliant.

14 years agoFix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
Florent Xicluna [Sun, 8 Aug 2010 22:07:16 +0000 (22:07 +0000)]
Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.

14 years agoIssue #5319: Print an error if flushing stdout fails at interpreter
Antoine Pitrou [Sun, 8 Aug 2010 20:46:42 +0000 (20:46 +0000)]
Issue #5319: Print an error if flushing stdout fails at interpreter
shutdown.

14 years agoIssue #8047: Fix the xml.etree serializer to return bytes by default.
Florent Xicluna [Sun, 8 Aug 2010 19:48:29 +0000 (19:48 +0000)]
Issue #8047: Fix the xml.etree serializer to return bytes by default.
Use ``encoding="unicode"`` to generate a Unicode string.

14 years agorevert r83830, breaks tests on unixes
Benjamin Peterson [Sun, 8 Aug 2010 19:08:44 +0000 (19:08 +0000)]
revert r83830, breaks tests on unixes

14 years agoMerged revisions 82779,82855,83740,83789-83791,83797-83801,83803,83811,83827,83844...
Benjamin Peterson [Sun, 8 Aug 2010 19:01:25 +0000 (19:01 +0000)]
Merged revisions 82779,82855,83740,83789-83791,83797-83801,83803,83811,83827,83844 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r82779 | benjamin.peterson | 2010-07-10 14:45:08 -0500 (Sat, 10 Jul 2010) | 1 line

  typo in attribute name #9217
........
  r82855 | benjamin.peterson | 2010-07-13 16:27:38 -0500 (Tue, 13 Jul 2010) | 1 line

  remove more extraneous commas #9245
........
  r83740 | alexandre.vassalotti | 2010-08-05 01:58:36 -0500 (Thu, 05 Aug 2010) | 4 lines

  Issue 5077: Update fixer for the other functions gone from the operator module.

  Patch by Meador Inge.
........
  r83789 | benjamin.peterson | 2010-08-07 17:45:14 -0500 (Sat, 07 Aug 2010) | 1 line

  cleanup and use unicode consistently
........
  r83790 | benjamin.peterson | 2010-08-07 17:52:06 -0500 (Sat, 07 Aug 2010) | 1 line

  unicode literal
........
  r83791 | benjamin.peterson | 2010-08-07 17:52:55 -0500 (Sat, 07 Aug 2010) | 1 line

  .get() is pointless here
........
  r83797 | benjamin.peterson | 2010-08-07 18:54:51 -0500 (Sat, 07 Aug 2010) | 1 line

  add a function to find how a node is indented
........
  r83798 | benjamin.peterson | 2010-08-07 18:55:28 -0500 (Sat, 07 Aug 2010) | 1 line

  when splitting import statements, use correct indentation #9386
........
  r83799 | benjamin.peterson | 2010-08-07 18:57:43 -0500 (Sat, 07 Aug 2010) | 1 line

  double quotes
........
  r83800 | benjamin.peterson | 2010-08-07 18:58:52 -0500 (Sat, 07 Aug 2010) | 1 line

  add another test
........
  r83801 | benjamin.peterson | 2010-08-07 19:02:10 -0500 (Sat, 07 Aug 2010) | 1 line

  cleanup; style-nits
........
  r83803 | benjamin.peterson | 2010-08-07 19:05:08 -0500 (Sat, 07 Aug 2010) | 1 line

  slightly more explicit
........
  r83811 | benjamin.peterson | 2010-08-07 22:56:44 -0500 (Sat, 07 Aug 2010) | 4 lines

  Fix node.pre_order() to call the right method on its children.

  This was a rather tragic copy-paste error.
........
  r83827 | benjamin.peterson | 2010-08-08 08:12:48 -0500 (Sun, 08 Aug 2010) | 1 line

  cause test to actually run and fix it
........
  r83844 | benjamin.peterson | 2010-08-08 13:46:37 -0500 (Sun, 08 Aug 2010) | 1 line

  fix whitespace
........

14 years agoFix issue6869: refcount problem in the _ctypes extension.
Thomas Heller [Sun, 8 Aug 2010 18:16:20 +0000 (18:16 +0000)]
Fix issue6869: refcount problem in the _ctypes extension.

14 years agoIssue #7564: Skip test_ioctl if another process is attached to /dev/tty.
Florent Xicluna [Sun, 8 Aug 2010 18:06:13 +0000 (18:06 +0000)]
Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.

14 years agoTypo.
Florent Xicluna [Sun, 8 Aug 2010 18:03:44 +0000 (18:03 +0000)]
Typo.

14 years agoFix issue5504: ctypes does now work with systems where mmap can't be
Thomas Heller [Sun, 8 Aug 2010 17:58:53 +0000 (17:58 +0000)]
Fix issue5504: ctypes does now work with systems where mmap can't be
PROT_WRITE and PROT_EXEC.

14 years agoRemove unused import.
Mark Dickinson [Sun, 8 Aug 2010 17:12:46 +0000 (17:12 +0000)]
Remove unused import.

14 years agoremove dead code #9292
Benjamin Peterson [Sun, 8 Aug 2010 16:54:58 +0000 (16:54 +0000)]
remove dead code #9292

14 years agoAdd test case for the HTTPResponse being an iterable. Follow-up of issue #4608.
Florent Xicluna [Sun, 8 Aug 2010 16:25:27 +0000 (16:25 +0000)]
Add test case for the HTTPResponse being an iterable.  Follow-up of issue #4608.

14 years agoIssue #2304: Add additional quotes when using cmd shell on Windows. Original patch...
Tim Golden [Sun, 8 Aug 2010 16:17:48 +0000 (16:17 +0000)]
Issue #2304: Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina

14 years agoUse unittest specific methods for some urllib test cases. And replace urllib2 with...
Florent Xicluna [Sun, 8 Aug 2010 16:16:07 +0000 (16:16 +0000)]
Use unittest specific methods for some urllib test cases.  And replace urllib2 with urllib.request in comments.

14 years agouse same quoting as the rest of the file
Benjamin Peterson [Sun, 8 Aug 2010 13:17:07 +0000 (13:17 +0000)]
use same quoting as the rest of the file

14 years agoAdd a news entry for Issue8280.
Senthil Kumaran [Sun, 8 Aug 2010 11:50:22 +0000 (11:50 +0000)]
Add a news entry for Issue8280.

14 years agoFix Issue8280 - urllib2's Request method will remove fragements in the url.
Senthil Kumaran [Sun, 8 Aug 2010 11:27:53 +0000 (11:27 +0000)]
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.

14 years agoIssue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto instead
Tim Golden [Sun, 8 Aug 2010 11:18:16 +0000 (11:18 +0000)]
Issue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto instead

14 years agoIssue #4570: Clean-up tutorial example
Raymond Hettinger [Sun, 8 Aug 2010 01:30:45 +0000 (01:30 +0000)]
Issue #4570:  Clean-up tutorial example

14 years agoIssue #9507: Named tuple repr will now automatically display the right
Raymond Hettinger [Sun, 8 Aug 2010 01:13:42 +0000 (01:13 +0000)]
Issue #9507:  Named tuple repr will now automatically display the right
name in a tuple subclass.

14 years agoImprove readability of collections docs by adding a summary table
Raymond Hettinger [Sun, 8 Aug 2010 00:29:08 +0000 (00:29 +0000)]
Improve readability of collections docs by adding a summary table
at the top and by list concrete classes before abstract base classes.

14 years agoset svn:eol-style
Benjamin Peterson [Sun, 8 Aug 2010 00:04:26 +0000 (00:04 +0000)]
set svn:eol-style

14 years agoFix typo
Raymond Hettinger [Sat, 7 Aug 2010 23:37:37 +0000 (23:37 +0000)]
Fix typo

14 years agoDocument implementation notes for priority queues
Raymond Hettinger [Sat, 7 Aug 2010 23:31:27 +0000 (23:31 +0000)]
Document implementation notes for priority queues

14 years agokill outdated comment
Benjamin Peterson [Sat, 7 Aug 2010 21:32:12 +0000 (21:32 +0000)]
kill outdated comment

14 years agoClean-up docstring in examples.
Raymond Hettinger [Sat, 7 Aug 2010 21:31:55 +0000 (21:31 +0000)]
Clean-up docstring in examples.

14 years agoIssue #9425: Create run_file() subfunction
Victor Stinner [Sat, 7 Aug 2010 16:34:25 +0000 (16:34 +0000)]
Issue #9425: Create run_file() subfunction

 * Call Py_MakePendingCalls() before converting the filename from
   wchar_t* to char*
 * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()

14 years agoIssue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
Mark Dickinson [Sat, 7 Aug 2010 12:33:36 +0000 (12:33 +0000)]
Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.

14 years agoIssue #9425: Create run_command() subfunction
Victor Stinner [Sat, 7 Aug 2010 10:57:17 +0000 (10:57 +0000)]
Issue #9425: Create run_command() subfunction

Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()

14 years agoIssue #9425: skip tests if a filename is not encodable
Victor Stinner [Sat, 7 Aug 2010 10:09:35 +0000 (10:09 +0000)]
Issue #9425: skip tests if a filename is not encodable

14 years agoImprove the docs for bisect to cover common searching tasks.
Raymond Hettinger [Sat, 7 Aug 2010 07:36:55 +0000 (07:36 +0000)]
Improve the docs for bisect to cover common searching tasks.

14 years agoFix nit (sentinel on lhs of comparison).
Raymond Hettinger [Sat, 7 Aug 2010 05:54:08 +0000 (05:54 +0000)]
Fix nit (sentinel on lhs of comparison).

14 years agoAdd partition recipe to itertools docs.
Raymond Hettinger [Sat, 7 Aug 2010 05:36:53 +0000 (05:36 +0000)]
Add partition recipe to itertools docs.

14 years agoFix markup
Raymond Hettinger [Sat, 7 Aug 2010 04:19:49 +0000 (04:19 +0000)]
Fix markup

14 years agoFix an assertRaises situation and typo. Also pass all tests to run_unittest
Brian Curtin [Sat, 7 Aug 2010 03:47:21 +0000 (03:47 +0000)]
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.

14 years agoImprove the whatsnew article on the lru/lfu cache decorators.
Raymond Hettinger [Fri, 6 Aug 2010 23:23:49 +0000 (23:23 +0000)]
Improve the whatsnew article on the lru/lfu cache decorators.

14 years agoIssue #9530: Fix a couple of places where undefined behaviour can
Mark Dickinson [Fri, 6 Aug 2010 21:33:18 +0000 (21:33 +0000)]
Issue #9530:  Fix a couple of places where undefined behaviour can
occur, as a result of signed integer overflow.

14 years agoAdd xml subpackages, since they are likely to have different maintainers.
R. David Murray [Fri, 6 Aug 2010 21:18:49 +0000 (21:18 +0000)]
Add xml subpackages, since they are likely to have different maintainers.

And if not they can be merged back together when that becomes apparent.

14 years agoFix #9324: Add parameter validation to signal.signal on Windows in order
Brian Curtin [Fri, 6 Aug 2010 19:27:32 +0000 (19:27 +0000)]
Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.

14 years agoIn PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than...
Mark Dickinson [Fri, 6 Aug 2010 18:55:26 +0000 (18:55 +0000)]
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].

14 years agoIssue #3210: Ensure stdio handles are closed if CreateProcess fails
Tim Golden [Fri, 6 Aug 2010 13:03:56 +0000 (13:03 +0000)]
Issue #3210: Ensure stdio handles are closed if CreateProcess fails

14 years agoChange pyc removal to support __pycache__.
Martin v. Löwis [Fri, 6 Aug 2010 10:43:31 +0000 (10:43 +0000)]
Change pyc removal to support __pycache__.

14 years agoIssue8757: Implicit set-to-frozenset conversion not thread-safe.
Raymond Hettinger [Fri, 6 Aug 2010 09:52:17 +0000 (09:52 +0000)]
Issue8757:  Implicit set-to-frozenset conversion not thread-safe.

14 years agoMisc/NEWS entry for r83751.
Mark Dickinson [Fri, 6 Aug 2010 09:38:58 +0000 (09:38 +0000)]
Misc/NEWS entry for r83751.

14 years agoIssue #9526: Remove outdated casts to int that were preventing the array module...
Mark Dickinson [Fri, 6 Aug 2010 09:36:57 +0000 (09:36 +0000)]
Issue #9526:  Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.

14 years agoFix the VS8.0 build
Raymond Hettinger [Fri, 6 Aug 2010 09:22:46 +0000 (09:22 +0000)]
Fix the VS8.0 build

14 years agoIssue #3854: Documented using the sqlite3 module with multiple threads.
Gerhard Häring [Fri, 6 Aug 2010 06:12:05 +0000 (06:12 +0000)]
Issue #3854: Documented using the sqlite3 module with multiple threads.

14 years agoIssue #9524: Document that two CTRL* signals are meant for use only
Brian Curtin [Thu, 5 Aug 2010 18:56:00 +0000 (18:56 +0000)]
Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.

14 years agoIssue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
Alexander Belopolsky [Thu, 5 Aug 2010 17:34:27 +0000 (17:34 +0000)]
Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().

14 years agoIssue #6683: For SMTP logins we now try all authentication methods advertised
Gerhard Häring [Thu, 5 Aug 2010 14:08:44 +0000 (14:08 +0000)]
Issue #6683: For SMTP logins we now try all authentication methods advertised
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.

14 years agoIssue 5077: Add documentation for operator fixer.
Alexandre Vassalotti [Thu, 5 Aug 2010 07:12:18 +0000 (07:12 +0000)]
Issue 5077: Add documentation for operator fixer.

Patch by Meador Inge.

14 years agoIssue #9337: Make float.__str__ identical to float.__repr__.
Mark Dickinson [Wed, 4 Aug 2010 20:56:28 +0000 (20:56 +0000)]
Issue #9337:  Make float.__str__ identical to float.__repr__.
(And similarly for complex numbers.)

14 years agoAdd Terry Reedy.
Martin v. Löwis [Wed, 4 Aug 2010 19:08:20 +0000 (19:08 +0000)]
Add Terry Reedy.

14 years agoIssue #9498: Add reference to sys.float_info from 'numeric types' docs.
Mark Dickinson [Wed, 4 Aug 2010 18:42:43 +0000 (18:42 +0000)]
Issue #9498:  Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.

14 years agoIssue #8814: function annotations (the `__annotations__` attribute)
Antoine Pitrou [Wed, 4 Aug 2010 18:28:02 +0000 (18:28 +0000)]
Issue #8814: function annotations (the `__annotations__` attribute)
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper.  Patch by Terrence Cole.

14 years agoSending the auth info as string. Fix BytesWarning: str() on a bytes instance Exceptio...
Senthil Kumaran [Wed, 4 Aug 2010 17:46:23 +0000 (17:46 +0000)]
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.

14 years agoTry to fix issue #9415: skip some tests on broken Ubuntu OpenSSL
Antoine Pitrou [Wed, 4 Aug 2010 17:14:06 +0000 (17:14 +0000)]
Try to fix issue #9415: skip some tests on broken Ubuntu OpenSSL

14 years agoIn verbose mode, identify OpenSSL build and platform more precisely
Antoine Pitrou [Wed, 4 Aug 2010 16:45:21 +0000 (16:45 +0000)]
In verbose mode, identify OpenSSL build and platform more precisely

14 years agoFix #9513 to remove relative imports from multiprocessing.
Brian Curtin [Wed, 4 Aug 2010 15:47:24 +0000 (15:47 +0000)]
Fix #9513 to remove relative imports from multiprocessing.

The test suite currently skips test_multiprocessing on Windows
because it fails on finding _multiprocessing in several
win32-specific blocks. Removing the relative import lets this
through and allows the test to run (and pass).

14 years agoIssue #9496: Provide a test suite for the rlcompleter module. Patch by
Antoine Pitrou [Wed, 4 Aug 2010 15:43:16 +0000 (15:43 +0000)]
Issue #9496: Provide a test suite for the rlcompleter module.  Patch by
Michele Orrù.

14 years agoI'm interested in threading issues as well
Antoine Pitrou [Wed, 4 Aug 2010 13:24:41 +0000 (13:24 +0000)]
I'm interested in threading issues as well

14 years agofix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket
Richard Jones [Wed, 4 Aug 2010 12:27:36 +0000 (12:27 +0000)]
fix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket

14 years agoFactor out stripping of interpreter debug output in test.support.strip_python_stderr()
Antoine Pitrou [Wed, 4 Aug 2010 11:48:56 +0000 (11:48 +0000)]
Factor out stripping of interpreter debug output in test.support.strip_python_stderr()

14 years agoas per discussion with antoine revert changes made in 83708 as the user useing ftplib...
Giampaolo Rodolà [Wed, 4 Aug 2010 10:36:18 +0000 (10:36 +0000)]
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file

14 years agoSomething fun to maintain
Antoine Pitrou [Wed, 4 Aug 2010 10:26:30 +0000 (10:26 +0000)]
Something fun to maintain

14 years agofix issue #6822: ftplib's storline method doesn't work with text files
Giampaolo Rodolà [Wed, 4 Aug 2010 10:12:00 +0000 (10:12 +0000)]
fix issue #6822: ftplib's storline method doesn't work with text files

14 years agoissue #8687: provides a test suite for sched.py module
Giampaolo Rodolà [Wed, 4 Aug 2010 09:28:05 +0000 (09:28 +0000)]
issue #8687: provides a test suite for sched.py module

14 years agofix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexa...
Giampaolo Rodolà [Wed, 4 Aug 2010 09:02:27 +0000 (09:02 +0000)]
fix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch.

14 years agoFix Issue754016 - urlparse goes wrong with IP:port without scheme
Senthil Kumaran [Wed, 4 Aug 2010 04:50:44 +0000 (04:50 +0000)]
Fix Issue754016 - urlparse goes wrong with IP:port without scheme

14 years agoimprove smtpd module test coverage
Richard Jones [Wed, 4 Aug 2010 01:20:14 +0000 (01:20 +0000)]
improve smtpd module test coverage

14 years agonote smtpd module changes in NEWS
Richard Jones [Wed, 4 Aug 2010 01:19:22 +0000 (01:19 +0000)]
note smtpd module changes in NEWS

14 years agoThat test was never run (since thread has been renamed to _thread in 3.x)
Antoine Pitrou [Wed, 4 Aug 2010 00:18:49 +0000 (00:18 +0000)]
That test was never run (since thread has been renamed to _thread in 3.x)

14 years ago#3196: if needed pad a short base64 encoded word before trying to decode.
R. David Murray [Tue, 3 Aug 2010 22:14:10 +0000 (22:14 +0000)]
#3196: if needed pad a short base64 encoded word before trying to decode.

The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.

Patch by Jason Williams.