Benjamin Peterson
703f7c4bf5
merge 3.2 ( #9284 )
2011-06-11 15:56:46 -05:00
Benjamin Peterson
9620cc0463
allow "fake" filenames in findsource ( closes #9284 )
...
This allows findsource() to work in doctests.
A patch from Dirkjan Ochtman.
2011-06-11 15:53:11 -05:00
Éric Araujo
3ae42726d4
Merge minor doc change from 3.2
2011-06-11 19:56:28 +02:00
Éric Araujo
bc18532eee
Branch merge
2011-06-11 19:56:09 +02:00
Charles-François Natali
a529308348
Issue #12287 : In ossaudiodev, check that the device isn't closed in several
...
methods.
2011-06-11 18:58:24 +02:00
Benjamin Peterson
d8649b1a1a
merge 3.2
2011-06-11 11:34:37 -05:00
Benjamin Peterson
49e7bb9ea0
merge 3.1
2011-06-11 11:34:31 -05:00
Benjamin Peterson
acde6a0a40
onto 3.1.5
2011-06-11 11:33:01 -05:00
Benjamin Peterson
5094eee276
merge 3.2
2011-06-11 10:01:35 -05:00
Benjamin Peterson
98661d13d7
merge 3.1
2011-06-11 10:01:14 -05:00
Benjamin Peterson
f2ff3054f9
Added tag v3.1.4 for changeset c918ec9f3a76
2011-06-11 09:59:17 -05:00
Benjamin Peterson
d858df20d0
bump to 3.1.4
2011-06-11 09:58:58 -05:00
Éric Araujo
9fbfe15c86
Add missing reST target to one heading in the tutorial
2011-06-11 10:34:19 +02:00
Éric Araujo
6280606a57
Adjust logging in packaging.util.spawn (related to #11599 )
2011-06-11 09:46:07 +02:00
Éric Araujo
7ebadd5d8d
Use correct directive to document one method
2011-06-11 03:27:03 +02:00
Éric Araujo
643cb7345f
Allow multiple setup hooks in packaging’s setup.cfg files ( #12240 ).
...
Original patch by Erik Bray.
2011-06-11 00:33:38 +02:00
Éric Araujo
8474f2901b
setup.cfg: Document that description-file can contain more than one file
2011-06-11 00:21:18 +02:00
Éric Araujo
3605030c9b
Fix assorted bugs in packaging.util.cfg_to_args ( #11595 ).
...
Original patch by Erik Bray.
2011-06-10 23:52:26 +02:00
Éric Araujo
1c1d9a5026
Move useful function to packaging.util.
...
Original patch by Erik Bray as part of #11595 , changed by me to improve
readability.
2011-06-10 23:26:31 +02:00
Vinay Sajip
89c00ce33a
Updated Formatter.formatTime docs to indicate configuration via class attributes.
2011-06-10 19:05:16 +01:00
Vinay Sajip
bbbee04ef4
Merged documentation change for Issue #12168 .
2011-06-10 18:54:12 +01:00
Vinay Sajip
645e4589b1
Documented change for Issue #12168 .
2011-06-10 18:52:50 +01:00
Benjamin Peterson
49aaad3c47
merge heads
2011-06-10 12:32:07 -05:00
Benjamin Peterson
ae10b3201c
merge 3.2 ( #12009 )
2011-06-10 12:30:16 -05:00
Benjamin Peterson
9aa68e4b32
merge 3.1 ( #12009 )
2011-06-10 12:29:40 -05:00
Éric Araujo
df55334d52
Branch merge
2011-06-10 18:34:45 +02:00
Benjamin Peterson
1df0f214a9
fix regression in netrc comment handling ( closes #12009 )
2011-06-10 11:32:52 -05:00
Éric Araujo
fa6cfbc4f7
Don’t try to install something when running from uninstalled source ( #12246 ).
...
Original patch by Tshepang Lekhonkhobe.
2011-06-10 18:31:40 +02:00
Victor Stinner
ff9b5c76ab
null merge 3.2 (patch already applied to 3.3)
2011-06-10 16:38:38 +02:00
Victor Stinner
a13660807e
null merge 3.1 (patch already applied to 3.2)
2011-06-10 16:37:41 +02:00
Victor Stinner
e6eafa2ade
Issue #10801 : Fix test_unicode_filenames() of test_zipfile
...
Just try to open files from the ZIP for reading, don't extract them to avoid
UnicodeEncodeError if the filename is not encodable to the filesystem encoding
(e.g. ASCII locale encoding).
2011-06-10 16:32:54 +02:00
Victor Stinner
7f294d1e19
Issue #8407 : skip sigwait() tests if pthread_sigmask() is missing
...
The new tests now requires pthread_sigmask(). Skip the test if the function is
missing, e.g. if Python is compiled without threads.
2011-06-10 14:02:10 +02:00
Victor Stinner
3a38a6db43
test_platform: ignore DeprecationWarning on popen() test
2011-06-10 13:59:59 +02:00
Victor Stinner
46591664fa
Issue #8407 : write error message on sigwait test failure
2011-06-10 13:53:32 +02:00
Victor Stinner
af4946020e
Issue #8407 : Make signal.sigwait() tests more reliable
...
Block the signal before calling sigwait(). Use os.fork() to ensure that we have
only one thread.
Initial patch written by Charles-François Natali.
2011-06-10 12:48:13 +02:00
Ross Lagerwall
b0ae53d8a0
Issue #9344 : Add os.getgrouplist().
2011-06-10 07:30:30 +02:00
Éric Araujo
2b612220e4
Clean up extra environment variable after packaging tests.
...
packaging.util.check_environ will define HOME and PLAT if they don’t exist; for
some reason, it does not define PLAT when running the tests from a checkout (so
no regrtest warning) but does when running from an installed Python.
Cleaning up the envvar in test_dist fixes the warning on my machine, but I
suspect that a test runner using a different order to run files or running them
in parallel may have PLAT defined in its environment because of another test.
Quite a lot of code ends up calling check_environ; maybe we should just clean
up PLAT in every test. For now I’m doing this simple fix, we’ll see if we get
bug reports.
2011-06-10 04:29:43 +02:00
Éric Araujo
f53cd89006
Fix omission in test for packaging install_distinfo command.
...
The code does not write checksum or file length for .pyc and .pyo in the RECORD
file, in compliance with PEP 376, but the test forgot to take .pyo into
account. This was not caught because there were no .pyo in the checkout, but
after installing there are .pyo files created by compileall, and the test picks
them up.
2011-06-10 03:53:49 +02:00
Éric Araujo
edd95dd3cb
Remove *.egg-info from Makefile.pre.in (follow-up to d615eb7bce33, #12218 )
2011-06-10 03:48:04 +02:00
Éric Araujo
5c6684f314
Packaging: use repr to display projects name (3ebabfbf6fe3 followup)
2011-06-10 03:10:53 +02:00
Victor Stinner
10c30d6764
Issue #8407 : signal.sigwait() releases the GIL
...
Initial patch by Charles-François Natali.
2011-06-10 01:39:53 +02:00
Brian Curtin
589f89e2ad
Removed a Windows 9x trick used before LoadLibraryExW.
...
Windows 9x has long been unsupported and the result of GetFullPathName
was not even being used in the first place.
2011-06-09 17:55:54 -05:00
R David Murray
51fcb811e3
Merge #10694 : zipfile now ignores garbage at the end of a zipfile.
2011-06-09 15:52:31 -04:00
R David Murray
4fbb9dbd34
#10694 : zipfile now ignores garbage at the end of a zipfile.
...
Original fix by 'rep', final patch (with tests) by Xuanji Li.
2011-06-09 15:50:51 -04:00
R David Murray
0a9f16b627
merge #12283 : Fixed regression in smtplib quoting of leading dots in DATA.
2011-06-09 15:21:02 -04:00
R David Murray
0f663d07e6
#12283 : Fixed regression in smtplib quoting of leading dots in DATA.
...
I unfortunately introduced the regression when I refactored the code,
and there were no tests of quoting so it wasn't caught. Now there
is one.
2011-06-09 15:05:57 -04:00
Vinay Sajip
bf353aadf2
Merged upstream changes.
2011-06-09 18:43:11 +01:00
Vinay Sajip
ae5740f139
Made time formats in Formatter more configurable.
2011-06-09 18:42:19 +01:00
R David Murray
f97c59aaba
#10424 : argument names are now included in the missing argument message
...
Fix and initial test patch by Michele Orrù.
2011-06-09 12:34:07 -04:00
Vinay Sajip
8dd8d582e3
Merged fix for issue #12168 from 3.2.
2011-06-09 16:55:23 +01:00