summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-02-07 11:39:16 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-02-07 11:39:16 (GMT)
commit4da7d7822a1a99b9bd30cefe31c2496b7fd1e604 (patch)
tree7829cab85fa159994c04e341392b434cfe0e634f /Doc
parent6ff97f7e21af3ab4287f77f73fd17e4a9baa03a3 (diff)
downloadcpython-4da7d7822a1a99b9bd30cefe31c2496b7fd1e604.zip
cpython-4da7d7822a1a99b9bd30cefe31c2496b7fd1e604.tar.gz
cpython-4da7d7822a1a99b9bd30cefe31c2496b7fd1e604.tar.bz2
Merged revisions 78061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78061 | ronald.oussoren | 2010-02-07 12:38:28 +0100 (Sun, 07 Feb 2010) | 10 lines A number of APIs in macostools cannot work in 64-bit mode because they use Carbon APIs that aren't available there. This patch disables tests for the affected entrypoints in macostools and mentions this in the documentation. In theory it is possible to replace the implementation by code that does work in 64-bit mode, but that would require further updates to the Carbon wrappers because the modern APIs aren't wrapped properly. ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/macostools.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/library/macostools.rst b/Doc/library/macostools.rst
index 96d2897..fc26d2f 100644
--- a/Doc/library/macostools.rst
+++ b/Doc/library/macostools.rst
@@ -17,6 +17,8 @@ files, so it should not be used on UFS partitions.
This module has been removed in Python 3.0.
+
+
The :mod:`macostools` module defines the following functions:
@@ -28,17 +30,30 @@ The :mod:`macostools` module defines the following functions:
modification and backup times (default is to copy them). Custom icons, comments
and icon position are not copied.
+ .. note::
+
+ This function does not work in 64-bit code because it uses APIs that
+ are not available in 64-bit mode.
.. function:: copytree(src, dst)
Recursively copy a file tree from *src* to *dst*, creating folders as needed.
*src* and *dst* should be specified as pathnames.
+ .. note::
+
+ This function does not work in 64-bit code because it uses APIs that
+ are not available in 64-bit mode.
.. function:: mkalias(src, dst)
Create a finder alias *dst* pointing to *src*.
+ .. note::
+
+ This function does not work in 64-bit code because it uses APIs that
+ are not available in 64-bit mode.
+
.. function:: touched(dst)