Commit Graph

25094 Commits

Author SHA1 Message Date
Jason Tishler e257ec9ef7 Patch #648998: test_commands ACL patch
Although motived by Cygwin, this patch will prevent
test_commands from failing on Unixes that support
ACLs. For example, the following is an excerpt from
the Solaris ls manpage:

	...
	-rwxrwxrwx+ 1 smith dev 10876 May 16 9:42 part2

	The plus sign indicates that there is an ACL associated
	with the file.
	...
2002-12-05 20:18:39 +00:00
Tim Peters b0f89e05ad Add a Cygwin skip mentioned by Jason Tishler. 2002-12-05 17:20:25 +00:00
Jason Tishler 2511594060 Patch #551977: Regression exceptions for cygwin
This patch updates regrtest.py to understand which
tests are normally skipped under Cygwin. The list of
tests was verified with the Cygwin Python maintainer.
2002-12-05 15:18:15 +00:00
Skip Montanaro da760c488f simple setup.py to install some interesting scripts in $(prefix)/bin. 2002-12-05 02:58:36 +00:00
Skip Montanaro a5f8c42268 * when given, port should be converted to int
* when connecting, if the port is non-standard, display it as well
2002-12-05 02:43:14 +00:00
Skip Montanaro 7dfb02d09a allow optional port specified as part of the hostname, e.g.,
"www.zope.org:8021".
2002-12-05 02:37:23 +00:00
Martin v. Löwis e07e18d41b Decode untyped strings from UTF-8. 2002-12-04 19:54:36 +00:00
Andrew MacIntyre 7e5bf674b8 history update 2002-12-04 12:40:49 +00:00
Andrew MacIntyre e7a8cad069 make BSDDB 1.85 module buildable again after BSDDB3 module import 2002-12-04 12:37:17 +00:00
Andrew MacIntyre c4c127b850 reformat for PEP-7 style conformance 2002-12-04 12:29:37 +00:00
Andrew MacIntyre 6904959921 typo fix: declaration required for VACPP not EMX+gcc 2002-12-04 12:27:06 +00:00
Raymond Hettinger b02bb5ed0a Replace BadInternalCall with TypeError. Add a test case. Fix whitespace.
Just van Rossum showed a weird, but clever way for pure python code to
trigger the BadInternalCall.  The C code had assumed that calling a class
constructor would return an instance of that class; however, classes that
abuse __new__ can invalidate that assumption.
2002-12-04 07:32:25 +00:00
Tim Peters 21d77f5e9c Added _ssl.lib to the installer too. Restored alphabetical order of
DLL and lib sections.
2002-12-04 04:00:12 +00:00
Tim Peters b4ee4eb3b3 Rearrange test_socket_ssl so that a skip is expected iff the network
resource isn't enabled or the socket module doesn't support ssl.
2002-12-04 03:26:57 +00:00
Tim Peters 6ee68d20b7 Explain what's probably a problem unique to Win9x in building _ssl. 2002-12-04 03:16:37 +00:00
Tim Peters e8bcb25fbd Clarify _ssl instructions. 2002-12-04 02:39:52 +00:00
Jack Jansen 96cebde909 Added PEP253 support to most Carbon modules. This isn't complete yet:
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).
2002-12-03 23:40:22 +00:00
Jack Jansen 99899b92b8 Added PEP253 support. 2002-12-03 23:35:22 +00:00
Kurt B. Kaiser 6eadc6cf7e Enable Check Module 2002-12-03 23:09:23 +00:00
Fred Drake a41b2bb981 Fix problem in example code. It's minor in this particular example,
but can lead to mysterious problems in real applications.
2002-12-03 22:57:37 +00:00
Mark Hammond 03cb7ee9c5 Don't make all the OpenSSL executables, just the library we need.
Contributed by David Bolen.
2002-12-03 21:00:29 +00:00
Mark Hammond 040b00a9ea Add the SSL libraries as dependencies. 2002-12-03 20:59:46 +00:00
Kurt B. Kaiser 318016be65 Don't use Alt-Fn or Ctrl-Fn keys, reserved for desktop changes in Unix.
Zoom becomes Alt-H  "height"
Check Module becomes Alt-X  "syntax"
2002-12-03 20:34:43 +00:00
Fred Drake 7af24bd237 Fix example regular expressions that simulate scanf() constructs. 2002-12-03 18:49:17 +00:00
Martin v. Löwis 71aa6d6db9 Patch #646824: Remove extra \end. 2002-12-03 18:09:02 +00:00
Andrew M. Kuchling b1e4bf9dc1 Bug #647387: corrections to the logging section by Vinay Sanjip 2002-12-03 13:35:17 +00:00
Guido van Rossum 9d4270070a Some more expected skips on OSX. 2002-12-03 10:24:56 +00:00
Guido van Rossum 6c7340552c Lose references to knee (no longer exists) and pyclbr (has its own
test suite now).
2002-12-03 09:34:54 +00:00
Guido van Rossum a1962d6efd Get rid of 1.5.2 compatibility hack. :-) 2002-12-03 09:28:36 +00:00
Marc-André Lemburg 0375079e93 Adding Python <= 2.2 support back in. 2002-12-03 08:45:11 +00:00
Guido van Rossum 7f6a439040 Add more sophistication to the comparison between pyclbr output and
real module, by filtering out aliased methods.  This, combined with
the recent fixes to pyclbr, make it possible to enable more tests with
fewer exceptions.
2002-12-03 08:16:50 +00:00
Guido van Rossum 0a6f954766 Another big update, fixing all known bugs related to nesting functions
and classes.  Also add a mini main program that dumps the results for
a given file or module.
2002-12-03 08:14:35 +00:00
Mark Hammond 4b2030fe0d Ensure the ssl temp directory exists! 2002-12-03 06:29:48 +00:00
Mark Hammond c3de008d62 _ssl.pyd added for Windows. 2002-12-03 06:16:08 +00:00
Mark Hammond 8af50bcf40 _ssl.pyd available for Windows. 2002-12-03 06:13:35 +00:00
Mark Hammond fbac75fc42 Add _ssl.pyd to the list of files to be installed by Wise. 2002-12-03 06:02:59 +00:00
Mark Hammond f229f9f1e7 Add _ssl build process for Windows. 2002-12-03 05:47:26 +00:00
Mark Hammond 4c88773142 My MSVC seems to like writing the project names in quotes. Letting it do
this before I add the _ssl project, so that checkin is cleaner.
2002-12-03 05:39:49 +00:00
Martin v. Löwis 9ef3376780 Avoid semicolon usage in echo. 2002-12-02 22:23:56 +00:00
Martin v. Löwis 779ffc066e Add compile-time errors for unsupported systems. 2002-12-02 22:17:01 +00:00
Guido van Rossum 7a98e8083c In class bsdTableDB, add class variables db and env (set to None) to
prevent close() called from __del__ from bombing out when __init__()
fails early.
2002-12-02 16:17:46 +00:00
Guido van Rossum 0d366b1418 Fix typo in except clause (_db should be _bsddb). 2002-12-02 16:08:54 +00:00
Guido van Rossum 62d45c0af9 Add XXX note about Sleepycat's BSDDB. 2002-12-02 15:49:13 +00:00
Guido van Rossum 0ed7aa1e03 Moderately heavy reorganization of pyclbr to fix package-related bugs.
- The _modules cache now uses the full module name.

- The meaning of the (internal!!!) inpackage argument is changed: it
  now is the parent package name, or None.  readmodule() doesn't
  support this argument any more.

- The meaning of the path argument is changed: when inpackage is set,
  the module *must* be found in this path (as is the case for the real
  package search).

- Miscellaneous cleanup, e.g. fixed __all__, changed some comments and
  doc strings, etc.

- Adapted the unit tests to the new semantics (nothing much changed,
  really).  Added some debugging code to the unit tests that print
  helpful extra info to stderr when a test fails (interpreting the
  test failures turned out to be hard without these).
2002-12-02 14:54:20 +00:00
Guido van Rossum c706c28d75 Add a better columnizer to print_topics(). 2002-12-02 13:08:53 +00:00
Guido van Rossum 3b10dc3554 Require 'largefile' resource for Mac OSX as well. 2002-12-02 10:42:30 +00:00
Guido van Rossum bb48465273 On Max OSX, try increasing the stack limit to 2048 so test_re and
test_sre won't die with a SegFault.
2002-12-02 09:56:21 +00:00
Kurt B. Kaiser 5f7c4b34b9 Remove dead code in get_stack().
Modify get_stack() and get_exception to be StackTreeItem methods.
SF Bug 610756.  Neal Norwitz.
2002-12-02 05:08:54 +00:00
Neal Norwitz 75bc8ba0d7 Fix SF # 646578, Documentation Typo 2002-12-02 04:42:58 +00:00
Kurt B. Kaiser 491427dfe1 Fix beep.
Then remove annoying beep, not needed with breakpoint highlighting.
2002-12-02 04:41:29 +00:00