Mark Dickinson
a3a505076e
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
2010-04-03 18:17:54 +00:00
Mark Dickinson
74c5c2b2a1
Replace backquotes with repr(), to silence a SyntaxWarning.
2010-04-03 16:54:02 +00:00
Mark Dickinson
920fd66ac6
Ensure 'module removed' warning messages contain the word 'module' or 'package'.
...
This should fix the test_py3kwarn failure on OS X. test_support.import_module
also requires this.
2010-04-03 16:41:20 +00:00
Benjamin Peterson
b3be23ad27
remove the svn:executable property from files that don't have shebang lines
2010-03-05 03:20:06 +00:00
Georg Brandl
1f6176e794
Fix some name errors in Mac modules.
2010-02-06 23:54:43 +00:00
Ronald Oussoren
626faeb77b
Fix for issue 4937
2009-09-06 12:23:18 +00:00
Ronald Oussoren
2596758cb4
Fix build issues on OSX 10.6 (issue 6802)
2009-09-06 10:00:26 +00:00
Mark Dickinson
3e4caeb3bf
Issue #5341 : Fix a variety of spelling errors.
2009-02-21 20:27:01 +00:00
Ronald Oussoren
072bb405f3
Fix for issues #841800 and #900506
2009-01-02 15:25:36 +00:00
Ronald Oussoren
abcc168c69
Fix for issue 1149804
2009-01-02 15:00:05 +00:00
Ronald Oussoren
919697cefe
Fix for issue r1737832
2009-01-02 14:52:09 +00:00
Ronald Oussoren
7f8cbf0e73
Fix for issue 1627952
2009-01-02 14:48:17 +00:00
Ronald Oussoren
63b74feb51
Fix for issue 900949
2009-01-02 14:46:19 +00:00
Benjamin Peterson
a6864e0d9f
fix test_py3kwarns
...
The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
2008-07-14 17:42:17 +00:00
Benjamin Peterson
236819310d
Add warnings to and deprecated all those Mac modules
2008-05-12 21:42:13 +00:00
Alexandre Vassalotti
1fcaa77ac5
Revert commit r63086.
2008-05-11 23:12:38 +00:00
Alexandre Vassalotti
8940ecd39d
Added stub for the PixMapWrapper module to be renamed in 3.0.
...
Modified TestStdlibRenames to support platform specific renames.
Added test for PixMapWrapper rename warning.
Added note to documentation about PixMapWrapper rename.
2008-05-11 20:30:43 +00:00
Ronald Oussoren
26f545c662
Fix for issue #2520 (cannot import macerrors)
2008-05-02 21:54:56 +00:00
Ronald Oussoren
f2ef92cee7
Fix for #1905 : PythonLauncher not working correctly on OSX 10.5/Leopard
...
This fixes both Python Launchar and the terminalcommand module.
2008-05-02 21:42:35 +00:00
Benjamin Peterson
5b63acd31e
#2503 make singletons compared with "is" not == or !=
...
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Georg Brandl
864de8274c
#1555501 : document plistlib and move it to the general library.
2008-01-21 16:34:07 +00:00
Christian Heimes
0613188bc3
Fixed #1687 : plistlib.py restricts <integer> to Python int when writing
2008-01-04 00:04:52 +00:00
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
5e2635103c
Remove the macfs module. This led to the deprecation of macostools.touched();
...
it completely relied on macfs and is a no-op on OS X according to code
comments.
2007-05-20 23:17:38 +00:00
Neal Norwitz
42dd86b8e2
Deprecate os.popen* and popen2 module in favor of the subprocess module.
2007-05-11 06:57:33 +00:00
Neal Norwitz
ca460d9722
with and as are now keywords. There are some generated files I can't recreate.
2006-09-06 06:28:06 +00:00
Ronald Oussoren
4b7a6c8b58
* If BuildApplet.py is used as an applet it starts with a version of
...
sys.exutable that isn't usuable on an #!-line. That results in generated
applets that don't actually work. Work around this problem by resetting
sys.executable.
* argvemulator.py didn't work on intel macs. This patch fixes this
(bug #1491468 )
2006-06-07 20:18:44 +00:00
Martin Blais
215f13dd11
Normalized a few cases of whitespace in function declarations.
...
Found them using::
find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done
(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well. If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
Ronald Oussoren
fb2a169ce3
Drop Mac wrappers for the WASTE library.
2006-06-04 14:24:59 +00:00
Tim Peters
cbd7b756e4
Whitespace normalization.
2006-05-16 23:22:20 +00:00
Ronald Oussoren
836b039b7c
Rework the build system for osx applications:
...
* Don't use xcodebuild for building PythonLauncher, but use a normal unix
makefile. This makes it a lot easier to use the same build flags as for the
rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
easier modification of the bundle contents later on.
2006-05-14 19:56:34 +00:00
Georg Brandl
bffb0bc064
In stdlib, use hashlib instead of deprecated md5 and sha modules.
2006-04-30 08:57:35 +00:00
Ronald Oussoren
6c1074888e
This patches fixes a number of byteorder problems in MacOSX specific code.
2006-04-17 13:40:08 +00:00
Neal Norwitz
8142cb6f20
Damn another occurrence of using as as a keywordf
2006-03-22 07:13:30 +00:00
Jack Jansen
de540e2288
Got rid of byte-order dependencies.
2006-02-23 14:54:30 +00:00
Georg Brandl
08c02dbb85
[ 1243081 ] repair typos
2005-07-22 18:39:19 +00:00
Tim Peters
5a9fb3c415
Whitespace normalization.
2005-01-07 16:01:32 +00:00
Jack Jansen
1dd087cbad
Allow relative URLs for included databases and packages.
2005-01-07 13:43:31 +00:00
Jack Jansen
af304a6c16
- Added an "installer" flavor, which uses the "open" command to install
...
something (overridable through Install-command entry)
- Hidden status is now determined by flavor == hidden, not by
missing Download-URL. Hidden packages behave like installer packages.
- Made some error messages a bit more understandable.
Because there's new functionality the version has been upped to 0.5.
2005-01-03 15:44:18 +00:00
Jack Jansen
702af67d47
- getDefaultDatabase wasn't listed in __all__.
...
- using a different database for non-final releases should only be done
for X.Y.0. Non-final micro releases can use the default database just fine,
as they are required to be backward compatible.
2004-12-28 21:33:27 +00:00
Jack Jansen
c77f6dfd92
Fix for #1091468 : DESTROOTed frameworkinstalls fail. Added a --destroot
...
option to various tools, and do the right thing when we're doing a destroot
install.
Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Just van Rossum
2dae7646c3
On second thought: "Errors should never pass silently", so barf when a
...
string contains control chars that are illegal for XML
2004-11-12 09:36:12 +00:00
Just van Rossum
b84330d368
- \f is not a valid XML character
...
- reformatted regex pattern, use r"" consistently
2004-11-12 08:14:49 +00:00
Just van Rossum
26e811abd5
reordered a couple of things
2004-11-12 08:02:35 +00:00
Just van Rossum
1f74ef0fa3
Made <data> output match Apple's exactly. To do that I had to add a custom
...
version of base64.encodestring() so I could control the line length of the
base64 output.
2004-10-26 10:30:55 +00:00
Just van Rossum
8b8decea21
also escape '>', to closer match Apple's plist output
2004-10-26 10:11:00 +00:00
Just van Rossum
368c0b22f8
Deprecating Dict class; going through a few hoops to get the warnings right.
2004-10-26 07:38:16 +00:00
Just van Rossum
7c9448755b
- Removed Date class. We don't really need it for b/w compatibility since
...
a) the functionality depended on PyXML before and b) hardly worked to
begin with.
- Instead, output and require upon input datetime.datetime objects.
2004-10-26 07:20:26 +00:00