Brett Cannon
f0cb1d7ad6
Have cfmfile raise a DeprecationWarning as per PEP 4.
2007-05-31 20:01:11 +00:00
Brett Cannon
791d56f1f7
Cause buildtools to raise a DeprecationWarning.
2007-05-31 19:40:42 +00:00
Brett Cannon
c2aa09ad80
Have the sha module raise a DeprecationWarning as specified in PEP 4.
2007-05-31 19:20:00 +00:00
Neal Norwitz
03b75fa4e1
Add some spaces in the example code.
2007-05-31 04:14:22 +00:00
Brett Cannon
7eec217908
Have md5 raise a DeprecationWarning as per PEP 4.
2007-05-30 22:24:28 +00:00
Brett Cannon
c249bdab92
Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the
...
module as deprecated for a while.
2007-05-30 21:48:58 +00:00
Brett Cannon
90134c9a05
Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation.
2007-05-30 20:46:26 +00:00
Thomas Heller
b4eec28e33
Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
...
Closes bug #1726026 .
2007-05-30 07:01:25 +00:00
Thomas Heller
601aa414b2
Fix compiler warnings.
2007-05-30 06:58:30 +00:00
Neal Norwitz
2fca81cc4c
Fix indentation (whitespace only).
2007-05-30 04:53:41 +00:00
Neal Norwitz
adf694bd95
Fix typo in doc
2007-05-29 07:51:39 +00:00
Georg Brandl
d4e42dccf0
Fix rst markup.
2007-05-29 07:16:47 +00:00
Martin v. Löwis
e9607e24a7
Revert 55634.
2007-05-29 04:02:03 +00:00
Martin v. Löwis
a652f69c1c
Test pre-commit hook for a link to a .py file.
2007-05-29 04:01:29 +00:00
Raymond Hettinger
1749a13532
Explain when groupby() issues a new group.
2007-05-28 05:23:22 +00:00
Lars Gustäbel
a0fcb9384e
Added errors argument to TarFile class that allows the user to
...
specify an error handling scheme for character conversion. Additional
scheme "utf-8" in read mode. Unicode input filenames are now
supported by design. The values of the pax_headers dictionary are now
limited to unicode objects.
Fixed: The prefix field is no longer used in PAX_FORMAT (in
conformance with POSIX).
Fixed: In read mode use a possible pax header size field.
Fixed: Strip trailing slashes from pax header name values.
Fixed: Give values in user-specified pax_headers precedence when
writing.
Added unicode tests. Added pax/regtype4 member to testtar.tar all
possible number fields in a pax header.
Added two chapters to the documentation about the different formats
tarfile.py supports and how unicode issues are handled.
2007-05-27 19:49:30 +00:00
Neal Norwitz
0ac601995c
Add the new function object attribute names from py3k.
2007-05-27 04:08:54 +00:00
Peter Astrand
81a191b351
Applied patch 1669481, slightly modified: Support close_fds on Win32
2007-05-26 22:18:20 +00:00
Walter Dörwald
5f9b6c9a1b
Fix typo.
2007-05-26 21:04:13 +00:00
Kristján Valur Jónsson
629ec26f63
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
2007-05-26 19:31:39 +00:00
Kristján Valur Jónsson
ba526438f8
Remove the rgbimgmodule from PCBuild8
2007-05-26 19:19:50 +00:00
Brett Cannon
6cef076ba5
Remove direct call's to file's constructor and replace them with calls to
...
open() as ths is considered best practice.
2007-05-25 20:17:15 +00:00
Vinay Sajip
cf99b65932
Updated documentation for SysLogHandler ( #1720726 ).
2007-05-25 07:06:55 +00:00
Vinay Sajip
754a5fb640
Updated docstring for SysLogHandler ( #1720726 ).
2007-05-25 07:05:59 +00:00
Neal Norwitz
38917f56fe
Get test passing again by commenting out the reference to the test class.
2007-05-25 05:13:40 +00:00
Facundo Batista
d9880d07fc
Commenting out the tests until find out who can test them in
...
one of the problematic enviroments.
2007-05-25 04:20:22 +00:00
Facundo Batista
e312416809
Fixing stupid error, and introducing a sleep, to see if the
...
other thread is awakened and finish sending data.
2007-05-25 03:47:19 +00:00
Facundo Batista
b4dfafaba6
Trying to make the tests work in Windows and Solaris, everywhere
...
else just works
2007-05-25 03:10:28 +00:00
Facundo Batista
62c744e7d1
Let's see if reading exactly what is written allow this live
...
test to pass (now I know why there were so few tests in ftp,
http, etc, :( ).
2007-05-24 20:51:19 +00:00
Facundo Batista
965fa24e8d
Removed the .recv() in the test, is not necessary, and was
...
causing problems that didn't have anything to do with was
actually being tested...
2007-05-24 20:01:59 +00:00
Facundo Batista
711a54ebde
Added an optional timeout parameter to urllib.ftpwrapper, with tests
...
(for this and a basic one, because there weren't any). Changed also
NEWS, but didn't find documentation for this function, assumed it
wasn't public...
2007-05-24 17:50:54 +00:00
Georg Brandl
dd96ca3d6b
Fix parameter passing.
2007-05-24 17:33:33 +00:00
Georg Brandl
c90bc75994
shlex.split() now has an optional "posix" parameter.
2007-05-24 16:49:29 +00:00
Neal Norwitz
df25efeae9
Add a bunch more deprecation warnings for builtins that are going away in 3.0
2007-05-23 06:58:36 +00:00
Neal Norwitz
c792629c83
Whitespace cleanup
2007-05-23 06:57:35 +00:00
Neal Norwitz
8b2bfbc198
Add -3 option to the interpreter to warn about features that are
...
deprecated and will be changed/removed in Python 3.0.
This patch is mostly from Anthony. I tweaked some format and added
a little doc.
2007-05-23 06:35:32 +00:00
Mark Hammond
5f2ba9f2b1
Remove definition of PY_UNICODE_TYPE from pyconfig.h, allowing the
...
definition in unicodeobject.h to be used, giving us the desired
wchar_t in place of 'unsigned short'. As discussed on python-dev.
2007-05-23 02:04:28 +00:00
Georg Brandl
a69c02ecd1
Remove the "panel" module doc file which has been ignored since 1994.
2007-05-22 14:28:17 +00:00
Neal Norwitz
a84dcd7546
Stop using METH_OLDARGS implicitly
2007-05-22 07:16:44 +00:00
Neal Norwitz
e2e447b6fb
Stop using METH_OLDARGS
2007-05-22 07:16:10 +00:00
Neal Norwitz
6f145fce06
Document new params to HTTPSConnection
2007-05-22 06:03:36 +00:00
Georg Brandl
2134e754f2
Patch #1686487 : you can now pass any mapping after '**' in function calls.
2007-05-21 20:34:16 +00:00
Facundo Batista
70f996be24
Added timeout support to HTTPSConnection, through the
...
socket.create_connection function. Also added a small
test for this, and updated NEWS file.
2007-05-21 17:32:32 +00:00
Raymond Hettinger
767debb6aa
Allow all alphanumeric and underscores in type and field names.
2007-05-21 16:40:10 +00:00
Raymond Hettinger
0d6a8ccfb7
Replace assertion with straight error-checking.
2007-05-21 08:13:35 +00:00
George Yoshida
5faa75f3c1
fix against r55474 [Remove the macfs module]
...
Remove "libmacfs.tex" from Makefile.deps and mac/mac.tex.
2007-05-21 04:41:21 +00:00
Martin v. Löwis
6f738162ae
Add Alexandre Vassalotti.
2007-05-21 04:35:47 +00:00
Andrew M. Kuchling
0f852e2740
Note removed modules
2007-05-21 00:03:15 +00:00
Brett Cannon
41bf2fad62
Cause posixfile to raise a DeprecationWarning. Documented as deprecated since
...
Ptyhon 1.5.
2007-05-20 23:57:38 +00:00
Brett Cannon
49da0ead95
Move imgfile import to the global namespace to trigger an import error ASAP to
...
prevent creation of a test file.
2007-05-20 23:56:18 +00:00