| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
POSIX platforms, ie. get a little more detail than 'sys.platform' gives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all that work when someone asks for a "configuration variable" from the
Makefile. Details:
- added 'get_config_vars()': responsible for calling one of the
'_init_*()' functions to figure things out for this platform,
and to provide an interface to the resulting dictionary
- added 'get_config_var()' as a simple interface to the dictionary
loaded by 'get_config_vars()'
- changed the '_init_*()' functions so they load the global dictionary
'_config_vars', rather than spewing their findings all over
the module namespace
- don't delete the '_init_*()' functions when done importing
- adjusted 'customize_compiler()' to the new regime
|
|
|
|
|
| |
comments are stripped and lines are joined according to the backslash
convention.
|
|
|
|
| |
ignoring them; e.g. Zope sometimes returns 13497L
|
|
|
|
|
|
|
|
|
|
| |
character according to RFC 2396. Add some text to quote doc string
that explains the quoting rules better.
This closes SF Bug #114427.
Add _fast_quote operation that uses a dictionary instead of a list
when the standard set of safe characters is used.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mailbox.py (from the CVS tree) doesn't work with qmail Maildirs:
Filenames are completed when the directories are scanned, and
the directory name is prepended again in the next() method.
Another suggestion: Change the print statement in the _test()
driver to show two more date characters (probably the length
has increased due to the recent Y2K hype ;). Now it shows the
complete date, including the seconds -- at least for me. (I've
also made the sender field left justified, in case it is ever
shorter than the field width).
|
|
|
|
| |
compilation).
|
| |
|
|
|
|
| |
<prefix>:Lib:site-packages.
|
|
|
|
| |
directory too. Also generally cleaned up the code.
|
| |
|
|
|
|
| |
was raised. This occurred during installation.
|
| |
|
|
|
|
| |
generated filenames.
|
|
|
|
|
| |
interpreter the .spec file refers to.
Cosmetic tweaks.
|
|
|
|
|
|
|
|
| |
used to create the distribution and the creation date.
Takes care of the extra_path argument to the setup function,
installs the modules into <prefix>/extra_path and creates
a -pth file (like install_lib does).
|
|
|
|
| |
for python installations, not only under HKEY_LOCAL_MACHINE.
|
|
|
|
|
|
|
|
| |
Paid more attention to the comments on the report; Martin suggested just
not having a __del__() method, which makes more sense in this case. So
I have removed it.
This closes SourceForge bug #113850. Again.
|
|
|
|
|
|
|
|
| |
The posixfile __del__ method attempts to close the file (_file_) it
contains. However, if the open() method fails, then _file_ is never
assigned.
This closes SourceForge bug #113850.
|
|
|
|
| |
(SF patch 101447, fixing PR#113704)
|
|
|
|
| |
various illegal uses of "continue".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distutils/command/bdist_wininst.py:
- the windows installer is again able to compile after installing
the files. Note: The default has changed, the packager has to
give --no-target-compile/--no-target-optimize to NOT compile
on the target system. (Another note: install_lib's --compile
--optimize options have the same semantics to switch off
the compilation. Shouldn't the names change?)
- All references to specific python versions are gone.
- A small bug:
raise DistutilsPlatformError ("...")
instead of
raise DistutilsPlatformError, ("...")
- When bdist_wininst creates an installer for one specific python
version, this is reflected in the name:
Distutils-0.9.2.win32-py15.exe instead of
Distutils-0.9.2.win32.exe
- bdist_wininst, when run as script, reads the wininst.exe file
and rewrites itself. Previously this was done by hand.
misc/install.c
- All the changes needed for compilation
- Deleted a lot of debug/dead code
|
|
|
|
| |
to zero if that's the case (closes bug #113727)
|
|
|
|
| |
they are copied as atomic types.
|
| |
|
| |
|
|
|
|
|
|
| |
- 'mkpath()' the distribution dir in case of empty manifest
- warn if empty manifest
- detect, warn about, and skip non-regular files in manifest
|
|
|
|
|
| |
bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist.
Don't hardcode setup.py, use 'self.distribution.script_name'.
|
| |
|
| |
|
|
|
|
| |
display the information you would expect them to display.
|
|
|
|
|
|
|
|
| |
separator in the href, not os.sep.
Added a <title> tag to directory listings.
Bumped version to 0.5.
|
|
|
|
|
|
|
|
|
|
|
| |
waste an hour tracking down an illusion; repaired it; writing/reading non-
printable characters (except \t\r\n) into/outof text-mode files ain't
defined x-platform, and at least some Windows text editors do surprising
things in their presence.
Also added a by-hand "build humber" to the Windows build, in an approximation
of Python's inexplicable BUILD-number Unix scheme. I'll try to remember to
increment it each time I make a Windows installer available. It's starting
at 2, cuz I've put 2 installers out so far (both with BUILD #0).
|
|
|
|
| |
(pointed out by /F)
|
|
|
|
|
| |
The returned file is assigned to an instance variable;
otherwise the implied close hangs for a long time.
|
| |
|
|
|
|
|
|
|
|
|
| |
This was a funny one! The test very subtly relied on 1.5.2's
behavior of treating "\x%" as "\x%", i.e. ignoring that was an
\x escape that didn't make sense. But /F implemented PEP 223,
which causes 2.0 to raise an exception on the bad escape.
Fixed by merely making the 3 such strings of this kind into
raw strings.
|
|
|
|
| |
None (as documented) from start/end/span. closes bug #113254
|
|
|
|
|
| |
-- improved the SRE test harness: don't use asserts, test a few more
things (including more boundary conditions)
|
|
|
|
| |
"sre_parse.py missing '7' in DIGITS"
|
| |
|
|
|
|
|
|
|
|
| |
newlines at the start or end. Fiddle test_popen2 and popen2._test() to
tolerate this. Also change all "assert"s in these tests to raise
explicit exceptions, so that python -O doesn't render them useless.
Also, in case of error, make the msg display the reprs of what we
wrote and what we read, so we can tell exactly why it's failing.
|
|
|
|
|
|
| |
Fix import support to work with import as variant of Python 2.0. The
grammar for import changed, requiring changes in transformer and code
generator, even to handle compilation of imports with as.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python test suite. Specifically,
- import time instead of strop in test_b1
- test for ClassType of exceptions using isinstance instead of
equality in test_exceptions
- remove __builtins__ from dir() output in test_pkg
test_pkg output needs to be regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#101187, which some modifications. Specifically,
ntransfercmd(), transfercmd(), and retrbinary() all grow an optional
`rest' argument, which if not None, is used as the argument to an FTP
REST comman dbefore the socket is returned. Differences from the SF
patch:
- always compare against None with `is' or `is not' instead of == or !=
- no parens around conditional
- RFC 959 defines the argument to REST is a string containing any
ASCII characters in the range [33..126]. Therefore, we use the %s
format character instead of %f or %d as suggested in the patch's
comments. Note that we do /not/ sanity checkthe contents of the
rest argument (but we'll document this in the library reference
manual).
|
|
|
|
|
|
| |
unbuffered (by setting the class variable rbufsize to 0), because we
(may) need to pass the file descriptor to the subprocess running the
CGI script positioned after the headers.
|