Fred Drake
2f36b3e205
Version updates for Python 2.3.
2003-04-26 00:52:30 +00:00
Guido van Rossum
ecf0f02518
Merge back from r23b1-branch
2003-04-26 00:21:31 +00:00
Guido van Rossum
fa1eddfb21
Update version number and release date.
2003-04-25 19:19:52 +00:00
Guido van Rossum
c2f77dddf3
New feature: when saving a file, keep the eol convention of the
...
original. New files are written using the eol convention of the
platform, given by os.linesep. All files are read and written in
binary mode.
2003-04-25 18:36:31 +00:00
Fred Drake
9635268ea9
organizational and markup cleansing
2003-04-25 18:02:34 +00:00
Kurt B. Kaiser
9a90e70b32
Update for release into Python
...
NEWS.txt idlever.py
2003-04-25 17:48:08 +00:00
Fred Drake
c440af5495
Updated information on package metadata to reflect recent additions.
...
This is a modified form of SF patch #718027 (mostly markup changes).
2003-04-25 16:43:28 +00:00
Kurt B. Kaiser
40f19e3fd5
Update for 2.3b1
...
Modified Files:
NEWS.txt CREDITS.txt INSTALL.txt setup.cfg
2003-04-25 16:37:31 +00:00
Fred Drake
d198f38505
- add availability statements for some of the new APIs
...
- lots of general cleanup
2003-04-25 16:16:02 +00:00
Skip Montanaro
5ba0054e69
final bit of tests converted from test_sre
2003-04-25 16:00:14 +00:00
Skip Montanaro
9593792da3
test_sre is dead! long live test_re!
2003-04-25 15:59:12 +00:00
Skip Montanaro
35b9ff3683
deleted more tests which were either already in test_re or that I migrated
...
in the last revison
2003-04-25 15:41:19 +00:00
Skip Montanaro
1e703c6278
more tests converted from test_sre
2003-04-25 15:40:28 +00:00
Fred Drake
53e5b71bbc
Add modified versions of the examples from Sean Reifschneider
...
(SF patch #545480 ).
2003-04-25 15:27:33 +00:00
Guido van Rossum
b016752d8b
Fix a copy-paste error: the paragraph about inet_ntop's use was copied
...
literally from inet_pton.
2003-04-25 15:26:58 +00:00
Skip Montanaro
bf7ad96d36
Remove tests which were migrated to test_re.py. There are still more tests
...
to migrate.
2003-04-25 15:17:03 +00:00
Skip Montanaro
5d0136e297
reflect csv's change back to a module. Document the new sniffer api.
2003-04-25 15:14:49 +00:00
Fred Drake
9f48045ec0
Use a simpler \note instead of a "See also" section to refer to the
...
os.walk() generator.
2003-04-25 15:12:47 +00:00
Guido van Rossum
f4001eed3b
Skip testing inet_ntop() an inet_pton() if they aren't defined.
...
This makes the test pass on Windows again (and on other platforms
that don't have these).
2003-04-25 15:11:23 +00:00
Guido van Rossum
51735b0569
Fix the tests on Windows, by writing the test data file in binary
...
mode.
XXX I'm not convinced that this is the right solution -- arguably,
on Windows, the _fileobject class should honor the mode argument
and do newline translation. But it's never done that so I think
there's no urgent need to fix this today.
2003-04-25 15:01:05 +00:00
Neal Norwitz
6eb502f267
Add versionadded for has_ipv6 attribute
2003-04-25 14:53:48 +00:00
Neal Norwitz
cabf56f8b4
Fix markup
2003-04-25 14:52:41 +00:00
Fred Drake
2194a4eede
markup adjustments
2003-04-25 14:50:06 +00:00
Skip Montanaro
1448d4719c
rework Sniffer api significantly
2003-04-25 14:47:16 +00:00
Skip Montanaro
48816c6f04
some sniffer tests
2003-04-25 14:43:14 +00:00
Skip Montanaro
2726fcd4b6
more tests from test_sre
2003-04-25 14:31:54 +00:00
Fred Drake
7c852f33a2
Attempt to deal with some obvious errors in the code. These were all
...
due to using a single module-level namespace where multiple namespaces
were used before.
There *really* need to be tests for the sniffer stuff. This could
have been avoided.
Skip, please review, and add sniffer tests!
2003-04-25 14:27:00 +00:00
Guido van Rossum
376e636f18
New version from Vinaj, should solve the threading problems (hopefully).
2003-04-25 14:22:00 +00:00
Skip Montanaro
7d9963fea8
copy a few tests from test_sre
2003-04-25 14:12:40 +00:00
Walter Dörwald
dbcede5d66
Port test_bool.py to PyUnit. From SF patch #662807 .
2003-04-25 10:22:01 +00:00
Brett Cannon
74bfd70e92
Complete rewrite of module. Only has tests using temporary files; net tests
...
should go in test_urllibnet.py .
Still need to write tests for _urlopener usage and urlretrieve.
2003-04-25 09:39:47 +00:00
Tim Peters
c4e0940042
New generator os.walk() does a bit more than os.path.walk() does, and
...
seems much easier to use. Code, docs, NEWS, and additions to test_os.py
(testing this sucker is a bitch!).
2003-04-25 07:11:48 +00:00
Guido van Rossum
e7adda9035
Move socket news to 2.3b1 section! And mention has_ipv6.
2003-04-25 05:52:37 +00:00
Guido van Rossum
47dfa4a89a
Patch by Jp Calderone:
...
- The socket module now provides the functions inet_pton and inet_ntop
for converting between string and packed representation of IP addresses.
See SF patch #658327 .
This still needs a bit of work in the doc area, because it is not
available on all platforms (especially not on Windows).
2003-04-25 05:48:32 +00:00
Guido van Rossum
45f4130029
test_re is no longer needed
2003-04-25 01:44:40 +00:00
Guido van Rossum
46144be02c
Fix test_limitations(). The match there is *expected* to raise
...
RuntimeError.
2003-04-25 01:40:11 +00:00
Andrew M. Kuchling
f8d0c075b2
[Patch #628208 ] Document the allow_none argument
2003-04-25 00:29:31 +00:00
Andrew M. Kuchling
0b85203954
[Patch #628208 ] Test the 'nil' extension
2003-04-25 00:27:24 +00:00
Andrew M. Kuchling
a4c2b7485b
[Patch #628208 ] Add optional support for the 'nil' extension
2003-04-25 00:26:51 +00:00
Tim Peters
abea7ea9f9
Try to recover from changes in the structure of the CSV package/module.
2003-04-24 21:52:16 +00:00
Tim Peters
2af713c2f7
Squashed new compiler wngs about trying to compare pointers to
...
functions with different signatures.
2003-04-24 20:59:52 +00:00
Skip Montanaro
da4ec5a7bc
csv is a module again
2003-04-24 20:23:12 +00:00
Skip Montanaro
04ae7056cf
cvs is going to be a module again
2003-04-24 20:21:31 +00:00
Raymond Hettinger
b34ef94d46
SF bug 557704: netrc module can't handle all passwords
...
Let netrc handle entries with login fields (mail servers for instance)
by having login default to ''.
Backport candidate.
2003-04-24 20:11:20 +00:00
Skip Montanaro
bfcbfa7c46
move imports in Binary class to top level to avoid repeated imports.
...
use cStringIO if available.
2003-04-24 19:51:31 +00:00
Skip Montanaro
fa012610c4
new method: has_function() - returns a boolean indicating whether the
...
argument function is available on the current platform
2003-04-24 19:49:23 +00:00
Skip Montanaro
8ed06da754
first cut at unittest version of re tests
2003-04-24 19:43:18 +00:00
Skip Montanaro
d839ecdc81
if the test is run directly (__name__ == "__main__") don't actually require
...
particular resources
2003-04-24 19:06:57 +00:00
Skip Montanaro
142da98beb
remove test_socketserver from the skip lists
2003-04-24 19:05:41 +00:00
Skip Montanaro
3bd3c8403a
* minor tweaks relating to the package nature of the beast
...
* added an (incomplete) description of the utils.Sniffer class
2003-04-24 18:47:31 +00:00