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

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