]> granicus.if.org Git - python/log
python
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

14 years agodisable ASDLGEN if hg won't work, or if python is not installed.
Ralf Schmitt [Tue, 31 May 2011 22:10:03 +0000 (17:10 -0500)]
disable ASDLGEN if hg won't work, or if python is not installed.
This change makes configure check for
- the existence of a hg repository
- the hg executable itself
- the python executable

Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of
the above prerequisites is missing, so we now disable it instead.

closes #12225

14 years agoClose #12229: Remove an unused argument of _bufferedreader_peek_unlocked(),
Victor Stinner [Tue, 31 May 2011 22:01:24 +0000 (00:01 +0200)]
Close #12229: Remove an unused argument of _bufferedreader_peek_unlocked(),
io.BufferedReader._peek_unlocked(). Patch written by John O'Connor.

14 years agoRe-add line that was mistakenly removed alongside RPM support.
Éric Araujo [Tue, 31 May 2011 20:38:41 +0000 (22:38 +0200)]
Re-add line that was mistakenly removed alongside RPM support.

This reveals the need for bdist* tests.

14 years agoIssue #8407: test_signal doesn't check signal delivery order
Victor Stinner [Tue, 31 May 2011 20:31:09 +0000 (22:31 +0200)]
Issue #8407: test_signal doesn't check signal delivery order

Tthe signal delivery order is not portable or reliable.

14 years agoFix markup: arguments in a class directive are __init__ arguments, not base classes
Éric Araujo [Tue, 31 May 2011 19:50:38 +0000 (21:50 +0200)]
Fix markup: arguments in a class directive are __init__ arguments, not base classes

14 years agoRe-apply distutils2 changes lost before the merge of packaging.
Éric Araujo [Tue, 31 May 2011 16:04:32 +0000 (18:04 +0200)]
Re-apply distutils2 changes lost before the merge of packaging.

wrap_text was removed in favor of standard textwrap but the removal of the
function was lost in a bad merge; a change in sdist mysteriously disappeared.

14 years agoFix nonsensical name.
Éric Araujo [Tue, 31 May 2011 13:05:38 +0000 (15:05 +0200)]
Fix nonsensical name.

The code used “long” to refer to a long option (e.g. --quiet), which was
probably changed by 2to3 and not caught by the human operator, and then
changed to “integer” by me to avoid shadowing without seeing the real
obvious fix.

14 years agoFix test name in debug message
Éric Araujo [Tue, 31 May 2011 12:33:32 +0000 (14:33 +0200)]
Fix test name in debug message

14 years agoFix error message to use the Python name instead of the C name
Éric Araujo [Tue, 31 May 2011 12:08:26 +0000 (14:08 +0200)]
Fix error message to use the Python name instead of the C name

14 years agocode cleanup in packaging.run
Tarek Ziade [Tue, 31 May 2011 10:15:42 +0000 (12:15 +0200)]
code cleanup in packaging.run

14 years agomake sure we check for write access before starting the install, and add correct...
Tarek Ziade [Tue, 31 May 2011 10:09:34 +0000 (12:09 +0200)]
make sure we check for write access before starting the install, and add correct exit code

14 years agoTidy up the additional string module tests added at the Pycon sprints (closes #11505)
Nick Coghlan [Tue, 31 May 2011 09:40:11 +0000 (19:40 +1000)]
Tidy up the additional string module tests added at the Pycon sprints (closes #11505)

14 years agoimproved pysetup list UI
Tarek Ziade [Tue, 31 May 2011 07:18:24 +0000 (09:18 +0200)]
improved pysetup list UI

14 years agopromoted pysetup3 to a top-level script
Tarek Ziade [Tue, 31 May 2011 06:31:50 +0000 (08:31 +0200)]
promoted pysetup3 to a top-level script

14 years agomerge heads
Benjamin Peterson [Tue, 31 May 2011 00:25:43 +0000 (19:25 -0500)]
merge heads

14 years agoadd tests for negative with conjugate
Benjamin Peterson [Tue, 31 May 2011 00:22:53 +0000 (19:22 -0500)]
add tests for negative with conjugate

14 years ago(Merge 3.2) Issue #12057: Add tests for ISO 2022 codecs
Victor Stinner [Mon, 30 May 2011 22:03:07 +0000 (00:03 +0200)]
(Merge 3.2) Issue #12057: Add tests for ISO 2022 codecs

iso2022_jp, iso2022_jp_2 and iso2022_kr

14 years agoIssue #12057: Add tests for ISO 2022 codecs
Victor Stinner [Mon, 30 May 2011 22:01:24 +0000 (00:01 +0200)]
Issue #12057: Add tests for ISO 2022 codecs

iso2022_jp, iso2022_jp_2 and iso2022_kr

14 years ago(Merge 3.2) Issue #1195: fix the issue number of the NEWS entry
Victor Stinner [Mon, 30 May 2011 21:50:34 +0000 (23:50 +0200)]
(Merge 3.2) Issue #1195: fix the issue number of the NEWS entry

14 years agoIssue #1195: fix the issue number of the NEWS entry
Victor Stinner [Mon, 30 May 2011 21:50:04 +0000 (23:50 +0200)]
Issue #1195: fix the issue number of the NEWS entry

14 years ago(Merge 3.2) Issue #12016: my_fgets() now always clears errors before calling
Victor Stinner [Mon, 30 May 2011 21:47:01 +0000 (23:47 +0200)]
(Merge 3.2) Issue #12016: my_fgets() now always clears errors before calling
fgets(). Fix the following case: sys.stdin.read() stopped with CTRL+d (end of
file), raw_input() interrupted by CTRL+c.

14 years agoIssue #12016: my_fgets() now always clears errors before calling fgets(). Fix
Victor Stinner [Mon, 30 May 2011 21:46:00 +0000 (23:46 +0200)]
Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.

14 years agobetter UI when the user does not have the perms to remove the project
Tarek Ziade [Mon, 30 May 2011 21:26:51 +0000 (23:26 +0200)]
better UI when the user does not have the perms to remove the project

14 years agoIssue #12028: fix NEWS entry
Victor Stinner [Mon, 30 May 2011 21:23:50 +0000 (23:23 +0200)]
Issue #12028: fix NEWS entry

14 years agoClose #10616: mention bytes and bytearray in PyObject_AsCharBuffer() error
Victor Stinner [Mon, 30 May 2011 21:21:30 +0000 (23:21 +0200)]
Close #10616: mention bytes and bytearray in PyObject_AsCharBuffer() error
message

14 years agoClose #12028: Make threading._get_ident() public, rename it to
Victor Stinner [Mon, 30 May 2011 21:02:52 +0000 (23:02 +0200)]
Close #12028: Make threading._get_ident() public, rename it to
threading.get_ident() and document it. This function was used by
_thread.get_ident().

14 years agoClose #12089: Remove outdated and unused code from regrtest.
Victor Stinner [Mon, 30 May 2011 20:58:13 +0000 (22:58 +0200)]
Close #12089: Remove outdated and unused code from regrtest.

14 years agoClose #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
Victor Stinner [Mon, 30 May 2011 20:56:00 +0000 (22:56 +0200)]
Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
encreset() instead of decreset().

14 years agoUpdate the ACKS file with the packaging contributors
Alexis Metaireau [Mon, 30 May 2011 19:57:20 +0000 (21:57 +0200)]
Update the ACKS file with the packaging contributors

14 years agofixed the test_uninstall patch
Tarek Ziade [Mon, 30 May 2011 17:16:49 +0000 (19:16 +0200)]
fixed the test_uninstall patch

14 years agoIssue 12218: Removing wsgiref.egg-info
Tarek Ziade [Mon, 30 May 2011 16:55:32 +0000 (18:55 +0200)]
Issue 12218: Removing wsgiref.egg-info

14 years agomerge heads
Benjamin Peterson [Mon, 30 May 2011 16:15:05 +0000 (11:15 -0500)]
merge heads

14 years agodon't restrict unexpected EOF errors to the first line (closes #12216)
Benjamin Peterson [Mon, 30 May 2011 16:12:38 +0000 (11:12 -0500)]
don't restrict unexpected EOF errors to the first line (closes #12216)

14 years agouse better naming scheme
Benjamin Peterson [Mon, 30 May 2011 15:52:48 +0000 (10:52 -0500)]
use better naming scheme

14 years agoIncreases some test timeouts to fix issue 11864.
Brian Quinlan [Mon, 30 May 2011 11:52:24 +0000 (21:52 +1000)]
Increases some test timeouts to fix issue 11864.

14 years agodisplaying the faulty project name is a good idea
Tarek Ziade [Mon, 30 May 2011 10:25:38 +0000 (12:25 +0200)]
displaying the faulty project name is a good idea

14 years agoremoved spurious output
Tarek Ziade [Mon, 30 May 2011 10:25:21 +0000 (12:25 +0200)]
removed spurious output

14 years agoCleaned up the installer output behavior.
Tarek Ziade [Mon, 30 May 2011 10:07:49 +0000 (12:07 +0200)]
Cleaned up the installer output behavior.

This change also makes sure the logger handlers are not alterated after an
installation. That also fixes the remaining environment alteration issue in
test_packaging.

14 years agocleanup packaging.database
Tarek Ziade [Mon, 30 May 2011 09:07:54 +0000 (11:07 +0200)]
cleanup packaging.database

14 years agoa resource module for 2 functions is overkill. database is the right place for those
Tarek Ziade [Mon, 30 May 2011 08:57:44 +0000 (10:57 +0200)]
a resource module for 2 functions is overkill. database is the right place for those

14 years agoSimplify line-oriented tests in test_bz2.
Nadeem Vawda [Mon, 30 May 2011 00:09:54 +0000 (02:09 +0200)]
Simplify line-oriented tests in test_bz2.

14 years agoIssue #1625: Add stream ordering test to test_bz2.
Nadeem Vawda [Sun, 29 May 2011 23:58:12 +0000 (01:58 +0200)]
Issue #1625: Add stream ordering test to test_bz2.

14 years agoRemove unused data from test_bz2.
Nadeem Vawda [Sun, 29 May 2011 23:44:45 +0000 (01:44 +0200)]
Remove unused data from test_bz2.

DATA_CRLF was used to test BZ2File's universal newline logic, which was removed
in changeset ce63a5dcb0af. The tests themselves were removed in fbabdb0d7dd2.

14 years agoMiscellaneous cleanups to bz2 and test_bz2 following issue #1625.
Nadeem Vawda [Sun, 29 May 2011 23:12:24 +0000 (01:12 +0200)]
Miscellaneous cleanups to bz2 and test_bz2 following issue #1625.

* In bz2.decompress(), concatenate partial results in a way that should
   be more friendly to other Python implementations
* Remove redundant comments in test_bz2
* Use 'while True:' instead of 'while 1:'

14 years agoIssue #10736: Revert changeset de4d34a95603 as it causes failures with
Ned Deily [Sun, 29 May 2011 22:39:11 +0000 (15:39 -0700)]
Issue #10736: Revert changeset de4d34a95603 as it causes failures with
old Apple-supplied Carbon Tk 8.4.

14 years agoIssue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
Ned Deily [Sun, 29 May 2011 22:28:54 +0000 (15:28 -0700)]
Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
on Mac OS X.  (Patch by Ronald Oussoren)

14 years agomerge 3.2
Benjamin Peterson [Sun, 29 May 2011 21:44:10 +0000 (16:44 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Sun, 29 May 2011 21:43:52 +0000 (16:43 -0500)]
merge 3.1

14 years agoAdded tag v3.1.4rc1 for changeset 32fcb9e94985
Benjamin Peterson [Sun, 29 May 2011 21:10:15 +0000 (16:10 -0500)]
Added tag v3.1.4rc1 for changeset 32fcb9e94985

14 years agoupdate pydoc-topics v3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:09:08 +0000 (16:09 -0500)]
update pydoc-topics

14 years agobump to 3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:06:00 +0000 (16:06 -0500)]
bump to 3.1.4rc1

14 years agoSkip test_pipe2 on Linux kernels older than 2.6.27.
Charles-François Natali [Sun, 29 May 2011 18:46:27 +0000 (20:46 +0200)]
Skip test_pipe2 on Linux kernels older than 2.6.27.

14 years agoIssue #12196: Add pipe2() to the os module.
Charles-François Natali [Sun, 29 May 2011 18:07:40 +0000 (20:07 +0200)]
Issue #12196: Add pipe2() to the os module.

14 years agobump ast version
Benjamin Peterson [Sun, 29 May 2011 16:45:29 +0000 (11:45 -0500)]
bump ast version