Brett Cannon
4f9b4343ed
merge
2013-05-04 17:29:36 -04:00
Brett Cannon
9c1334ef7d
#17115 : Remove what appears to be a useless chunk of code which broke
...
other tests.
2013-05-04 17:27:59 -04:00
Antoine Pitrou
52c5f85cf9
Issue #14173 : Avoid crashing when reading a signal handler during interpreter shutdown.
2013-05-04 23:21:09 +02:00
Antoine Pitrou
c8c952ce2a
Issue #14173 : Avoid crashing when reading a signal handler during interpreter shutdown.
2013-05-04 23:16:59 +02:00
Antoine Pitrou
df6931dbbc
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
2013-05-04 20:46:19 +02:00
Antoine Pitrou
957a23b088
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
2013-05-04 20:45:02 +02:00
Antoine Pitrou
609a56f788
Elaborate on bytes-like objects.
2013-05-04 20:18:53 +02:00
Antoine Pitrou
5de183a07c
Elaborate on bytes-like objects.
2013-05-04 20:18:34 +02:00
Antoine Pitrou
1a6cb30a34
Issue #5845 : Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.
...
(original patch by Éric Araujo)
2013-05-04 20:08:35 +02:00
Brett Cannon
4c14b5de1c
#17115,17116: Have modules initialize the __package__ and __loader__
...
attributes to None.
The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.
This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.
2013-05-04 13:56:58 -04:00
Ezio Melotti
4cfc0b5411
#16518 : merge with 3.3.
2013-05-04 18:07:12 +03:00
Ezio Melotti
c228e96726
#16518 : use "bytes-like object" throughout the docs.
2013-05-04 18:06:34 +03:00
Ezio Melotti
4e59af7abd
#7855 : merge with 3.3.
2013-05-04 17:47:54 +03:00
Ezio Melotti
28faf03d44
#7855 : Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
2013-05-04 17:46:23 +03:00
Serhiy Storchaka
a8bc7fd559
Null merge (already committed in changeset a3ba5fe9bfd3)
2013-05-04 15:16:16 +03:00
Serhiy Storchaka
59115aa7c9
Issue #16316 : mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
2013-05-04 15:12:55 +03:00
Brett Cannon
95ea11fa31
add trailing newline to file
2013-05-03 10:57:08 -04:00
Brett Cannon
142685337f
Move test_imp over to unittest.main()
2013-05-03 10:56:19 -04:00
Brett Cannon
130e48199a
Guard more tests in test_imp requiring imp.load_dynamic() to exist.
2013-05-03 10:54:23 -04:00
Brett Cannon
2a9c653f38
#15902 : merge w/ 3.3
2013-05-03 10:47:17 -04:00
Brett Cannon
9d0f772c51
Issue #15902 : Fix imp.load_module() to accept None as a file when
...
trying to load an extension module.
While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().
2013-05-03 10:37:08 -04:00
Raymond Hettinger
4072875dcb
merge
2013-05-03 02:41:02 -07:00
Raymond Hettinger
b98dcc1f53
Issue #15535 : Fix pickling of named tuples.
2013-05-03 02:24:15 -07:00
Alexandre Vassalotti
865eaa1b53
Closes #17892 : Fix the name of _PyObject_CallMethodObjIdArgs
2013-05-02 10:44:04 -07:00
Antoine Pitrou
242db728e2
Issue #13721 : SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.
2013-05-01 20:52:07 +02:00
Ezio Melotti
f6ca26fbff
#17802 : merge with 3.3.
2013-05-01 16:20:00 +03:00
Ezio Melotti
8e596a765c
#17802 : Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
2013-05-01 16:18:25 +03:00
Charles-Francois Natali
8a42d60188
Merge.
2013-05-01 15:15:50 +02:00
Ezio Melotti
8dff4bd7af
Move NEWS entry to the right section.
2013-05-01 16:13:45 +03:00
Charles-Francois Natali
f18a82d956
Issue #17529 : Fix os.sendfile() documentation regarding the type of file
...
descriptor supported.
2013-05-01 15:13:12 +02:00
Charles-Francois Natali
a771a1b48e
Issue #17529 : Fix os.sendfile() documentation regarding the type of file
...
descriptor supported.
2013-05-01 15:12:20 +02:00
Ezio Melotti
1698babd1b
#14679 : add an __all__ (that contains only HTMLParser) to html.parser.
2013-05-01 16:09:34 +03:00
Ezio Melotti
ed52f6cb73
#11078 : test___all__ now checks for duplicates in __all__. Initial patch by R. David Murray.
2013-05-01 14:58:09 +03:00
Antoine Pitrou
4c09c2cbd5
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:17:45 +02:00
Antoine Pitrou
81641d6ebc
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:15:44 +02:00
Ezio Melotti
e1419e80cf
#16518 : merge with 3.3.
2013-04-30 23:34:41 +03:00
Ezio Melotti
aa54e2ff5e
#16518 : add "bytes-like object" to the glossary.
2013-04-30 23:33:31 +03:00
Benjamin Peterson
3b0431dc60
check local class namespace before reaching for cells ( closes #17853 )
2013-04-30 09:41:40 -04:00
Ezio Melotti
f256f5f3eb
#17881 : merge with 3.3.
2013-04-30 16:34:30 +03:00
Ezio Melotti
ab6ab15e7d
#17881 : clarify documentation of plistlib.
2013-04-30 16:34:04 +03:00
Gregory P. Smith
60342fea4e
merge (no news entry needed for this fix to an earlier 3.4 blunder
...
that already contains the right news)
2013-04-30 01:05:28 -07:00
Gregory P. Smith
2a6486cded
merge
2013-04-30 01:03:46 -07:00
Gregory P. Smith
5d6620d9d5
fix the news entry, the description in 3.3 should be different
...
than the one merged from 3.2 to match the actual changes here.
2013-04-30 01:01:54 -07:00
Gregory P. Smith
fde108ba37
news entry
2013-04-30 00:58:24 -07:00
Gregory P. Smith
cf86d9441e
news entry
2013-04-30 00:57:18 -07:00
Gregory P. Smith
9012f144be
null merge
2013-04-30 00:06:20 -07:00
Gregory P. Smith
671905de89
null merge
2013-04-30 00:05:50 -07:00
Gregory P. Smith
910bfb7beb
This local change was lost during the fixing of issue17192 to update
...
libffi to 3.0.13. (i'm not sure if it is needed anymore but see
issue 10309 for details which makes no mention of upstream; this
change is already in 3.3 and 3.4 but may need reapplying to 2.7
as done here)
2013-04-30 00:05:25 -07:00
Gregory P. Smith
d8fe1f7881
* Fix remaining bits of issue 17192 for 3.4 - these changes
...
were missing from a messed up merge during the libffi 3.0.13
import. the diffs from upstream libffi 3.0.13 are now small.
2013-04-30 00:03:30 -07:00
Gregory P. Smith
5dc268ed26
* Fix remaining bits of issue 17192 for 3.3 - these changes
...
were missing from a messed up merge during the libffi 3.0.13
import. the diffs from upstream libffi 3.0.13 are now small.
2013-04-30 00:03:01 -07:00