Commit Graph

37210 Commits

Author SHA1 Message Date
Benjamin Peterson 2faaeceb15 Blocked revisions 65839 via svnmerge
........
  r65839 | benjamin.peterson | 2008-08-18 16:53:29 -0500 (Mon, 18 Aug 2008) | 4 lines

  add py3k warnings for old threading APIs

  they will still live in 3.0 but it can't hurt
........
2008-08-18 21:55:15 +00:00
Guido van Rossum 52dbbb9068 - Issue #3300: make urllib.parse.[un]quote() default to UTF-8.
Code contributed by Matt Giuca.  quote() now encodes the input
  before quoting, unquote() decodes after unquoting.  There are
  new arguments to change the encoding and errors settings.
  There are also new APIs to skip the encode/decode steps.
  [un]quote_plus() are also affected.
2008-08-18 21:44:30 +00:00
Benjamin Peterson 4171da5c9d Merged revisions 65829 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65829 | benjamin.peterson | 2008-08-18 13:39:57 -0500 (Mon, 18 Aug 2008) | 1 line

  fix old API names in test_ssl
........
2008-08-18 21:11:09 +00:00
Benjamin Peterson 698f1837fb Unblocked revisions 65829 via svnmerge
........
  r65829 | benjamin.peterson | 2008-08-18 13:39:57 -0500 (Mon, 18 Aug 2008) | 1 line

  fix old API names in test_ssl
........
2008-08-18 21:02:26 +00:00
Benjamin Peterson 632e0364d6 fix set_daemon usage in subprocess 2008-08-18 19:08:51 +00:00
Benjamin Peterson f668214106 fix bsddb get_name and set_daemon usage 2008-08-18 19:01:20 +00:00
Benjamin Peterson a759f8db24 Blocked revisions 65829 via svnmerge
........
  r65829 | benjamin.peterson | 2008-08-18 13:39:57 -0500 (Mon, 18 Aug 2008) | 1 line

  fix old API names in test_ssl
........
2008-08-18 18:41:21 +00:00
Benjamin Peterson fae4c62b1a Merged revisions 65828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65828 | benjamin.peterson | 2008-08-18 13:31:58 -0500 (Mon, 18 Aug 2008) | 1 line

  patch up multiprocessing until it's API can be changed too
........
2008-08-18 18:40:08 +00:00
Benjamin Peterson 6640d72628 Merged revisions 65826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65826 | benjamin.peterson | 2008-08-18 13:13:17 -0500 (Mon, 18 Aug 2008) | 1 line

  bring back the old API
........
2008-08-18 18:16:46 +00:00
Benjamin Peterson 7275370770 Merged revisions 65824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65824 | benjamin.peterson | 2008-08-18 13:01:43 -0500 (Mon, 18 Aug 2008) | 1 line

  change a few uses of the threading APIs
........
2008-08-18 18:09:21 +00:00
Benjamin Peterson c16a7f3684 Blocked revisions 65822 via svnmerge
........
  r65822 | benjamin.peterson | 2008-08-18 12:45:09 -0500 (Mon, 18 Aug 2008) | 1 line

  backport threading property changes
........
2008-08-18 17:52:22 +00:00
Benjamin Peterson fdbea96c22 change is_daemon, set_daemon, get_name, and set_name to properties
I'm add add warnings and backport this to 2.6 soon
2008-08-18 17:33:47 +00:00
Eric Smith 9ee5ec72fa Blocked revisions 65814 via svnmerge
........
  r65814 | eric.smith | 2008-08-18 10:27:38 -0400 (Mon, 18 Aug 2008) | 12 lines

  Backport of r63826.

  Optimization of str.format() for cases with str, unicode, int, long,
  and float arguments.  This gives about 30% speed improvement for the
  simplest (but most common) cases.  This patch skips the __format__
  dispatch, and also avoids creating an object to hold the format_spec.

  Unfortunately there's a complication in 2.6 with int, long, and float
  because they always expect str format_specs.  So in the unicode
  version of this optimization, just check for unicode objects.  int,
  float, long, and str can be added later, if needed.
........
2008-08-18 17:16:20 +00:00
Benjamin Peterson 773c17b3e1 Merged revisions 65818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65818 | benjamin.peterson | 2008-08-18 11:40:03 -0500 (Mon, 18 Aug 2008) | 4 lines

  change threading.getIdent to a property

  This is new in 2.6 so now need to worry about backwards compatibility :)
........
2008-08-18 16:45:31 +00:00
Benjamin Peterson 46f5f9ee0f fix dependencies after rename 2008-08-18 16:08:02 +00:00
Nick Coghlan 7a70a3a6f4 Merged revisions 65810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65810 | nick.coghlan | 2008-08-18 23:14:22 +1000 (Mon, 18 Aug 2008) | 1 line

  Issue 2235: document PyObject_HashNotImplemented
........
2008-08-18 13:18:16 +00:00
Nick Coghlan 36f4952404 Forward port only Py3k relevant change in r65642 (giving it a Py3k NEWS entry anyway because of the difference in the changes between the two branches) 2008-08-18 12:31:52 +00:00
Gregory P. Smith 7d10c2baf9 ReferenceError is undefined. causes test___all__.py to fail. remove it from __all__ 2008-08-18 03:41:46 +00:00
Benjamin Peterson 22ba5609be Blocked revisions 65802-65803 via svnmerge
........
  r65802 | benjamin.peterson | 2008-08-17 21:01:21 -0500 (Sun, 17 Aug 2008) | 1 line

  follup to #3473: don't duplicate the reduce code
........
  r65803 | benjamin.peterson | 2008-08-17 21:12:23 -0500 (Sun, 17 Aug 2008) | 1 line

  add a test for reduce's move
........
2008-08-18 02:15:14 +00:00
Brett Cannon 13962fcc11 Partially revert r65795 by undoing change to 'os'. 2008-08-18 01:45:29 +00:00
Benjamin Peterson c9eed3ed71 Blocked revisions 65798 via svnmerge
........
  r65798 | benjamin.peterson | 2008-08-17 20:27:05 -0500 (Sun, 17 Aug 2008) | 1 line

  correct version
........
2008-08-18 01:29:54 +00:00
Benjamin Peterson b61bd976f6 correct version 2008-08-18 01:27:32 +00:00
Gregory P. Smith d8fa68b575 fix cut and paste error in a comment 2008-08-18 01:05:25 +00:00
Brett Cannon e8d0bf9160 Merged revisions 65795 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65795 | brett.cannon | 2008-08-17 17:46:22 -0700 (Sun, 17 Aug 2008) | 3 lines

  Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
  the module but exposed as part of the API.
........
2008-08-18 00:51:19 +00:00
Brett Cannon 2f5cb3468e Merged revisions 65793 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65793 | brett.cannon | 2008-08-17 17:41:11 -0700 (Sun, 17 Aug 2008) | 2 lines

  Remove an unneeded import of abc.ABCMeta from 'inspect'.
........
2008-08-18 00:43:03 +00:00
Brett Cannon f0a39af1ae Merged revisions 65791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65791 | brett.cannon | 2008-08-17 17:36:52 -0700 (Sun, 17 Aug 2008) | 2 lines

  Remove two unneeded imports in 'io'.
........
2008-08-18 00:39:30 +00:00
Brett Cannon b5ebf27b88 Merged revisions 65787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65787 | brett.cannon | 2008-08-17 15:10:11 -0700 (Sun, 17 Aug 2008) | 3 lines

  Remove imports of 'warnings' that are no longer needed in dummy_thread,
  filecmp, and shelve.
........
2008-08-17 22:31:15 +00:00
Benjamin Peterson 38679e2777 fix markup 2008-08-17 20:34:29 +00:00
Benjamin Peterson 4cd6a95dfe Merged revisions 65659,65693,65700,65702,65706-65707,65761 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65659 | martin.v.loewis | 2008-08-12 15:45:21 -0500 (Tue, 12 Aug 2008) | 2 lines

  Add Hirokazu Yamamoto.
........
  r65693 | georg.brandl | 2008-08-15 13:35:09 -0500 (Fri, 15 Aug 2008) | 2 lines

  #3558: Attribute reference binds more tightly than subscription and call.
........
  r65700 | antoine.pitrou | 2008-08-15 16:03:21 -0500 (Fri, 15 Aug 2008) | 3 lines

  #2676: email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input
........
  r65702 | gregory.p.smith | 2008-08-15 18:14:00 -0500 (Fri, 15 Aug 2008) | 2 lines

  document that waitpid raises OSError
........
  r65706 | benjamin.peterson | 2008-08-15 22:02:41 -0500 (Fri, 15 Aug 2008) | 1 line

  fix markup
........
  r65707 | benjamin.peterson | 2008-08-15 22:13:07 -0500 (Fri, 15 Aug 2008) | 1 line

  note how os.utime should be used for emulating touch
........
  r65761 | antoine.pitrou | 2008-08-17 08:06:29 -0500 (Sun, 17 Aug 2008) | 3 lines

  fix ZipFile.testzip() to work with very large embedded files
........
2008-08-17 20:23:46 +00:00
Benjamin Peterson 9209138ff9 Blocked revisions 65679,65710 via svnmerge
........
  r65679 | facundo.batista | 2008-08-14 11:51:00 -0500 (Thu, 14 Aug 2008) | 5 lines


  Issue 1432. Fixes a bug caused because of the evolution
  of the RFC that describes the behaviour. Note that we now
  have the same behaviour than the current browsers.
........
  r65710 | facundo.batista | 2008-08-16 09:44:07 -0500 (Sat, 16 Aug 2008) | 4 lines


  Issue #2776: fixed small issue when handling an URL with double slash
  after a 302 response in the case of not going through a proxy.
........
2008-08-17 19:28:19 +00:00
Benjamin Peterson 5399114a14 correct return type 2008-08-17 18:57:58 +00:00
Benjamin Peterson 55e00f279f Merged revisions 65715,65724,65726,65732,65736-65739,65775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65715 | benjamin.peterson | 2008-08-16 16:04:16 -0500 (Sat, 16 Aug 2008) | 1 line

  add some documentation for symtable
........
  r65724 | benjamin.peterson | 2008-08-16 17:11:33 -0500 (Sat, 16 Aug 2008) | 2 lines

  include filename and line number in SyntaxError
........
  r65726 | georg.brandl | 2008-08-16 17:37:05 -0500 (Sat, 16 Aug 2008) | 2 lines

  Review symtable docs.
........
  r65732 | benjamin.peterson | 2008-08-16 18:29:40 -0500 (Sat, 16 Aug 2008) | 1 line

  PySTEntry's constructor is static; there's no point in a fancy API name
........
  r65736 | benjamin.peterson | 2008-08-16 20:09:17 -0500 (Sat, 16 Aug 2008) | 1 line

  expose PySTEntry.nested so the symtable module will work
........
  r65737 | benjamin.peterson | 2008-08-16 20:17:15 -0500 (Sat, 16 Aug 2008) | 1 line

  a few improvements
........
  r65738 | benjamin.peterson | 2008-08-16 20:27:30 -0500 (Sat, 16 Aug 2008) | 1 line

  fix compile errors
........
  r65739 | benjamin.peterson | 2008-08-16 21:23:43 -0500 (Sat, 16 Aug 2008) | 1 line

  uhh PySTEntry->ste_unoptimized has to be exposed too
........
  r65775 | benjamin.peterson | 2008-08-17 12:13:26 -0500 (Sun, 17 Aug 2008) | 5 lines

  get the symtable module back in working order
  - Fix broken functions
  - Add (hopefully) extensive tests
  - Modernize a little
........
2008-08-17 18:02:44 +00:00
Benjamin Peterson 8ba92f6502 Blocked revisions 65741 via svnmerge
........
  r65741 | facundo.batista | 2008-08-16 22:38:39 -0500 (Sat, 16 Aug 2008) | 4 lines


  Issue 2464. Supports a malformation in the URL received
  in a redirect.
........
2008-08-17 17:15:25 +00:00
Antoine Pitrou 3db3e87434 Merged revisions 65773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65773 | antoine.pitrou | 2008-08-17 19:01:49 +0200 (dim., 17 août 2008) | 3 lines

  #3556: test_raiseMemError consumes an insane amount of memory
........
2008-08-17 17:06:51 +00:00
Hirokazu Yamamoto 43e45192bd NEWS items from 2.6 don't need to be merged to 3.0.
http://mail.python.org/pipermail/python-3000-checkins/2008-August/004301.html
2008-08-17 15:24:17 +00:00
Hirokazu Yamamoto cbba8e4e92 Blocked revisions 65762 via svnmerge
........
  r65762 | hirokazu.yamamoto | 2008-08-17 22:10:46 +0900 | 2 lines

  Backport r65661, r65760: Issue #3575: Incremental decoder's decode
  function now takes bytearray by using 's*' instead of 't#'.
........
2008-08-17 15:16:18 +00:00
Antoine Pitrou a8838f73b0 Blocked revisions 65768 via svnmerge
........
  r65768 | antoine.pitrou | 2008-08-17 16:43:41 +0200 (dim., 17 août 2008) | 3 lines

  backport r65723: strengthen test_os.test_closerange
........
2008-08-17 14:44:35 +00:00
Hirokazu Yamamoto 078f0f5a6d Issue #3575: Incremental decoder's decode function now takes bytearray
by using 's*' instead of 't#'
2008-08-17 12:59:57 +00:00
Hirokazu Yamamoto 289d9eb10f Blocked revisions 65748 via svnmerge
........
  r65748 | hirokazu.yamamoto | 2008-08-17 18:46:56 +0900 | 1 line

  I forgot to update NEWS.
........
2008-08-17 09:57:45 +00:00
Hirokazu Yamamoto d35e618962 I forgot to update NEWS. 2008-08-17 09:52:28 +00:00
Hirokazu Yamamoto d7e4c082f2 Merged revisions 65745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65745 | hirokazu.yamamoto | 2008-08-17 18:19:52 +0900 | 2 lines

  Issue #2222: Fixed reference leak when occured os.rename()
  fails unicode conversion on 2nd parameter. (windows only)
........
2008-08-17 09:30:15 +00:00
Hirokazu Yamamoto ab058ed3df RPC_WSTR is not available Visual Studio 2003 or earlier.
(Maybe I should have defined RPC_WSTR on old compiler,
but uuidcreate() is only place using it, so I simply replaced
with unsigned short *)
2008-08-17 07:26:26 +00:00
Brett Cannon 340a62b9da Blocked revisions 65742 via svnmerge
........
  r65742 | brett.cannon | 2008-08-16 21:16:04 -0700 (Sat, 16 Aug 2008) | 2 lines

  Update distutils so that it triggers no warnings when run under -3.
........
2008-08-17 04:28:14 +00:00
Facundo Batista f24802c006 Issue 2464. Supports a malformation in the URL received
in a redirect.
2008-08-17 03:36:03 +00:00
Antoine Pitrou 8d5d62ff0f Blocked revisions 65733 via svnmerge
........
  r65733 | antoine.pitrou | 2008-08-17 02:36:03 +0200 (dim., 17 août 2008) | 3 lines

  Make test_ossaudiodev work.
........
2008-08-17 00:39:46 +00:00
Antoine Pitrou 7a5dc75545 #3567: fix sunau for running with -bb and make test_ossaudiodev work. 2008-08-17 00:38:32 +00:00
Antoine Pitrou 47d305d689 Issue #3571: test_bytes mistakingly closed stdin 2008-08-16 23:28:44 +00:00
Antoine Pitrou b9ee06c26b #3571: try to fix recurrent buildbot failures by strenghtening test_os.test_closerange 2008-08-16 22:03:17 +00:00
Brett Cannon a307d0fc41 Blocked revisions 65721 via svnmerge
........
  r65721 | brett.cannon | 2008-08-16 15:00:27 -0700 (Sat, 16 Aug 2008) | 2 lines

  Silence DeprecationWarning raised by mimetools and rfc822 in cgi.
........
2008-08-16 22:01:29 +00:00
Brett Cannon 6efe96a23e Blocked revisions 65719 via svnmerge
........
  r65719 | brett.cannon | 2008-08-16 14:56:03 -0700 (Sat, 16 Aug 2008) | 2 lines

  Silence the DeprecationWarning raised in httplib when mimetools is imported.
........
2008-08-16 21:59:25 +00:00