]>
granicus.if.org Git - python/log
Éric Araujo [Mon, 6 Jun 2011 19:55:43 +0000 (21:55 +0200)]
Fix sdist to always include setup.cfg (#11092), to comply with the spec
Éric Araujo [Mon, 6 Jun 2011 18:59:56 +0000 (20:59 +0200)]
Use strings instead of sets of lines in packaging.create tests.
Using sets in tests did not check whether the values were written in the right
section or with the right key.
Éric Araujo [Mon, 6 Jun 2011 18:28:13 +0000 (20:28 +0200)]
Fix comment
Éric Araujo [Mon, 6 Jun 2011 18:07:04 +0000 (20:07 +0200)]
Update comments in sysconfig.cfg
Éric Araujo [Mon, 6 Jun 2011 17:57:02 +0000 (19:57 +0200)]
Fix documentation of requires-python field in setup.cfg (#11041)
Éric Araujo [Mon, 6 Jun 2011 15:13:08 +0000 (17:13 +0200)]
Merge 3.2
Éric Araujo [Mon, 6 Jun 2011 15:12:29 +0000 (17:12 +0200)]
Branch merge
Éric Araujo [Mon, 6 Jun 2011 15:11:47 +0000 (17:11 +0200)]
Branch merge
Éric Araujo [Mon, 6 Jun 2011 15:08:41 +0000 (17:08 +0200)]
Remove wsgiref.egg-info from msi.py (follow-up to
d615eb7bce33 , #12218)
Victor Stinner [Mon, 6 Jun 2011 10:14:23 +0000 (12:14 +0200)]
Issue #12250: regrtest --timeout displays a warning instead of failing with an
error if faulthandler.dump_tracebacks_later() is missing (e.g. if Python is
compiled without threads).
Victor Stinner [Mon, 6 Jun 2011 10:04:36 +0000 (12:04 +0200)]
Issue #12250: modify "make buildbottest" command line instead of TESTOPTS
Add TESTTIMEOUT variable (default: 3600 seconds). Use TESTTIMEOUT=0 to disable
the timeout.
***
fix
Martin v. Löwis [Mon, 6 Jun 2011 08:27:56 +0000 (10:27 +0200)]
Drop claim about nasty problem.
It's unclear what this was referring to; most likely, it was about sockets
that the application had already closed, in which case it's not a sockets
problem, but an application problem.
Martin v. Löwis [Mon, 6 Jun 2011 08:25:55 +0000 (10:25 +0200)]
Drop unfounded claims about performance.
Benjamin Peterson [Mon, 6 Jun 2011 03:14:05 +0000 (22:14 -0500)]
always clear parser error
Benjamin Peterson [Mon, 6 Jun 2011 03:05:22 +0000 (22:05 -0500)]
merge heads
Benjamin Peterson [Mon, 6 Jun 2011 03:04:07 +0000 (22:04 -0500)]
greatly improve argument parsing error messages (closes #12265)
Éric Araujo [Mon, 6 Jun 2011 00:02:34 +0000 (02:02 +0200)]
Rephrase the section about spec versioning
Éric Araujo [Mon, 6 Jun 2011 00:00:54 +0000 (02:00 +0200)]
Fix a few typos
Éric Araujo [Mon, 6 Jun 2011 00:00:03 +0000 (02:00 +0200)]
Minor rework of the extensibility and acks sections
Éric Araujo [Sun, 5 Jun 2011 23:58:54 +0000 (01:58 +0200)]
Move a non-PEP 345 field at the end of the metadata fields list
Éric Araujo [Sun, 5 Jun 2011 23:58:25 +0000 (01:58 +0200)]
Make example of file inclusion in setupcfg more obvious
Éric Araujo [Mon, 6 Jun 2011 00:07:24 +0000 (02:07 +0200)]
Rephrase and update intro and syntax sections of setupcfg
Éric Araujo [Sun, 5 Jun 2011 23:54:54 +0000 (01:54 +0200)]
Change reST targets in setup.cfg spec.
I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope
of the spec is not limited to packaging: it’s intended as a language-agnostic
document for packaging tools developers as well as Python authors.
Éric Araujo [Sun, 5 Jun 2011 23:52:37 +0000 (01:52 +0200)]
Add a short table of contents to the setup.cfg spec.
I tried shortening the sidebar ToC with the tocdepth option instead, but it has
a bug which caused all headings with a level deeper than the tocdepth value to
all have the same section number, which was a usability regression rather than
in improvement.
Éric Araujo [Sun, 5 Jun 2011 23:13:48 +0000 (01:13 +0200)]
Update doctring now that Python has real booleans
Martin v. Löwis [Sun, 5 Jun 2011 18:43:30 +0000 (20:43 +0200)]
Drop old UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 17:43:56 +0000 (19:43 +0200)]
merge:Do not add txt files twice
Martin v. Löwis [Sun, 5 Jun 2011 17:43:03 +0000 (19:43 +0200)]
null merge
Martin v. Löwis [Sun, 5 Jun 2011 17:42:21 +0000 (19:42 +0200)]
merge:Do not add txt files twice
Martin v. Löwis [Sun, 5 Jun 2011 08:56:44 +0000 (10:56 +0200)]
Add 3.1.4 UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 08:55:57 +0000 (10:55 +0200)]
Do not add txt files twice.
Vinay Sajip [Sun, 5 Jun 2011 08:31:34 +0000 (09:31 +0100)]
Closes issue #11557: removal of non-idiomatic code in test_logging.
Gregory P. Smith [Sun, 5 Jun 2011 06:05:19 +0000 (23:05 -0700)]
merge heads.
Benjamin Peterson [Sun, 5 Jun 2011 03:09:08 +0000 (22:09 -0500)]
merge heads
Benjamin Peterson [Sun, 5 Jun 2011 03:06:42 +0000 (22:06 -0500)]
only clear the parser error if it's set (closes #12264)
Éric Araujo [Sat, 4 Jun 2011 20:37:57 +0000 (22:37 +0200)]
Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
Éric Araujo [Sat, 4 Jun 2011 20:36:40 +0000 (22:36 +0200)]
Clean up packaging.create and add TODO notes for future cleanups
Éric Araujo [Sat, 4 Jun 2011 20:33:59 +0000 (22:33 +0200)]
Make help messages in packaging.run more consistent
Éric Araujo [Sat, 4 Jun 2011 20:33:16 +0000 (22:33 +0200)]
Cleanup in packaging: don’t unnecessarily instantiate exceptions
Éric Araujo [Sat, 4 Jun 2011 20:24:59 +0000 (22:24 +0200)]
Improve a few docstrings in packaging.
Also beautify import lists. Having them grouped by lenght makes it slightly
easier to look for a module.
Éric Araujo [Sat, 4 Jun 2011 19:16:42 +0000 (21:16 +0200)]
Merge ABC and distutils touch-ups from 3.2.
I have removed the reST target I added in
38cdca2cc253 : it is not necessary, as
people can link to the glossary entry or the abc module without it.
Two indentation fixes from 3.2 collections.rst have been ported to 3.3
collections.abc.rst.
Éric Araujo [Sat, 4 Jun 2011 18:47:26 +0000 (20:47 +0200)]
Remove unneeded executable bit on two distutils files
Éric Araujo [Sat, 4 Jun 2011 18:37:16 +0000 (20:37 +0200)]
Branch merge
Mark Dickinson [Sat, 4 Jun 2011 17:14:23 +0000 (18:14 +0100)]
Issue #12080: Fix a performance issue in Decimal._power_exact that causes some corner-case Decimal.__pow__ calls to take an unreasonably long time.
Éric Araujo [Sat, 4 Jun 2011 16:46:25 +0000 (18:46 +0200)]
Add reST target for Doc/packaging/setupcfg
Éric Araujo [Sat, 4 Jun 2011 16:45:40 +0000 (18:45 +0200)]
Use list constructor or built-in method instead of copy module
Éric Araujo [Sat, 4 Jun 2011 16:42:38 +0000 (18:42 +0200)]
Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
linked)
- Link to glossary entry from numbers module doc (other modules already do it)
Éric Araujo [Sat, 4 Jun 2011 00:31:14 +0000 (02:31 +0200)]
Add missing section of doc file lost among repositories and conversions
Benjamin Peterson [Fri, 3 Jun 2011 22:50:59 +0000 (17:50 -0500)]
merge heads
Benjamin Peterson [Fri, 3 Jun 2011 22:50:16 +0000 (17:50 -0500)]
some horrible preprocessing tricks to automatically update the tag
Victor Stinner [Fri, 3 Jun 2011 21:45:03 +0000 (23:45 +0200)]
(Merge 3.2) Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
Victor Stinner [Fri, 3 Jun 2011 21:44:39 +0000 (23:44 +0200)]
Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
Victor Stinner [Fri, 3 Jun 2011 21:34:32 +0000 (23:34 +0200)]
(Merge 3.2) Issue #12016: Reindent decoders of HK and JP codecs
Victor Stinner [Fri, 3 Jun 2011 21:34:09 +0000 (23:34 +0200)]
Issue #12016: Reindent decoders of HK and JP codecs
Benjamin Peterson [Fri, 3 Jun 2011 19:38:24 +0000 (14:38 -0500)]
run autoconf
Benjamin Peterson [Fri, 3 Jun 2011 19:22:48 +0000 (14:22 -0500)]
remove AC_REVISION
Éric Araujo [Fri, 3 Jun 2011 18:49:39 +0000 (20:49 +0200)]
Point to new collections.abc module for collections ABCs
Éric Araujo [Fri, 3 Jun 2011 18:43:42 +0000 (20:43 +0200)]
Remove link that’s already present at the top of the file
Éric Araujo [Fri, 3 Jun 2011 17:27:16 +0000 (19:27 +0200)]
Merge #12249 fix from 3.2
Éric Araujo [Fri, 3 Jun 2011 17:25:58 +0000 (19:25 +0200)]
Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
Éric Araujo [Fri, 3 Jun 2011 17:18:41 +0000 (19:18 +0200)]
Fix reST label for collections ABCs.
The previous markup hijacked the abstract-base-classes glossary entry,
which resulted in the HTML linking to collections.abc when defining the
generic ABC concept. Now the glossary links to the abc module.
Éric Araujo [Fri, 3 Jun 2011 15:28:23 +0000 (17:28 +0200)]
Document autoflushing in packaging.test.support.LoggingCatcher.get_logs.
I’m afraid my docstring is not as clear as it should be, but I can’t
find a concise way of describing what the code does. Suggestions for
improvements welcome.
Éric Araujo [Fri, 3 Jun 2011 15:26:59 +0000 (17:26 +0200)]
Add NEWS and whatsnew entries for the packaging module
Charles-François Natali [Fri, 3 Jun 2011 10:57:49 +0000 (12:57 +0200)]
Merge.
Charles-François Natali [Fri, 3 Jun 2011 10:55:15 +0000 (12:55 +0200)]
Issue #12196: Make test.support's requires_linux_version a decorator.
Victor Stinner [Fri, 3 Jun 2011 10:53:26 +0000 (12:53 +0200)]
Close #12250: Disable the regrtest timeout by default
Keep a timeout of 1 hour for buildbots.
Raymond Hettinger [Fri, 3 Jun 2011 06:49:44 +0000 (23:49 -0700)]
merge
Raymond Hettinger [Fri, 3 Jun 2011 06:40:24 +0000 (23:40 -0700)]
Fix named tuples to work with vars().
Éric Araujo [Thu, 2 Jun 2011 14:43:25 +0000 (16:43 +0200)]
Merge packaging doc fix
Éric Araujo [Thu, 2 Jun 2011 13:45:25 +0000 (15:45 +0200)]
Packaging doc: Add missing index file, improve main page description.
Also promote notices from distutils doc to deprecation boxes.
Éric Araujo [Thu, 2 Jun 2011 12:54:44 +0000 (14:54 +0200)]
Fix format of warnings from the packaging check command
Éric Araujo [Thu, 2 Jun 2011 12:53:59 +0000 (14:53 +0200)]
Make packaging.tests.support.LoggingCatcher.get_logs flush the log handler.
This removes the need to call flush manually in each test, except when
testing code that creates warning without checking them.
Tarek Ziade [Thu, 2 Jun 2011 10:00:44 +0000 (12:00 +0200)]
added the generate-setup action
Tarek Ziade [Thu, 2 Jun 2011 09:28:07 +0000 (11:28 +0200)]
this documentation is now handled by all the new packaging contributors
Raymond Hettinger [Wed, 1 Jun 2011 23:18:00 +0000 (16:18 -0700)]
merge
Raymond Hettinger [Wed, 1 Jun 2011 23:17:23 +0000 (16:17 -0700)]
Forward port doc updates for builtin functions.
Éric Araujo [Wed, 1 Jun 2011 18:44:40 +0000 (20:44 +0200)]
Kill trailing whitespace
Éric Araujo [Wed, 1 Jun 2011 18:42:49 +0000 (20:42 +0200)]
Add documentation for the packaging module.
This updates the user guide to refer to Packaging instead of Distutils.
Some files still require an update.
Charles-François Natali [Wed, 1 Jun 2011 18:30:52 +0000 (20:30 +0200)]
Issue #12196: Add a note on os.pipe2() in the "Whats' new in Python 3.3"
document.
Éric Araujo [Wed, 1 Jun 2011 17:47:24 +0000 (19:47 +0200)]
Merge 3.2
Éric Araujo [Wed, 1 Jun 2011 17:47:06 +0000 (19:47 +0200)]
Branch merge
Éric Araujo [Wed, 1 Jun 2011 17:41:21 +0000 (19:41 +0200)]
Remove duplicate entry for Josip
Éric Araujo [Wed, 1 Jun 2011 17:39:27 +0000 (19:39 +0200)]
Branch merge
Éric Araujo [Wed, 1 Jun 2011 13:20:44 +0000 (15:20 +0200)]
The compiler class for EMX was removed
Éric Araujo [Wed, 1 Jun 2011 12:41:11 +0000 (14:41 +0200)]
Fix typos in class names
Victor Stinner [Wed, 1 Jun 2011 11:49:12 +0000 (13:49 +0200)]
test_faulthandler: use a longer sleep (2.5 sec instead of 1.3 sec) in
_check_dump_tracebacks_later() to avoid failures if the system is slow.
Victor Stinner [Wed, 1 Jun 2011 11:19:07 +0000 (13:19 +0200)]
(Merge 3.2) Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes,
the file descriptor of a pipe closed in the parent process is valid in the
child process according to fstat(), but the mode of the file descriptor is
invalid, and read or write raise an error.
test.support.requires_mac_ver() is now a decorator, as suggested by Ezio
Melotti, and its docstring is fixed (linux_version => mac_ver).
Victor Stinner [Wed, 1 Jun 2011 11:13:04 +0000 (13:13 +0200)]
Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file
descriptor of a pipe closed in the parent process is valid in the child process
according to fstat(), but the mode of the file descriptor is invalid, and read
or write raise an error.
Add also requires_mac_ver() decorator to test.support.
Victor Stinner [Wed, 1 Jun 2011 10:28:04 +0000 (12:28 +0200)]
test.support: add requires_mac_ver() function
Add also linux_version() to __all__.
Benjamin Peterson [Wed, 1 Jun 2011 02:39:38 +0000 (21:39 -0500)]
merge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:38:49 +0000 (21:38 -0500)]
merge 3.1
Benjamin Peterson [Wed, 1 Jun 2011 02:38:15 +0000 (21:38 -0500)]
return NULL on error
Benjamin Peterson [Wed, 1 Jun 2011 02:31:59 +0000 (21:31 -0500)]
merge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:31:37 +0000 (21:31 -0500)]
be extra careful with a borrowed reference when the GIL could be released (closes #8578)
Benjamin Peterson [Wed, 1 Jun 2011 02:28:03 +0000 (21:28 -0500)]
merge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:27:41 +0000 (21:27 -0500)]
demote this to a note
Benjamin Peterson [Wed, 1 Jun 2011 01:52:17 +0000 (20:52 -0500)]
remove __version__s dependent on subversion keyword expansion (closes #12221)
Benjamin Peterson [Wed, 1 Jun 2011 00:07:45 +0000 (19:07 -0500)]
merge 3.2 (#12221)
Benjamin Peterson [Wed, 1 Jun 2011 00:06:17 +0000 (19:06 -0500)]
merge 3.1 (#12221)
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221