]> granicus.if.org Git - python/log
python
14 years agoIssue #11893: Remove obsolete internal wrapper class `SSLFakeFile` in the smtplib...
Antoine Pitrou [Mon, 6 Jun 2011 17:17:09 +0000 (19:17 +0200)]
Issue #11893: Remove obsolete internal wrapper class `SSLFakeFile` in the smtplib module.
Patch by Catalin Iacob.

14 years agoMerge 3.2
Éric Araujo [Mon, 6 Jun 2011 15:13:08 +0000 (17:13 +0200)]
Merge 3.2

14 years agoBranch merge
Éric Araujo [Mon, 6 Jun 2011 15:12:29 +0000 (17:12 +0200)]
Branch merge

14 years agoBranch merge
Éric Araujo [Mon, 6 Jun 2011 15:11:47 +0000 (17:11 +0200)]
Branch merge

14 years agoRemove wsgiref.egg-info from msi.py (follow-up to d615eb7bce33, #12218)
É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)

14 years agoIssue #12250: regrtest --timeout displays a warning instead of failing with an
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).

14 years agoIssue #12250: modify "make buildbottest" command line instead of TESTOPTS
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

14 years agoDrop claim about nasty problem.
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.

14 years agoDrop unfounded claims about performance.
Martin v. Löwis [Mon, 6 Jun 2011 08:25:55 +0000 (10:25 +0200)]
Drop unfounded claims about performance.

14 years agoalways clear parser error
Benjamin Peterson [Mon, 6 Jun 2011 03:14:05 +0000 (22:14 -0500)]
always clear parser error

14 years agomerge heads
Benjamin Peterson [Mon, 6 Jun 2011 03:05:22 +0000 (22:05 -0500)]
merge heads

14 years agogreatly improve argument parsing error messages (closes #12265)
Benjamin Peterson [Mon, 6 Jun 2011 03:04:07 +0000 (22:04 -0500)]
greatly improve argument parsing error messages (closes #12265)

14 years agoRephrase the section about spec versioning
Éric Araujo [Mon, 6 Jun 2011 00:02:34 +0000 (02:02 +0200)]
Rephrase the section about spec versioning

14 years agoFix a few typos
Éric Araujo [Mon, 6 Jun 2011 00:00:54 +0000 (02:00 +0200)]
Fix a few typos

14 years agoMinor rework of the extensibility and acks sections
Éric Araujo [Mon, 6 Jun 2011 00:00:03 +0000 (02:00 +0200)]
Minor rework of the extensibility and acks sections

14 years agoMove a non-PEP 345 field at the end of the metadata fields list
É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

14 years agoMake example of file inclusion in setupcfg more obvious
Éric Araujo [Sun, 5 Jun 2011 23:58:25 +0000 (01:58 +0200)]
Make example of file inclusion in setupcfg more obvious

14 years agoRephrase and update intro and syntax sections of setupcfg
Éric Araujo [Mon, 6 Jun 2011 00:07:24 +0000 (02:07 +0200)]
Rephrase and update intro and syntax sections of setupcfg

14 years agoChange reST targets in setup.cfg spec.
É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.

14 years agoAdd a short table of contents to the setup.cfg spec.
É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.

14 years agoUpdate doctring now that Python has real booleans
Éric Araujo [Sun, 5 Jun 2011 23:13:48 +0000 (01:13 +0200)]
Update doctring now that Python has real booleans

14 years agoDrop old UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 18:43:30 +0000 (20:43 +0200)]
Drop old UUIDs.

14 years agomerge:Do not add txt files twice
Martin v. Löwis [Sun, 5 Jun 2011 17:43:56 +0000 (19:43 +0200)]
merge:Do not add txt files twice

14 years agonull merge
Martin v. Löwis [Sun, 5 Jun 2011 17:43:03 +0000 (19:43 +0200)]
null merge

14 years agomerge:Do not add txt files twice
Martin v. Löwis [Sun, 5 Jun 2011 17:42:21 +0000 (19:42 +0200)]
merge:Do not add txt files twice

14 years agoAdd 3.1.4 UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 08:56:44 +0000 (10:56 +0200)]
Add 3.1.4 UUIDs.

14 years agoDo not add txt files twice.
Martin v. Löwis [Sun, 5 Jun 2011 08:55:57 +0000 (10:55 +0200)]
Do not add txt files twice.

14 years agoCloses issue #11557: removal of non-idiomatic code in test_logging.
Vinay Sajip [Sun, 5 Jun 2011 08:31:34 +0000 (09:31 +0100)]
Closes issue #11557: removal of non-idiomatic code in test_logging.

14 years agomerge heads.
Gregory P. Smith [Sun, 5 Jun 2011 06:05:19 +0000 (23:05 -0700)]
merge heads.

14 years agomerge heads
Benjamin Peterson [Sun, 5 Jun 2011 03:09:08 +0000 (22:09 -0500)]
merge heads

14 years agoonly clear the parser error if it's set (closes #12264)
Benjamin Peterson [Sun, 5 Jun 2011 03:06:42 +0000 (22:06 -0500)]
only clear the parser error if it's set (closes #12264)

14 years agoImprove consistency in questions asked by packaging.create.
É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.

14 years agoClean up packaging.create and add TODO notes for future cleanups
Éric Araujo [Sat, 4 Jun 2011 20:36:40 +0000 (22:36 +0200)]
Clean up packaging.create and add TODO notes for future cleanups

14 years agoMake help messages in packaging.run more consistent
Éric Araujo [Sat, 4 Jun 2011 20:33:59 +0000 (22:33 +0200)]
Make help messages in packaging.run more consistent

14 years agoCleanup in packaging: don’t unnecessarily instantiate exceptions
Éric Araujo [Sat, 4 Jun 2011 20:33:16 +0000 (22:33 +0200)]
Cleanup in packaging: don’t unnecessarily instantiate exceptions

14 years agoImprove a few docstrings in packaging.
É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.

14 years agoMerge ABC and distutils touch-ups from 3.2.
É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.

14 years agoRemove unneeded executable bit on two distutils files
Éric Araujo [Sat, 4 Jun 2011 18:47:26 +0000 (20:47 +0200)]
Remove unneeded executable bit on two distutils files

14 years agoBranch merge
Éric Araujo [Sat, 4 Jun 2011 18:37:16 +0000 (20:37 +0200)]
Branch merge

14 years agoIssue #12080: Fix a performance issue in Decimal._power_exact that causes some corner...
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.

14 years agoAdd reST target for Doc/packaging/setupcfg
Éric Araujo [Sat, 4 Jun 2011 16:46:25 +0000 (18:46 +0200)]
Add reST target for Doc/packaging/setupcfg

14 years agoUse list constructor or built-in method instead of copy module
Éric Araujo [Sat, 4 Jun 2011 16:45:40 +0000 (18:45 +0200)]
Use list constructor or built-in method instead of copy module

14 years agoImprove glossary entry for ABCs.
É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)

14 years agoAdd missing section of doc file lost among repositories and conversions
Éric Araujo [Sat, 4 Jun 2011 00:31:14 +0000 (02:31 +0200)]
Add missing section of doc file lost among repositories and conversions

14 years agomerge heads
Benjamin Peterson [Fri, 3 Jun 2011 22:50:59 +0000 (17:50 -0500)]
merge heads

14 years agosome horrible preprocessing tricks to automatically update the tag
Benjamin Peterson [Fri, 3 Jun 2011 22:50:16 +0000 (17:50 -0500)]
some horrible preprocessing tricks to automatically update the tag

14 years ago(Merge 3.2) Issue #12016: Add test_errorhandle() to TestBase_Mapping of
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.

14 years agoIssue #12016: Add test_errorhandle() to TestBase_Mapping of
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.

14 years ago(Merge 3.2) Issue #12016: Reindent decoders of HK and JP codecs
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

14 years agoIssue #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

14 years agorun autoconf
Benjamin Peterson [Fri, 3 Jun 2011 19:38:24 +0000 (14:38 -0500)]
run autoconf

14 years agoremove AC_REVISION
Benjamin Peterson [Fri, 3 Jun 2011 19:22:48 +0000 (14:22 -0500)]
remove AC_REVISION

14 years agoPoint to new collections.abc module for collections ABCs
Éric Araujo [Fri, 3 Jun 2011 18:49:39 +0000 (20:49 +0200)]
Point to new collections.abc module for collections ABCs

14 years agoRemove link that’s already present at the top of the file
É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

14 years agoMerge #12249 fix from 3.2
Éric Araujo [Fri, 3 Jun 2011 17:27:16 +0000 (19:27 +0200)]
Merge #12249 fix from 3.2

14 years agoDocument working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
Éric Araujo [Fri, 3 Jun 2011 17:25:58 +0000 (19:25 +0200)]
Document working dir for “make html” (#12249).  Patch by Tshepang Lekhonkhobe.

14 years agoFix reST label for collections ABCs.
É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.

14 years agoDocument autoflushing in packaging.test.support.LoggingCatcher.get_logs.
É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.

14 years agoAdd NEWS and whatsnew entries for the packaging module
Éric Araujo [Fri, 3 Jun 2011 15:26:59 +0000 (17:26 +0200)]
Add NEWS and whatsnew entries for the packaging module

14 years agoMerge.
Charles-François Natali [Fri, 3 Jun 2011 10:57:49 +0000 (12:57 +0200)]
Merge.

14 years agoIssue #12196: Make test.support's requires_linux_version a decorator.
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.

14 years agoClose #12250: Disable the regrtest timeout by default
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.

14 years agomerge
Raymond Hettinger [Fri, 3 Jun 2011 06:49:44 +0000 (23:49 -0700)]
merge

14 years agoFix named tuples to work with vars().
Raymond Hettinger [Fri, 3 Jun 2011 06:40:24 +0000 (23:40 -0700)]
Fix named tuples to work with vars().

14 years agoMerge packaging doc fix
Éric Araujo [Thu, 2 Jun 2011 14:43:25 +0000 (16:43 +0200)]
Merge packaging doc fix

14 years agoPackaging doc: Add missing index file, improve main page description.
É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.

14 years agoFix format of warnings from the packaging check command
Éric Araujo [Thu, 2 Jun 2011 12:54:44 +0000 (14:54 +0200)]
Fix format of warnings from the packaging check command

14 years agoMake packaging.tests.support.LoggingCatcher.get_logs flush the log handler.
É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.

14 years agoadded the generate-setup action
Tarek Ziade [Thu, 2 Jun 2011 10:00:44 +0000 (12:00 +0200)]
added the generate-setup action

14 years agothis documentation is now handled by all the new packaging contributors
Tarek Ziade [Thu, 2 Jun 2011 09:28:07 +0000 (11:28 +0200)]
this documentation is now handled by all the new packaging contributors

14 years agomerge
Raymond Hettinger [Wed, 1 Jun 2011 23:18:00 +0000 (16:18 -0700)]
merge

14 years agoForward port doc updates for builtin functions.
Raymond Hettinger [Wed, 1 Jun 2011 23:17:23 +0000 (16:17 -0700)]
Forward port doc updates for builtin functions.

14 years agoKill trailing whitespace
Éric Araujo [Wed, 1 Jun 2011 18:44:40 +0000 (20:44 +0200)]
Kill trailing whitespace

14 years agoAdd documentation for the packaging module.
É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.

14 years agoIssue #12196: Add a note on os.pipe2() in the "Whats' new in Python 3.3"
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.

14 years agoMerge 3.2
Éric Araujo [Wed, 1 Jun 2011 17:47:24 +0000 (19:47 +0200)]
Merge 3.2

14 years agoBranch merge
Éric Araujo [Wed, 1 Jun 2011 17:47:06 +0000 (19:47 +0200)]
Branch merge

14 years agoRemove duplicate entry for Josip
Éric Araujo [Wed, 1 Jun 2011 17:41:21 +0000 (19:41 +0200)]
Remove duplicate entry for Josip

14 years agoBranch merge
Éric Araujo [Wed, 1 Jun 2011 17:39:27 +0000 (19:39 +0200)]
Branch merge

14 years agoThe compiler class for EMX was removed
Éric Araujo [Wed, 1 Jun 2011 13:20:44 +0000 (15:20 +0200)]
The compiler class for EMX was removed

14 years agoFix typos in class names
Éric Araujo [Wed, 1 Jun 2011 12:41:11 +0000 (14:41 +0200)]
Fix typos in class names

14 years agotest_faulthandler: use a longer sleep (2.5 sec instead of 1.3 sec) in
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.

14 years ago(Merge 3.2) Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes,
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).

14 years agoClose #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file
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.

14 years agotest.support: add requires_mac_ver() function
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__.

14 years agomerge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:39:38 +0000 (21:39 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Wed, 1 Jun 2011 02:38:49 +0000 (21:38 -0500)]
merge 3.1

14 years agoreturn NULL on error
Benjamin Peterson [Wed, 1 Jun 2011 02:38:15 +0000 (21:38 -0500)]
return NULL on error

14 years agomerge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:31:59 +0000 (21:31 -0500)]
merge 3.2

14 years agobe extra careful with a borrowed reference when the GIL could be released (closes...
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)

14 years agomerge 3.2
Benjamin Peterson [Wed, 1 Jun 2011 02:28:03 +0000 (21:28 -0500)]
merge 3.2

14 years agodemote this to a note
Benjamin Peterson [Wed, 1 Jun 2011 02:27:41 +0000 (21:27 -0500)]
demote this to a note

14 years agoremove __version__s dependent on subversion keyword expansion (closes #12221)
Benjamin Peterson [Wed, 1 Jun 2011 01:52:17 +0000 (20:52 -0500)]
remove __version__s dependent on subversion keyword expansion (closes #12221)

14 years agomerge 3.2 (#12221)
Benjamin Peterson [Wed, 1 Jun 2011 00:07:45 +0000 (19:07 -0500)]
merge 3.2 (#12221)

14 years agomerge 3.1 (#12221)
Benjamin Peterson [Wed, 1 Jun 2011 00:06:17 +0000 (19:06 -0500)]
merge 3.1 (#12221)

14 years agosimply use the Python version for pyexpat.__version__ #12221
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221

14 years agorun autoreconf
Benjamin Peterson [Tue, 31 May 2011 23:26:08 +0000 (18:26 -0500)]
run autoreconf

14 years ago(Merge 3.2) Close #12085: Fix an attribute error in subprocess.Popen destructor
Victor Stinner [Tue, 31 May 2011 22:58:57 +0000 (00:58 +0200)]
(Merge 3.2) Close #12085: Fix an attribute error in subprocess.Popen destructor
if the constructor has failed, e.g. because of an undeclared keyword argument.
Patch written by Oleg Oshmyan.

14 years agoClose #12085: Fix an attribute error in subprocess.Popen destructor if the
Victor Stinner [Tue, 31 May 2011 22:57:47 +0000 (00:57 +0200)]
Close #12085: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.

14 years agoadd news note
Benjamin Peterson [Tue, 31 May 2011 22:11:26 +0000 (17:11 -0500)]
add news note