| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug
and submitting a patch.
Adjust doc(object) to display useful documentation for plain values (e.g.
help([]) now shows the methods on the list instead of just printing "[]").
(This change has been tested interactively, by generating docs for the
standard library, and by running the module documentation webserver.)
|
| |
|
|
|
|
|
|
|
|
| |
[ 1124295 ] Function's __name__ no longer accessible in restricted mode
which I introduced with a bit of mindless copy-paste when making
__name__ writable. You can't assign to __name__ in restricted mode,
which I'm going to pretend was intentional :)
|
| |
|
|
|
|
| |
(closes SF bug #1115989)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(PyXML bug #1112052)
|
| |
|
|
|
|
| |
Fixes #1110478 and #1100235.
|
|
|
|
| |
Fixes bug #1110998.
|
|
|
|
|
| |
the version number. For the distutils version numbering scheme, see
http://mail.python.org/pipermail/distutils-sig/2005-January/004368.html
|
|
|
|
| |
Backport from trunk.
|
|
|
|
| |
erroring out.
|
| |
|
|
|
|
| |
Clarified that the returned object is file-like rather than an actual file.
|
|
|
|
| |
Fix and test for SF bug #1098990: codec readline() splits lines apart.
|
|
|
|
|
| |
text mode may cause newline translations, making the actual size of the content
transmitted *less* than the content-length.
|
|
|
|
|
|
| |
treat '?' as a delimiter. Previously, the 'network location' (<authority> in
RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not
allow a '?' in <authority>. See bug #548176 for further discussion.
|
|
|
|
|
| |
get_method, removing some duplication and gaining some flexibility in the
process.
|
|
|
|
| |
Allow relative URLs for included databases and packages.
|
|
|
|
|
|
|
|
|
| |
After discussion on the PythonMac-SIG it was decided that it is better
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
prevent leaving zombies.
|
|
|
|
| |
(Removed at Ping's request.)
|
|
|
|
| |
(Contributed by Jiwon Seo.)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more. Thanks to Simon Percivall!
The patch makes changes to inspect.py in two places:
* the pattern to match against functions at line 436 is
modified: lambdas should be matched even if not
preceded by whitespace, as long as "lambda" isn't part
of another word.
* the BlockFinder class is heavily modified. Changes are:
- checking for "def", "class" or "lambda" names
before setting self.started to True. Then checking the
same line for word characters after the colon (if the
colon is on that line). If so, and the line does not
end with a line continuation marker, raise EndOfBlock
immediately.
- adding self.passline to show that the line is to be
included and no more checking is necessary on that
line. Since a NEWLINE token is not generated when a
line continuation marker exists, this allows getsource
to continue with these functions even if the following
line would not be indented.
Don't backport the tests, as these have been too heavily modified on the trunk.
|
|
|
|
| |
Fix wrong variable name.
|
|
|
|
| |
Fix wrong variable name.
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
to an uninitialized pointer: fixes the problem and adds a test case
|
|
|
|
|
|
|
|
|
| |
was pending. Restored the quit() of the readline() mainloop().
http://mail.python.org/pipermail/idle-dev/2004-December/002307.html
M NEWS.txt
M PyShell.py
M idlever.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()
trying to return a complete line even if a size parameter was given (see
http://www.python.org/sf/1076985). This leads to buffer overflows with long
source lines under Windows if e.g. cp1252 is used as the source encoding.
This patch reverts the behaviour of readline() to something that behaves more
like Python 2.3: If a size parameter is given, read() is called only once.
As a side effect of this, readline() now supports all types of linebreaks
supported by unicode.splitlines().
Note that the tokenizer is still broken and it's possible to provoke segfaults
(see http://www.python.org/sf/1089395).
|
|
|
|
| |
(Patch by Armin Rigo.)
|
|
|
|
| |
immediately segfaults, due to a typo!
|
|
|
|
| |
* return an integer rather than a boolean
|
|
|
|
| |
available.
|
|
|
|
| |
* The decimal module wouldn't run on builds without threads.
|
| |
|
|
|
|
| |
as suggested by Michael Hudson.
|
|
|
|
| |
The sys module could be called before being imported.
|
|
|
|
| |
the permission errors don't get provoked that way.
|
|
|
|
| |
fix for bug #1077302.
|
|
|
|
| |
slightly modified.
|