0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 01:16:51 +01:00
Commit Graph

34968 Commits

Author SHA1 Message Date
Thomas Heller
8b7a95750a Insert "startfile" into posix_methods again; it was accidentially
removed in rev 55543.
2007-08-31 06:44:36 +00:00
Georg Brandl
fd5359c772 Fix sphinx-build so that it runs with 2.x and 3.x but refuses to start with 3.x. 2007-08-31 06:20:46 +00:00
Georg Brandl
5a165584d7 Correct a few typos. 2007-08-31 06:15:01 +00:00
Neal Norwitz
64fd6fb254 Ugh, hopefully I can get this right. The code is only compiled on Win64 2007-08-31 05:32:33 +00:00
Neal Norwitz
b879f57b32 Try to fix the problem of passing a non-int on Win64 right this time. 2007-08-31 05:20:36 +00:00
Neal Norwitz
1fe5f38852 Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
Neal Norwitz
538d17aa23 Try to fix a problem with large values on Win64. Diagnosed by Thomas Heller 2007-08-31 04:31:47 +00:00
Guido van Rossum
671117a43a Force test_mailbox and test_old_mailbox into submission.
(a) Several tests in test_mailbox were failing because we were writing
    text to a file opened in binary mode.  Switching to text fixed these.
(b) test_unix_mbox() in each test does a wacko comparison which apparently
    no longer works due to a different way the message gets parsed.
    I disabled this, I don't think the test was testing what it thought
    it was testing.
2007-08-31 04:25:05 +00:00
Neal Norwitz
c2550c7b1c Remove chr8, we're not likely to need it at this point 2007-08-31 04:17:51 +00:00
Kurt B. Kaiser
7cec252b9d 1. Don't encode input strings to bytes.
2. Re-enable stderr redirection.
2007-08-31 04:15:13 +00:00
Neal Norwitz
639a8ffcb7 Thomas removed all the SLICE op codes 2007-08-31 04:10:28 +00:00
Guido van Rossum
71d4a34c39 Customary 2nd submit of this file after it's been changed. 2007-08-31 04:03:25 +00:00
Neal Norwitz
e0906d13c3 A few more fixes to the tutorial 2007-08-31 03:46:28 +00:00
Barry Warsaw
7aa02e6590 More email package fixes.
Fix a couple of tests since .body_encode()'s arguments have changed.  Also, I
think body_encode() should take a string not a byte array for consistency with
the rest of the api (but I'm not positive about this).  In
quoprimime.body_encode(), body_check() must be passed an int.

Current status: 7F (no errors!)
2007-08-31 03:26:19 +00:00
Guido van Rossum
0616b792ba Tutorial update for 3.0 by Paul Dubois.
I had to fix a few markup issues in controlflow.rst and modules.rst.

There's a unicode issue on line 448 in introduction.rst that someone else needs to fix.
2007-08-31 03:25:11 +00:00
Barry Warsaw
8b2af27dae More email package fixes.
MIMEApplication() requires a bytes object for its _data, so fix the tests.

We no longer need utils._identity() or utils._bdecode().  The former isn't
used anywhere AFAICT (where's "make test's" lint? <wink>) and the latter is a
kludge that is eliminated by base64.b64encode().

Current status: 5F/5E
2007-08-31 03:04:26 +00:00
Barry Warsaw
00b34228bb More email package fixes.
This repairs the linear whitespace insertion between RFC 2047 encoded words
without leaving bogus trailing spaces at the end lines that end in encoded
words.

Current status: 7F/9E
2007-08-31 02:35:00 +00:00
Eric Smith
3bcc42ad0f Changed signature of string.Formatter.get_field, per suggestion by
Ron Adam.

Added test case for using all parameters in string.Formatter.
2007-08-31 02:26:31 +00:00
Eric Smith
11fe3e05ff Fixed test name. 2007-08-31 01:33:06 +00:00
Eric Smith
81936699c8 Added test cases for string.Formatter subclassing.
Made format_spec parameter to builtin format optional, defaults to
empty string.  Added test cases.
2007-08-31 01:14:01 +00:00
Collin Winter
231ff0ec11 Fix a compile error on Windows. 2007-08-31 00:59:38 +00:00
Collin Winter
812567d3f8 Cut test_raise down to size. 2007-08-31 00:47:26 +00:00
Collin Winter
32347fb29b Update import.c's MAGIC value for the new raise syntax (as opposed to merely updating the comment). 2007-08-31 00:42:15 +00:00
Guido van Rossum
7576583903 Minor tweaks. 2007-08-31 00:38:53 +00:00
Guido van Rossum
b197f3cf64 First draft of a what's new document.
(There's something wrong with my network right now so I can't build it.)
2007-08-31 00:37:00 +00:00
Guido van Rossum
6deb1bf83f Use pow() instead of repeated multiplication by 10 in round(x, n). 2007-08-31 00:27:03 +00:00
Thomas Wouters
74e68c751f Fix test_smtplib by munging asynchat some more. 2007-08-31 00:20:14 +00:00
Collin Winter
828f04ac3f Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 2007-08-31 00:04:24 +00:00
Guido van Rossum
150b7d7d02 Remove curses temp file consistently. 2007-08-30 23:34:01 +00:00
Thomas Wouters
d2cf20eea2 Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
Thomas Wouters
582b586617 Merged revisions 57772-57777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r57776 | thomas.wouters | 2007-08-31 00:35:31 +0200 (Fri, 31 Aug 2007) | 4 lines


  One more fix to consider missing SSL support.
........
2007-08-30 22:39:17 +00:00
Eric Smith
185e30cdf3 Added format tests.
Fixed bug in alignment of negative numbers.
Whitespace normalization.
2007-08-30 22:23:08 +00:00
Kurt B. Kaiser
bc3b345f82 IDLE's py3k NEWS 2007-08-30 22:16:49 +00:00
Thomas Wouters
47b49bf6dc Merged revisions 57620-57771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r57771 | thomas.wouters | 2007-08-30 23:54:39 +0200 (Thu, 30 Aug 2007) | 5 lines


  Don't lie in __all__ attributes when SSL is not available: only add the SSL
  classes when they are actually created.

........
  r57620 | walter.doerwald | 2007-08-28 18:38:26 +0200 (Tue, 28 Aug 2007) | 5 lines

  Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for
  HTMLCalender.formatyearpage() (there's no themonth parameter).

  This fixes issue1046.
........
  r57622 | georg.brandl | 2007-08-28 20:54:44 +0200 (Tue, 28 Aug 2007) | 2 lines

  Add a crasher for the thread-unsafety of file objects.
........
  r57626 | skip.montanaro | 2007-08-29 01:22:52 +0200 (Wed, 29 Aug 2007) | 1 line

  fixes 813986
........
  r57628 | walter.doerwald | 2007-08-29 01:35:33 +0200 (Wed, 29 Aug 2007) | 2 lines

  Fix test output.
........
  r57631 | skip.montanaro | 2007-08-29 03:24:11 +0200 (Wed, 29 Aug 2007) | 2 lines

  Install pygettext (once the scriptsinstall target is working again).
........
  r57633 | skip.montanaro | 2007-08-29 03:33:45 +0200 (Wed, 29 Aug 2007) | 2 lines

  Recent items.
........
  r57650 | neal.norwitz | 2007-08-29 08:15:33 +0200 (Wed, 29 Aug 2007) | 1 line

  Add Bill as a developer
........
  r57651 | facundo.batista | 2007-08-29 12:28:28 +0200 (Wed, 29 Aug 2007) | 5 lines


  Ignore test failures caused by 'resource temporarily unavailable'
  exceptions raised during FailingServerTestCase tests.
  [GSoC - Alan McIntyre]
........
  r57680 | bill.janssen | 2007-08-30 00:35:05 +0200 (Thu, 30 Aug 2007) | 17 lines

  This contains a number of things:

  1) Improve the documentation of the SSL module, with a fuller
     explanation of certificate usage, another reference, proper
     formatting of this and that.

  2) Fix Windows bug in ssl.py, and general bug in sslsocket.close().
     Remove some unused code from ssl.py.  Allow accept() to be called on
     sslsocket sockets.

  3) Use try-except-else in import of ssl in socket.py.  Deprecate use of
     socket.ssl().

  4) Remove use of socket.ssl() in every library module, except for
     test_socket_ssl.py and test_ssl.py.
........
  r57714 | georg.brandl | 2007-08-30 12:09:42 +0200 (Thu, 30 Aug 2007) | 2 lines

  Stronger urge to convert filenames to str before using them as argument to ZipFile.write().
........
  r57716 | georg.brandl | 2007-08-30 12:38:56 +0200 (Thu, 30 Aug 2007) | 2 lines

  Patch #1680959: add test suite for pipes module.
........
  r57717 | georg.brandl | 2007-08-30 14:32:23 +0200 (Thu, 30 Aug 2007) | 3 lines

  * Skip test_pipes on non-POSIX.
  * Don't raise TestSkipped within a test function.
........
  r57723 | mark.summerfield | 2007-08-30 17:03:03 +0200 (Thu, 30 Aug 2007) | 3 lines

  Added more cross-references.
........
  r57726 | walter.doerwald | 2007-08-30 17:30:09 +0200 (Thu, 30 Aug 2007) | 2 lines

  Rewrap line.
........
  r57727 | walter.doerwald | 2007-08-30 17:34:55 +0200 (Thu, 30 Aug 2007) | 2 lines

  Set startinpos before calling the error handler.
........
  r57730 | bill.janssen | 2007-08-30 19:07:28 +0200 (Thu, 30 Aug 2007) | 3 lines

  Added docstrings to methods and functions.
........
  r57743 | bill.janssen | 2007-08-30 20:08:06 +0200 (Thu, 30 Aug 2007) | 1 line

  added note on new ssl module and deprecation of socket.ssl
........
  r57747 | martin.v.loewis | 2007-08-30 20:14:01 +0200 (Thu, 30 Aug 2007) | 1 line

  Fix popen usage.
........
  r57748 | martin.v.loewis | 2007-08-30 20:15:22 +0200 (Thu, 30 Aug 2007) | 1 line

  Fix typo.
........
  r57750 | martin.v.loewis | 2007-08-30 20:25:47 +0200 (Thu, 30 Aug 2007) | 1 line

  Bug #1746880: Correctly install DLLs into system32 folder on Win64.
........
  r57760 | martin.v.loewis | 2007-08-30 21:04:09 +0200 (Thu, 30 Aug 2007) | 1 line

  Bug #1709599: Run test_1565150 only if the file system is NTFS.
........
  r57762 | martin.v.loewis | 2007-08-30 22:10:57 +0200 (Thu, 30 Aug 2007) | 2 lines

  Bump autoconf minimum version to 2.61.
........
  r57764 | lars.gustaebel | 2007-08-30 22:24:31 +0200 (Thu, 30 Aug 2007) | 2 lines

  Warn about possible risks when extracting untrusted archives.
........
  r57769 | thomas.wouters | 2007-08-30 23:01:17 +0200 (Thu, 30 Aug 2007) | 7 lines


  Somewhat-preliminary slice-object and extended slicing support for ctypes.
  The exact behaviour of omitted and negative indices for the Pointer type may
  need a closer look (especially as it's subtly different from simple slices)
  but there's time yet before 2.6, and not enough before 3.0a1 :-)
........
2007-08-30 22:15:33 +00:00
Guido van Rossum
cf1be88b43 Add some miscellanea. 2007-08-30 22:07:17 +00:00
Kurt B. Kaiser
2c7f314eaf Fix a typo and a trailing space.
N.B. NEWS doesn't mention that map() and filter() return iterators.
2007-08-30 21:52:19 +00:00
Kurt B. Kaiser
623d372147 Don't ascii encode eol_convention. Was causing file write to fail. 2007-08-30 21:00:19 +00:00
Martin v. Löwis
234a34a564 Explicitly use UTF-8 as the encoding for the normalization file. 2007-08-30 20:58:02 +00:00
Kurt B. Kaiser
5495957b6c Bump IDLE version. 2007-08-30 20:51:49 +00:00
Guido van Rossum
e5e8effeca Add a note about the openssl dependency. Switch to '*' bullets for easier
copying into the website.
2007-08-30 20:18:10 +00:00
Barry Warsaw
8c571047cc More email package fixes. 2007-08-30 19:17:18 +00:00
Collin Winter
b13c493ae5 Fix more lingering print statements. 2007-08-30 18:50:25 +00:00
Collin Winter
fd51975886 Fix a typo in the distutils cleanup. 2007-08-30 18:46:25 +00:00
Guido van Rossum
845702c096 Small updates. 2007-08-30 18:44:53 +00:00
Collin Winter
e7bf59f500 Run 2to3's print fixer over some places that had been missed. 2007-08-30 18:39:28 +00:00
Georg Brandl
716c3ac40c Add 3.0 to the silly list in license.rst too, and update the Doc README. 2007-08-30 18:34:23 +00:00
Georg Brandl
f4780d03d5 Fix #1753395. 2007-08-30 18:29:48 +00:00
Martin v. Löwis
47cc2a00a1 Bug #1746880: Correctly install DLLs into system32 folder on Win64. 2007-08-30 18:27:06 +00:00
Collin Winter
4902e69e40 More raise statement normalization. 2007-08-30 18:18:27 +00:00
Collin Winter
6cd2a2036d Kill more lingering string exceptions in Lib/plat-mac/. 2007-08-30 18:11:48 +00:00