Meador Inge
1c9f0c93ad
Issue #1172711 : Add 'long long' support to the array module.
...
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-09-20 19:55:51 -05:00
Victor Stinner
4ad6ed7d4d
Merge 3.2: test_multiprocessing removes temporary files
2011-09-21 01:12:59 +02:00
Victor Stinner
d0b10a6435
test_multiprocessing removes temporary files
2011-09-21 01:10:29 +02:00
Victor Stinner
c61fae04f6
Merge 3.2: test_httplib removes temporary files
2011-09-21 01:09:29 +02:00
Victor Stinner
18d15cb665
test_httplib removes temporary files
2011-09-21 01:09:04 +02:00
Barry Warsaw
8ed6fa1c0b
Head merge
2011-09-20 14:58:19 -04:00
Barry Warsaw
a80b14cc5f
- Issue #13021 : Missing decref on an error path. Thanks to Suman Saha for
...
finding the bug and providing a patch.
2011-09-20 14:58:01 -04:00
Barry Warsaw
916048d780
- Issue #13021 : Missing decref on an error path. Thanks to Suman Saha for
...
finding the bug and providing a patch.
2011-09-20 14:45:44 -04:00
Charles-François Natali
bc8f08216e
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-20 20:36:51 +02:00
Charles-François Natali
225aa4f8ec
Issue #12996 : multiprocessing.connection: transmit the header in network byte
...
order (endpoints machines can have different endianness).
2011-09-20 19:27:39 +02:00
Victor Stinner
6fa6777503
os.statvfs() encodes the filename to the filesystem encoding
2011-09-20 04:04:33 +02:00
Mark Dickinson
8f53d092f2
Merge issue #12973 list_repeat fix.
2011-09-19 19:19:50 +01:00
Mark Dickinson
c0420fd42a
Issue #12973 : Fix undefined-behaviour-inducing overflow check in list_repeat.
2011-09-19 19:18:37 +01:00
Jesus Cea
a372de8408
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:11:26 +02:00
Jesus Cea
bc566b00ad
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:08:18 +02:00
Éric Araujo
1cbd2ab404
Avoid matching '' or 'yn' when asking for 'y' or 'n' in interactive code
2011-09-19 16:21:37 +02:00
Éric Araujo
becf1c5857
Branch merge
2011-09-19 16:10:26 +02:00
Nick Coghlan
2496f331a7
Close issue 12958 by flagging expected failures in test_socket on Mac OS X
2011-09-19 20:26:31 +10:00
Ross Lagerwall
b1e5d595af
Issue #12517 : Silence warning on windows buildbots (from 7fd80c61ddaa).
2011-09-19 08:30:43 +02:00
Éric Araujo
28df8de6af
Make regrtest look at internal dicts in sysconfig.
...
This reveals problems in the packaging test suite, which I’ll look
into after the regrtest checks are made more usable (see #12314 ).
2011-09-19 05:10:45 +02:00
Éric Araujo
505f0ebf88
Final bag of small changes coming from distutils2.
...
- minor cleanup in Metadata
- trigger creation of the sysconfig._CONFIG_VARS dict
- home_page is used over home-page: it’s not a compound word, it’s an
escaped space
Distutils2 is now synchronized with Packaging.
2011-09-19 15:12:23 +02:00
Éric Araujo
c1b7e7f8bb
A few style changes originally done in the distutils2 repo
2011-09-18 23:12:30 +02:00
Éric Araujo
f30b5ae6fd
Replace cmp function with key function
2011-09-18 21:03:24 +02:00
Éric Araujo
cc06ad187d
Fix typo and wording
2011-09-18 20:36:19 +02:00
Éric Araujo
cc95dd81f3
Branch merge
2011-09-18 20:24:27 +02:00
Éric Araujo
229011d949
Make a number of small changes to ease the backport to distutils2
2011-09-18 20:11:48 +02:00
Éric Araujo
41479450ec
Fix fallback base class when tests run without threading
2011-09-18 17:00:38 +02:00
Georg Brandl
ddd2d70cc6
Merge example fix from 3.2.
2011-09-18 07:40:20 +02:00
Georg Brandl
1d678f8413
Fix bug in heapq priority queue example.
2011-09-18 07:40:05 +02:00
Georg Brandl
902e895578
merge doc fixes from 3.2
2011-09-17 20:40:35 +02:00
Georg Brandl
73dd7c71f6
Add info from the docstring for random.gammavariate() to the docs.
2011-09-17 20:36:28 +02:00
Georg Brandl
755460694e
Fix typo.
2011-09-17 20:20:04 +02:00
Éric Araujo
0cfb81d13f
Use a local name (it was intended to be used but overlooked).
...
This was caught in the distutils2 repo by pyflakes.
2011-09-17 03:35:57 +02:00
Éric Araujo
7724a6c10c
Packaging cleanup: remove conditionals for < 2.6 support.
...
PEP 370 features and sys.dont_write_bytecode are always available
in 3.3; the distutils2 backport still has the conditionals.
I also renamed an internal misnamed method and fixed a few things
(“packaging2” name, stray print, unused import, fd leak).
2011-09-17 03:31:51 +02:00
Ned Deily
e30186bf4b
Issue #12765 : Fix packaging.test.test_database failures on OS X due
...
to unwarranted assumption about absolute paths: on OS X /var is a
symlink to /private/var. (Also true for /etc and /tmp).
2011-09-15 15:09:23 -07:00
Victor Stinner
9561d7c526
import.c: remove now useless arbitrary limit
2011-09-15 19:50:01 +02:00
Victor Stinner
84b8e40fd7
Merge 3.2: Fix the import machinery if there is an error on sys.path or sys.meta_path
...
find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.
2011-09-15 19:38:54 +02:00
Victor Stinner
1619132e5d
Fix the import machinery if there is an error on sys.path or sys.meta_path
...
find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.
2011-09-15 19:28:05 +02:00
Éric Araujo
37ccd6f794
Fix packaging.database.Distribution.list_distinfo_files ( #12785 ).
...
This method was supposed to return only the file under the dist-info
directory, but it actually returned all installed files.
The tests didn’t catch this because they were flawed; I updated them.
Thanks to Nadeem Vawda and Jeremy Kloth for testing.
As a bonus, the removal of os.path.relpath use should also fix the
Windows buildbots.
2011-09-15 18:18:51 +02:00
Ned Deily
86ca04ccc7
Issue #9871 : Prevent IDLE 3 crash when given byte stings
...
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:56:32 -07:00
Ned Deily
79746426c4
Issue #9871 : Prevent IDLE 3 crash when given byte stings
...
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:49:14 -07:00
Benjamin Peterson
02ba6c2916
merge heads
2011-09-14 11:46:17 -04:00
Benjamin Peterson
9428d53eb4
only compile xattrs on glibc ( closes #12720 )
2011-09-14 11:45:52 -04:00
Stefan Krah
66611c554d
Merge fix for issue #11149 .
2011-09-14 15:17:12 +02:00
Stefan Krah
962055d3c6
Issue #11149 : recent versions of clang require the -fwrapv flag.
2011-09-14 15:14:08 +02:00
Benjamin Peterson
b77fe17320
Use xattr functions from sys/xattr.h instead of attr/xattr.h ( closes #12720 )
...
sys/xattr.h is glibc while attr/xattr.h is a separate library.
2011-09-13 17:20:47 -04:00
Jeremy Kloth
3ac4f59a82
The value is the dotted module name to the command class.
2011-09-13 08:26:25 -06:00
Senthil Kumaran
e012c02a5c
merge from 3.2
2011-09-13 07:14:39 +08:00
Senthil Kumaran
d71bbf9fd5
Fix issue12938 - Update the docstring of html.escape. Include the information on single quote.
2011-09-13 07:14:13 +08:00
Senthil Kumaran
b7a690aeb4
merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924
2011-09-13 06:41:43 +08:00