| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
from Felix Wiemann. Closes patch #934971.
|
|
|
|
|
|
| |
* Document the differences between them
* Fix corner cases covered by the unittests
* Use Py_RETURN_NONE where possible for dictionaries
|
|
|
|
|
|
|
|
|
| |
- return the full size of the sockaddr_un structure, without which
bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
fork() can't handle the stress.
|
|
|
|
|
|
|
|
|
| |
M IOBinding.py
M NEWS.txt
M configDialog.py
- If nulls somehow got into the strings in recent-files.lst
EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
|
| |
|
|
|
|
|
|
|
|
| |
globaltrace_countfuncs() into file_module_function_of().
In that function use Michael Hudson's suggestion of gc.get_referrers() to
back up from the code object to a function, then to a class's dict and
finally to a class object if one exists.
|
|
|
|
|
| |
relationships at program exit. Output is a bit prettier than that for
--listfuncs but won't parse as easily using downstream postprocessing tools.
|
| |
|
| |
|
|
|
|
|
|
|
| |
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).
Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.
|
|
|
|
|
|
|
|
| |
close() calls would attempt to free() the buffer already free()ed on
the first close(). [bug introduced with patch #788249]
Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.
|
|
|
|
|
|
| |
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964.
|
|
|
|
| |
additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)
|
|
|
|
|
| |
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.
|
|
|
|
|
|
| |
The .closed property always returned the wrong result.
Bugfix candidate!
|
| |
|
|
|
|
|
| |
* Factor constant expressions out of loops.
* Presize a list being grown to a known length.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
version of Tcl other than ActiveTcl is installed (ActiveTcl
included TclX, other Tcl distros didn't).
I'm removing the package loading test because it's hard to
come up with a package that is guaranteed to be in any Tcl installation.
Special-casing darwin and windows is ok since that leaves the
only Tk platform (X) which the test was trying to address.
|
| |
|
|
|
|
|
|
|
|
|
| |
* pre-build a single identity function for the fixup function
* pre-build membership tests in dictionaries instead of in-line tuples
* assign len() to a local variable
* assign append() methods to a local variable
* use xrange() instead of range()
* replace "x<<1" with "x+x"
|
|
|
|
|
| |
scripts
closes SF bug 796042
|
|
|
|
|
|
| |
Fixed bug in platform() cache (thanks to Brett Cannon).
(Restored Python 1.5.2 compatibility.)
|
|
|
|
| |
Bumped version micro number.
|
|
|
|
| |
not taken into consideration when caching value.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks Andrew Gaul.
|
|
|
|
| |
Backported 2.3.
|
|
|
|
|
|
|
| |
Test suites for urllib and urlparse run with each other's function to verify
correctness of replacement and both test suites pass.
Bumped urllib's __version__ attribute up a minor number.
|
| |
|
|
|
|
| |
and one for sort order when using stdout. Uses optparse.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
requires and provides. requires is a sequence of strings, of the
form 'packagename-version'. The dependency checking so far merely
does an '__import__(packagename)' and checks for packagename.__version__
You can also leave off the version, and any version of the package
will be installed.
There's a special case for the package 'python' - sys.version_info
is used, so
requires= ( 'python-2.3', )
just works.
Provides is of the same format as requires - but if it's not supplied,
a provides is generated by adding the version to each entry in packages,
or modules if packages isn't there.
Provides is currently only used in the PKG-INFO file. Shortly, PyPI
will grow the ability to accept these lines, and register will be
updated to send them.
There's a new command 'checkdep' command that runs these checks.
For this version, only greater-than-or-equal checking is done. We'll
add the ability to specify an optional operator later.
|
| |
|
| |
|
|
|
|
| |
single-line loops.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
It's possible to create insane datetime objects by using the constructor
"backdoor" inserted for fast unpickling. Doing extensive range checking
would eliminate the backdoor's purpose (speed), but at least a little
checking can stop honest mistakes.
Bugfix candidate.
|
|
|
|
| |
when keep_blank_values is true.
|
| |
|
|
|
|
| |
dispatcher_with_send
|
|
|
|
| |
socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code
|
| |
|