]>
granicus.if.org Git - python/log
Alexander Belopolsky [Fri, 23 Jul 2010 19:25:47 +0000 (19:25 +0000)]
Issue #7989: Added pure python implementation of the datetime module.
Brett Cannon [Fri, 23 Jul 2010 16:58:57 +0000 (16:58 +0000)]
Add Brian Brazil.
Brett Cannon [Fri, 23 Jul 2010 16:58:21 +0000 (16:58 +0000)]
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 16:56:21 +0000 (16:56 +0000)]
Add queue tests for empty, full, put_nowait, and get_nowait.
Closes issue 9357. Thanks to Brian Brazil for the patch.
Georg Brandl [Fri, 23 Jul 2010 16:55:42 +0000 (16:55 +0000)]
Update to 1.0.
Georg Brandl [Fri, 23 Jul 2010 16:55:26 +0000 (16:55 +0000)]
Fix some markup glitches.
Ezio Melotti [Fri, 23 Jul 2010 16:48:22 +0000 (16:48 +0000)]
#9359: fix typo. Thanks to Piotr Kasprzyk for the patch.
Brian Curtin [Fri, 23 Jul 2010 16:30:10 +0000 (16:30 +0000)]
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
Brett Cannon [Fri, 23 Jul 2010 16:23:13 +0000 (16:23 +0000)]
Add tests for fnmatch.filter and translate.
Partially closes issue 9356. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 16:22:25 +0000 (16:22 +0000)]
Make fnmatch be more PEP 8 compliant.
Partially closes issue 9356. Thanks to Brian Brazil for the patch.
Richard Jones [Fri, 23 Jul 2010 16:20:40 +0000 (16:20 +0000)]
New tests for smtpd module. Has full coverage for SMTPChannel and SMTPServer.
Ronald Oussoren [Fri, 23 Jul 2010 16:05:35 +0000 (16:05 +0000)]
Ensure that sys.prefix can reliably be found
on OSX. This fixes a small issue that was exposed
by running test_subprocess through regrtest (and
hence in a subdirectory).
Without this patch running python.exe from the
build tree will fail when these tree conditions
are true:
1) the CWD is not the root of build tree
2) python.exe is found through $PATH
3) the framework is not yet installed
Brett Cannon [Fri, 23 Jul 2010 15:50:52 +0000 (15:50 +0000)]
Add more tests for the threading.Thread.repr.
Partially closes issue 9346. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 15:50:02 +0000 (15:50 +0000)]
Rip out old testing code that was inlined in threading.
Partially closes issue 9346. Thanks Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 15:43:14 +0000 (15:43 +0000)]
Rename some macros in the sha1 module to no longer conflict with termios.h.
Brett Cannon [Fri, 23 Jul 2010 14:45:19 +0000 (14:45 +0000)]
Stop shadowing a test class.
Brett Cannon [Fri, 23 Jul 2010 14:03:16 +0000 (14:03 +0000)]
Explicitly test relative imports by reusing importlib tests.
Closes issue 8392. Thanks Virgil Dupras for the initial patch.
Brett Cannon [Fri, 23 Jul 2010 13:54:14 +0000 (13:54 +0000)]
Test calendar.monthrange.
Closes issue 9342. Thanks John Chandler for the patch.
Ronald Oussoren [Fri, 23 Jul 2010 13:53:51 +0000 (13:53 +0000)]
This fixes issue7900 by adding code that deals
with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.
See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
Brett Cannon [Fri, 23 Jul 2010 12:26:35 +0000 (12:26 +0000)]
Clarify the wording for threading.is_alive() to not suggest something is
"roughly" done.
Closes issue 9339. Thanks Brian Brazil for the patch.
Martin v. Löwis [Fri, 23 Jul 2010 12:16:41 +0000 (12:16 +0000)]
Issue #6095: Make directory argument to os.listdir optional.
Patch by Virgil Dupras.
Ronald Oussoren [Fri, 23 Jul 2010 11:54:59 +0000 (11:54 +0000)]
Fix for issue 7895. Avoid crashing the interpreter
when calling platform.mac_ver after calling os.fork by
reading from a system configuration file instead of
using OSX APIs.
Ronald Oussoren [Fri, 23 Jul 2010 11:48:36 +0000 (11:48 +0000)]
Minor tweak of test_osx_env to
avoid failing when the framework is not
yet installed.
Brett Cannon [Fri, 23 Jul 2010 11:31:31 +0000 (11:31 +0000)]
Document the fact that the 'test' package is meant only for use by Python
itself and not by others.
Closes issue 9255.
Ronald Oussoren [Fri, 23 Jul 2010 09:50:05 +0000 (09:50 +0000)]
Workaround for issue 4047: in some configurations of
the Crash Reporter on OSX test_subprocess will trigger
the reporter.
This patch prints a warning when the Crash Reporter will
get triggered intentionally, which should avoid confusing
people.
Ronald Oussoren [Fri, 23 Jul 2010 09:43:17 +0000 (09:43 +0000)]
Ensure that the Makefile variable expansion
in distutils.sysconfig matches that in the
toplevel sysconfig module.
Without this patch universal builds on OSX are
broken.
Als add a test that checks that the two version
of get_config_vars agree on important values.
Georg Brandl [Fri, 23 Jul 2010 08:46:35 +0000 (08:46 +0000)]
Use augassign.
Brian Curtin [Thu, 22 Jul 2010 15:38:28 +0000 (15:38 +0000)]
Skip this test as it doesn't apply to Windows. It was added for
#9189 for some GCC flags.
Tarek Ziadé [Thu, 22 Jul 2010 12:50:05 +0000 (12:50 +0000)]
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
Brett Cannon [Thu, 22 Jul 2010 07:40:56 +0000 (07:40 +0000)]
Add importlib benchmarks which try to be "realistic" by importing the decimal
module which is the largest module in the stdlib.
Alexander Belopolsky [Wed, 21 Jul 2010 17:43:42 +0000 (17:43 +0000)]
Issue #9323: Fixed a bug in trace.py that resulted in loosing the name
of the script being traced. Patch by Eli Bendersky.
Antoine Pitrou [Wed, 21 Jul 2010 16:41:31 +0000 (16:41 +0000)]
Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it
with EOFError.
(this is only an added test, but 2.x will get a fix too)
Antoine Pitrou [Wed, 21 Jul 2010 15:54:48 +0000 (15:54 +0000)]
Remove outdated mention of deprecated functions in the string module - they have been removed in 3.x.
Doug Hellmann [Wed, 21 Jul 2010 12:29:04 +0000 (12:29 +0000)]
Apply patch from Ray Allen for issue 9296
Brett Cannon [Wed, 21 Jul 2010 09:48:31 +0000 (09:48 +0000)]
Minor clarification about importlib.abc.SourceLoader.get_filename.
Brian Curtin [Wed, 21 Jul 2010 01:44:19 +0000 (01:44 +0000)]
Fix #9316. if/is grammar corrections.
Benjamin Peterson [Tue, 20 Jul 2010 22:39:34 +0000 (22:39 +0000)]
revert unintended changes
Benjamin Peterson [Tue, 20 Jul 2010 22:37:19 +0000 (22:37 +0000)]
move test_trace.py so as not to conflict with future tests for the trace module
Alexander Belopolsky [Tue, 20 Jul 2010 19:55:18 +0000 (19:55 +0000)]
Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli
Bendersky for the patch.
Ronald Oussoren [Tue, 20 Jul 2010 16:07:10 +0000 (16:07 +0000)]
Without this patch the value of sysconfig.get_config_var('LDSHARED')
is wrong when PY_LDFLAGS is not empty.
The bug was caused by LDSHARED getting expanded *before* sysconfig
renamed PY_LDSHARED (and simular values) to names without a PY_
prefix.
The patch tries to maintain the intended behaviour of allowing users
to set LDFLAGS in the environment and have that affect the build.
Without this patch a universal build on OSX cannot build universal
(fat binary) extensions.
Gregory P. Smith [Mon, 19 Jul 2010 23:17:22 +0000 (23:17 +0000)]
Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / in
the parameters. (This is jjlee's issue3704.patch ported to py3k)
Senthil Kumaran [Mon, 19 Jul 2010 18:17:19 +0000 (18:17 +0000)]
Fix Issue9301 - urllib.parse.unquote and unquote_to_byte to raise TypeError for None.
Stefan Krah [Mon, 19 Jul 2010 17:58:26 +0000 (17:58 +0000)]
Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.
Stefan Krah [Mon, 19 Jul 2010 14:20:53 +0000 (14:20 +0000)]
Issue #9265: Incorrect name passed as arg[0] when shell=True
and executable specified.
Ronald Oussoren [Mon, 19 Jul 2010 13:00:36 +0000 (13:00 +0000)]
This patch adds a testcase that demonstrates a problem
with the expansion of LDSHARED when accessing that value
through sysconfig.
The problem is probably caused by the 9189.
A fix will follow shortly.
Stefan Krah [Mon, 19 Jul 2010 12:36:57 +0000 (12:36 +0000)]
Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide
signed/unsigned chars or on integers directly derived from those. In all
cases, it could be replaced by a simple cast to (unsigned char). Reasons
for the change:
a) Make the comment more explicit.
b) If char is unsigned, the cast is optimized away.
c) If char is unsigned, gcc emits spurious "array subscript
has type 'char'" warnings.
Georg Brandl [Mon, 19 Jul 2010 11:28:05 +0000 (11:28 +0000)]
Clarification. Yay importlib!
Georg Brandl [Mon, 19 Jul 2010 08:02:46 +0000 (08:02 +0000)]
pydoc.pager does not promise to use $PAGER.
Mark Dickinson [Mon, 19 Jul 2010 07:31:40 +0000 (07:31 +0000)]
Remove temporary debugging code.
Georg Brandl [Mon, 19 Jul 2010 06:57:52 +0000 (06:57 +0000)]
Clarify :option: description.
Georg Brandl [Mon, 19 Jul 2010 06:52:35 +0000 (06:52 +0000)]
Clarify.
Jean-Paul Calderone [Sun, 18 Jul 2010 16:30:31 +0000 (16:30 +0000)]
Document the extra epoll flags
Jean-Paul Calderone [Sun, 18 Jul 2010 16:13:27 +0000 (16:13 +0000)]
There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code.
Mark Dickinson [Sun, 18 Jul 2010 16:01:36 +0000 (16:01 +0000)]
Add configure check for a bug with gcc soft floating-point and subnormals, to help debug issue 8265.
Benjamin Peterson [Sun, 18 Jul 2010 14:27:02 +0000 (14:27 +0000)]
nest method and attribute doc
Benjamin Peterson [Sun, 18 Jul 2010 14:23:36 +0000 (14:23 +0000)]
use classmethod
Georg Brandl [Sun, 18 Jul 2010 13:43:32 +0000 (13:43 +0000)]
#9110: update to ContextDecorator doc.
Georg Brandl [Sun, 18 Jul 2010 10:11:03 +0000 (10:11 +0000)]
#9279: remove the pdb.doc file, put its contents in pdb.__doc__. Also sync this and the pdb docs, introduce a new directive for pdb commands and a role to link to them.
Mark Dickinson [Sun, 18 Jul 2010 08:03:10 +0000 (08:03 +0000)]
Clarify Misc/NEWS entry.
Mark Dickinson [Sun, 18 Jul 2010 07:48:20 +0000 (07:48 +0000)]
Misc/NEWS entry for r82941.
Mark Dickinson [Sun, 18 Jul 2010 07:29:02 +0000 (07:29 +0000)]
Issue #9277: Struct module: standard bool packing was incorrect if
char is unsigned. Thanks Stefan Krah for the patch.
Alexander Belopolsky [Sat, 17 Jul 2010 22:50:45 +0000 (22:50 +0000)]
Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.x
python when they contain instances of old-style classes.
Benjamin Peterson [Sat, 17 Jul 2010 20:39:23 +0000 (20:39 +0000)]
sharedinstall should depend on sharedmods #9280
Alexander Belopolsky [Sat, 17 Jul 2010 15:51:21 +0000 (15:51 +0000)]
Issue #9268: Add annotation option to pickletools.dis
Stefan Krah [Sat, 17 Jul 2010 11:46:52 +0000 (11:46 +0000)]
Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
In that case, do not attempt to parse stderr output.
R. David Murray [Sat, 17 Jul 2010 01:19:57 +0000 (01:19 +0000)]
#
1555570 : correctly handle a \r\n that is split by the read buffer.
Patch and test by Tony Nelson.
Brett Cannon [Fri, 16 Jul 2010 19:26:23 +0000 (19:26 +0000)]
Add comma grouping to max result so it's easier to read.
Antoine Pitrou [Fri, 16 Jul 2010 19:10:38 +0000 (19:10 +0000)]
Fix possible failure in pickling tests due to different instantiations
of the random module being around.
Brett Cannon [Fri, 16 Jul 2010 19:04:29 +0000 (19:04 +0000)]
Add benchmarks for importing just source w/o writing bytecode, importing source
while writing bytecode, and importing bytecode with source existing (don't care
about sourceless imports).
Alexander Belopolsky [Fri, 16 Jul 2010 14:39:45 +0000 (14:39 +0000)]
Corrected TUPLE<N> opcodes' docs.
Brett Cannon [Thu, 15 Jul 2010 06:24:04 +0000 (06:24 +0000)]
Touch up comments and code along with outputting what the unit of measure is.
Senthil Kumaran [Wed, 14 Jul 2010 20:30:02 +0000 (20:30 +0000)]
Fix issue9132 - Documentation for comparing dictionaries is out of date
Senthil Kumaran [Wed, 14 Jul 2010 20:10:52 +0000 (20:10 +0000)]
Fix a mistake, https proxy shoud be https://
Senthil Kumaran [Wed, 14 Jul 2010 19:15:23 +0000 (19:15 +0000)]
Fix: Issue6853 - Get HTTPS system proxy in Windows.
Alexander Belopolsky [Wed, 14 Jul 2010 13:46:57 +0000 (13:46 +0000)]
PEP 8 conformance: class_ -> cls
Antoine Pitrou [Wed, 14 Jul 2010 11:52:38 +0000 (11:52 +0000)]
Issue #9251: test_threaded_import didn't fail when run through regrtest
if the import lock was disabled.
Senthil Kumaran [Wed, 14 Jul 2010 10:21:22 +0000 (10:21 +0000)]
Fix Issue5842 - Moving the tests out of urllib.parse module
Stefan Krah [Wed, 14 Jul 2010 10:16:11 +0000 (10:16 +0000)]
High byte is the exit status.
Georg Brandl [Wed, 14 Jul 2010 08:54:40 +0000 (08:54 +0000)]
#9235: fix missing import of sys.
Georg Brandl [Wed, 14 Jul 2010 08:53:36 +0000 (08:53 +0000)]
Remove unused code that would raise a NameError.
Georg Brandl [Wed, 14 Jul 2010 08:53:18 +0000 (08:53 +0000)]
Remove XXX from text.
Georg Brandl [Wed, 14 Jul 2010 08:00:22 +0000 (08:00 +0000)]
#9258: fix copy-paste errors.
Victor Stinner [Tue, 13 Jul 2010 23:08:01 +0000 (23:08 +0000)]
Woops, test_sndhdr.py contains the same code twice: fix it
Victor Stinner [Tue, 13 Jul 2010 23:04:56 +0000 (23:04 +0000)]
Issue #9243: Fix sndhdr module and add unit tests, contributed by James Lee.
Alexander Belopolsky [Tue, 13 Jul 2010 14:50:16 +0000 (14:50 +0000)]
Set sys.modules[name] to None instead of 0 to block module import.
Jeroen Ruigrok van der Werven [Tue, 13 Jul 2010 14:47:01 +0000 (14:47 +0000)]
Fix documentation typo: wprite() -> write().
Georg Brandl [Tue, 13 Jul 2010 06:38:10 +0000 (06:38 +0000)]
Add bytes in literal_eval doc.
Mark Dickinson [Mon, 12 Jul 2010 20:03:24 +0000 (20:03 +0000)]
Yield more information on failure in test_struct boolean test.
Antoine Pitrou [Mon, 12 Jul 2010 20:01:52 +0000 (20:01 +0000)]
Fix definition of len() and indexing for memoryview objects (part of #7696).
Ezio Melotti [Mon, 12 Jul 2010 19:49:41 +0000 (19:49 +0000)]
#6026: skip test_get_file_list when zlib is not available.
Mark Dickinson [Mon, 12 Jul 2010 14:18:21 +0000 (14:18 +0000)]
Regenerate Python/graminit.c.
Mark Dickinson [Mon, 12 Jul 2010 14:14:18 +0000 (14:14 +0000)]
Issue #2009: refactor varargslist and typedargslist productions to make them more friendly for third-party parsers.
Mark Dickinson [Mon, 12 Jul 2010 09:37:40 +0000 (09:37 +0000)]
Remove mention of execfile from the tutorial.
Georg Brandl [Mon, 12 Jul 2010 09:06:13 +0000 (09:06 +0000)]
Use raw string literals for regexes containing backlash.
Georg Brandl [Mon, 12 Jul 2010 09:00:29 +0000 (09:00 +0000)]
Take care of duplicate target name warnings.
Martin v. Löwis [Mon, 12 Jul 2010 06:03:18 +0000 (06:03 +0000)]
Remove myself.
Brian Curtin [Sun, 11 Jul 2010 23:32:11 +0000 (23:32 +0000)]
Put my name down for winreg.
Benjamin Peterson [Sun, 11 Jul 2010 23:06:06 +0000 (23:06 +0000)]
allow byte literals
Mark Dickinson [Sun, 11 Jul 2010 19:47:37 +0000 (19:47 +0000)]
Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups.
Mark Dickinson [Sun, 11 Jul 2010 19:12:10 +0000 (19:12 +0000)]
assertEquals -> assertEqual