History log of /external/python/cpython3/Objects/moduleobject.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06515833fef7b8b5c7968edf72367d94ff7eb1e0 20-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
/external/python/cpython3/Objects/moduleobject.c
3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1 16-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.
f4934ea77da38516731a75fbf9458b248d26dd81 16-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.
/external/python/cpython3/Objects/moduleobject.c
333ad92ec2d399873f5bf3a55a081830db4bedc1 26-Sep-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #27914: Fixed a comment in PyModule_ExcDef.
Patch by Xiang Zhang.
/external/python/cpython3/Objects/moduleobject.c
cbcd221de4f13a855ba37d48a238895e4ddc92f4 21-Aug-2016 Nick Coghlan <ncoghlan@gmail.com> Merge #27782 fix from 3.5
8682f578c1c8fd0486c886b001729907a5409a9f 21-Aug-2016 Nick Coghlan <ncoghlan@gmail.com> Issue #27782: Fix m_methods handling in multiphase init

Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.

Patch by Xiang Zhang.
/external/python/cpython3/Objects/moduleobject.c
7fbce56a57bd8ef45191eb8e4abb4b5d8edb1384 18-Aug-2016 Berker Peksag <berker.peksag@gmail.com> Issue #12946: Remove dead code in PyModule_GetDict

PyModule_NewObject already sets md_dict to PyDict_New():

m->md_dict = PyDict_New();
/external/python/cpython3/Objects/moduleobject.c
48842714b948fa239392ddd7e207151d5fcb8bc7 06-Apr-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #22570: Renamed Py_SETREF to Py_XSETREF.
/external/python/cpython3/Objects/moduleobject.c
5a57ade58ec5bee85db41b8ce1340ff077781b65 24-Dec-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
/external/python/cpython3/Objects/moduleobject.c
a48db2bc8b882e887fbe8a84b31828d8491dd877 23-May-2015 Nick Coghlan <ncoghlan@gmail.com> Issue #24268: Address some PEP 489 refleaks

- missing DECREF in PyModule_FromDefAndSpec2
- missing DECREF in PyType_FromSpecAndBases2
- missing DECREF in _testmultiphase module

Patch by Petr Viktorin
/external/python/cpython3/Objects/moduleobject.c
d5cacbb1d9c3edc02bf0ba01702e7c06da5bc318 23-May-2015 Nick Coghlan <ncoghlan@gmail.com> PEP 489: Multi-phase extension module initialization

Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

./python -m test -R3:3 test_importlib

However, you can also see it by running:

./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
/external/python/cpython3/Objects/moduleobject.c
009b811d678f36cf63be4fe26f3fbaa38aa0078e 18-Mar-2015 Serhiy Storchaka <storchaka@gmail.com> Removed unintentional trailing spaces in non-external and non-generated C files.
/external/python/cpython3/Objects/moduleobject.c
027ce16691ba723413aaec520be07cb52e857e42 25-Apr-2014 Benjamin Peterson <benjamin@python.org> sprinkle some _PyId goodness around moduleobject.c
/external/python/cpython3/Objects/moduleobject.c
1184e266b92b2b9b5effccd570024c72de1363fe 25-Apr-2014 Benjamin Peterson <benjamin@python.org> do not override errors from descriptors on modules
/external/python/cpython3/Objects/moduleobject.c
7b9ff0e6da5371214b29053cdb96218e0d2eb655 24-Apr-2014 Ethan Furman <ethan@stoneleaf.us> Issue8297: module attribute lookup failures now include module name in error message.
/external/python/cpython3/Objects/moduleobject.c
226c57100c70c42eca199e1c701d5bd17a135cce 12-Feb-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
1f9d11b986c95005fbebb724ee3425ad2eb30967 12-Feb-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
/external/python/cpython3/Objects/moduleobject.c
87a5c515d03f3e2215f3da7b90a4b848ac510879 10-Feb-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19255: The builtins module is restored to initial value before
cleaning other modules. The sys and builtins modules are cleaned last.
/external/python/cpython3/Objects/moduleobject.c
b523f8433a8982e10eb41a3e2b37ee0e6d6a6e00 22-Nov-2013 Eric Snow <ericsnowcurrently@gmail.com> Implement PEP 451 (ModuleSpec).
/external/python/cpython3/Objects/moduleobject.c
dcedaf6e53fcba48aa8185d0dc27d832da2615aa 31-Jul-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.
/external/python/cpython3/Objects/moduleobject.c
4c14b5de1cf372e963a4378fc6cb2bca36d24eb8 04-May-2013 Brett Cannon <brett@python.org> #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.
/external/python/cpython3/Objects/moduleobject.c
f4cc2161d567460f27a1390277ba6c70581ebc0d 19-Jul-2012 Meador Inge <meadori@gmail.com> Issue #15394: Fix ref leaks in PyModule_Create.

Patch by Julia Lawall.
29e49d63942cc75ead85a4cb77dea34285be9fcc 19-Jul-2012 Meador Inge <meadori@gmail.com> Issue #15394: Fix ref leaks in PyModule_Create.

Patch by Julia Lawall.
/external/python/cpython3/Objects/moduleobject.c
984b11f88fcace98e30decc19bbf9e281355e607 25-May-2012 Eric V. Smith <eric@trueblade.com> issue 14660: Implement PEP 420, namespace packages.
/external/python/cpython3/Objects/moduleobject.c
62228dbd6c3b7be4199756c42a21429664c053e6 29-Apr-2012 Brett Cannon <brett@python.org> Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.

Thanks to Eric Snow for the patch.
/external/python/cpython3/Objects/moduleobject.c
bd928fef428e48084ff29ece0e21d07ad86d0793 14-Oct-2011 Martin v. Löwis <martin@v.loewis.de> Rename _Py_identifier to _Py_IDENTIFIER.
/external/python/cpython3/Objects/moduleobject.c
1ee1b6fe0dd7baca0da50e365929d03d42128705 10-Oct-2011 Martin v. Löwis <martin@v.loewis.de> Use identifier API for PyObject_GetAttrString.
/external/python/cpython3/Objects/moduleobject.c
d63a3b8beb4a0841cb59fb3515347ccaab34b733 28-Sep-2011 Martin v. Löwis <martin@v.loewis.de> Implement PEP 393.
/external/python/cpython3/Objects/moduleobject.c
c7284122be9254a6e3b5471a933852b68692130b 24-May-2011 Benjamin Peterson <benjamin@python.org> indicate return value on __dir__ methods
/external/python/cpython3/Objects/moduleobject.c
82b00c1d307f7fb39f388760b9ccd519fe3ef63b 24-May-2011 Benjamin Peterson <benjamin@python.org> move specialized dir implementations into __dir__ methods (closes #12166)
/external/python/cpython3/Objects/moduleobject.c
0639b56672112e69a1d55c0105dae9198f757ec2 04-Mar-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #3080: Add PyModule_NewObject() function
/external/python/cpython3/Objects/moduleobject.c
bd475115c4fb0dda55f3d1f4443bff58abd1203f 23-Feb-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #3080: Add PyModule_GetNameObject()

repr(module) uses %R to format module name and filenames, instead of '%s' and
'%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
/external/python/cpython3/Objects/moduleobject.c
ce4b170c5a6ab03af66331871f827fb021cebe18 15-Dec-2010 R. David Murray <rdmurray@bitdance.com> #4236: avoid possible Fatal Error when import is called from __del__

Patch by Simon Cross, crasher test code by Martin von Löwis.
/external/python/cpython3/Objects/moduleobject.c
532d091d058bca2c43b24bc79b53aa70f5caa365 10-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Reverted accidental commit (from r87159)
/external/python/cpython3/Objects/moduleobject.c
fc55789cae2db09fe190989943b112fbdc0f5423 10-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Updated UCD version and unicode.org links to Unicode 6.0.0
/external/python/cpython3/Objects/moduleobject.c
4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 03-Dec-2010 Martin v. Löwis <martin@v.loewis.de> Merge branches/pep-0384.
/external/python/cpython3/Objects/moduleobject.c
5c4bfc4af070c5c62f76cf3c2d23a19e7c794c4e 13-Oct-2010 Benjamin Peterson <benjamin@python.org> prefer clearing global objects to obscure module.__dict__ bugs #10068
/external/python/cpython3/Objects/moduleobject.c
6c00c1464f03deaafbbd5fdd212514cbf36b9bd4 18-Aug-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #9425: Create PyModule_GetFilenameObject() function

... to get the filename as a unicode object, instead of a byte string. Function
needed to support unencodable filenames. Deprecate PyModule_GetFilename() in
favor on the new function.
/external/python/cpython3/Objects/moduleobject.c
4a2b7a1b141fcbed6da81d942c9db776874c2fa9 13-Aug-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #9425: Create PyErr_WarnFormat() function

Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.

Strip also some trailing spaces.
/external/python/cpython3/Objects/moduleobject.c
f3f22a278d146d54bddc14042573737c3440cf84 19-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #6697: Fix a crash if a module attribute name contains a surrogate
/external/python/cpython3/Objects/moduleobject.c
f95a1b3c53bdd678b64aa608d4375660033460c3 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

Untabify C files. Will watch buildbots.
........
/external/python/cpython3/Objects/moduleobject.c
8124feb07b130bb39d13f2f3cb6457b185694e41 07-May-2010 Victor Stinner <victor.stinner@haypocalc.com> module_repr(): use %U to format the file name

Avoid useless encode/decode of the filename
/external/python/cpython3/Objects/moduleobject.c
a0dfa82eca0f4b9855b6e234f9b21e5d60c88a10 13-Nov-2009 Benjamin Peterson <benjamin@python.org> Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines

Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
........
r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line

Wording fix
........
r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line

Fix narkup
........
r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line

Document 'skip' parameter to constructor
........
r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line

Note side benefit of socket.create_connection()
........
r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line

Reword sentence
........
r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line

Use standard comma punctuation; reword some sentences in the docs
........
r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line

Backport r73983: Document the thousands separator.
........
r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line

death to old CVS keyword
........
r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line

fix some coding style
........
r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line

platform we don't care about
........
r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines

Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
........
r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line

pep8ify if blocks
........
r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line

use floor division and add a test that exercises the tabsize codepath
........
r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line

change test to what I intended
........
r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line

some cleanups
........
r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line

make inspect.isabstract() always return a boolean; add a test for it, too #7069
........
r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line

only clear a module's __dict__ if the module is the only one with a reference to it #7140
........
r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line

Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
........
r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines

Add a comment about unreachable code, and fix a typo
........
r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line

use property api
........
r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line

clarify buffer arg #7178
........
r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line

whitespace
........
r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line

rewrite to be nice to other implementations
........
r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines

rewrite for style, clarify, and comments

Also, use the hasattr() like scheme of allowing BaseException exceptions through.
........
r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines

Fix compilation error in debug mode.
........
r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line

use 'is' instead of id()
........
r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line

test expect base classes
........
r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line

Use the correct function name in docstring.
........
r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line

Remove mention of the old -X command line switch.
........
r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line

Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests.
........
r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line

Use a single style for all the docstrings in the math module.
........
r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line

I do not think the "railroad" program mentioned is still available.
........
r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line

Fix constant name.
........
r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line

prevent a rather unlikely segfault
........
r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line

#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line

spelling
........
r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line

#7271: fix typo.
........
r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line

discuss how to use -p
........
r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line

Give the profile module a module directive.
........
/external/python/cpython3/Objects/moduleobject.c
e94c679df0b632bc929936ca54f0de006e1a6dc2 02-Feb-2009 Mark Dickinson <dickinsm@gmail.com> Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
/external/python/cpython3/Objects/moduleobject.c
e4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd 17-Jan-2009 Antoine Pitrou <solipsis@pitrou.net> Issue #4838: When a module is deallocated, free the memory backing the optional module state data.
/external/python/cpython3/Objects/moduleobject.c
574b1279d974b45064492ec53e7dd0a81a4ef0e0 02-Jan-2009 Georg Brandl <georg@python.org> Remove traces of Py_InitModule*.
/external/python/cpython3/Objects/moduleobject.c
4e0630cb5276512541e75bc6f4dd63f7fda9bee3 07-Oct-2008 Martin v. Löwis <martin@v.loewis.de> Issue #3740: Null-initialize module state.
Reviewed by Benjamin Peterson.
/external/python/cpython3/Objects/moduleobject.c
4cc0f24857c345ba99691b2ae6829c6ce3c0edcd 07-Aug-2008 Marc-André Lemburg <mal@egenix.com> Rename PyUnicode_AsString -> _PyUnicode_AsString and
PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.

We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
/external/python/cpython3/Objects/moduleobject.c
1a21451b1d73b65af949193208372e86bf308411 11-Jun-2008 Martin v. Löwis <martin@v.loewis.de> Implement PEP 3121: new module initialization and finalization API.
/external/python/cpython3/Objects/moduleobject.c
90aa7646affbaee9628ca6ea6a702aec17b3b550 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
/external/python/cpython3/Objects/moduleobject.c
cbf3b5cb76906fba15dbf59a1e83c540a447b907 03-Dec-2007 Christian Heimes <christian@cheimes.de> Merged revisions 59275-59303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTE: The merge does NOT contain the modified file Python/import.c from
r59288. I can't get it running. Nick, please check in the PEP 366
manually.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

........
r59279 | georg.brandl | 2007-12-02 19:17:50 +0100 (Sun, 02 Dec 2007) | 2 lines

Fix a sentence I missed before. Do not merge to 3k.
........
r59281 | georg.brandl | 2007-12-02 22:58:54 +0100 (Sun, 02 Dec 2007) | 3 lines

Add documentation for PySys_* functions.
Written by Charlie Shepherd for GHOP. Also fixes #1245.
........
r59288 | nick.coghlan | 2007-12-03 13:55:17 +0100 (Mon, 03 Dec 2007) | 1 line

Implement PEP 366
........
r59290 | christian.heimes | 2007-12-03 14:47:29 +0100 (Mon, 03 Dec 2007) | 3 lines

Applied my patch #1455 with some extra fixes for VS 2005
The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
........
r59291 | christian.heimes | 2007-12-03 14:55:16 +0100 (Mon, 03 Dec 2007) | 1 line

Added comment to Misc/NEWS for r59290
........
r59292 | christian.heimes | 2007-12-03 15:28:04 +0100 (Mon, 03 Dec 2007) | 1 line

I followed MA Lemberg's suggestion and added comments to the late initialization of the type slots.
........
r59293 | facundo.batista | 2007-12-03 17:29:52 +0100 (Mon, 03 Dec 2007) | 3 lines


Speedup and cleaning of __str__. Thanks Mark Dickinson.
........
r59294 | facundo.batista | 2007-12-03 18:55:00 +0100 (Mon, 03 Dec 2007) | 4 lines


Faster _fix function, and some reordering for a more elegant
coding. Thanks Mark Dickinson.
........
r59295 | martin.v.loewis | 2007-12-03 20:20:02 +0100 (Mon, 03 Dec 2007) | 5 lines

Issue #1727780: Support loading pickles of random.Random objects created
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
........
r59297 | facundo.batista | 2007-12-03 20:49:54 +0100 (Mon, 03 Dec 2007) | 3 lines


Two small fixes. Issue 1547.
........
r59299 | georg.brandl | 2007-12-03 20:57:02 +0100 (Mon, 03 Dec 2007) | 2 lines

#1548: fix apostroph placement.
........
r59300 | christian.heimes | 2007-12-03 21:01:02 +0100 (Mon, 03 Dec 2007) | 3 lines

Patch #1537 from Chad Austin
Change GeneratorExit's base class from Exception to BaseException
(This time I'm applying the patch to the correct sandbox.)
........
r59302 | georg.brandl | 2007-12-03 21:03:46 +0100 (Mon, 03 Dec 2007) | 3 lines

Add examples to the xmlrpclib docs.
Written for GHOP by Josip Dzolonga.
........
/external/python/cpython3/Objects/moduleobject.c
98297ee7815939b124156e438b22bd652d67b5db 06-Nov-2007 Guido van Rossum <guido@python.org> Merging the py3k-pep3137 branch back into the py3k branch.
No detailed change log; just check out the change log for the py3k-pep3137
branch. The most obvious changes:

- str8 renamed to bytes (PyString at the C level);
- bytes renamed to buffer (PyBytes at the C level);
- PyString and PyUnicode are no longer compatible.

I.e. we now have an immutable bytes type and a mutable bytes type.

The behavior of PyString was modified quite a bit, to make it more
bytes-like. Some changes are still on the to-do list.
/external/python/cpython3/Objects/moduleobject.c
00bc0e0a2d0b6c403a3c6ab96fa7d3398b5c751e 15-Oct-2007 Guido van Rossum <guido@python.org> Patch #1272, by Christian Heimes and Alexandre Vassalotti.
Changes to make __file__ a proper Unicode object, using the default
filesystem encoding.
This is a bit tricky because the default filesystem encoding isn't
set by the time we import the first modules; at that point we fudge
things a bit. This is okay since __file__ isn't really used much
except for error reporting.
Tested on OSX and Linux only so far.
/external/python/cpython3/Objects/moduleobject.c
ed2b7397a0558414e1ec61c48bc889bb05e261ea 26-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Use unicode and remove support for some uses of str8.
/external/python/cpython3/Objects/moduleobject.c
312e10d63eaface69dbe3e4271545cb9c4429bed 26-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Get rid of more uses of string and use const in a few places.
/external/python/cpython3/Objects/moduleobject.c
9f2e346911988cda95fec7c901e8d10d34fa9563 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> Merged revisions 56467-56482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

................
r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines

Merged revisions 56466-56476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines

PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
........
................
r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines

PEP 3123: Use proper C inheritance for PyObject.
................
r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines

Add longintrepr.h to Python.h, so that the compiler can
see that PyFalse is really some kind of PyObject*.
................
r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines

Qualify SHIFT, MASK, BASE.
................
r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines

Correctly refer to _ob_next.
................
/external/python/cpython3/Objects/moduleobject.c
5b222135f8d2492713994f2cb003980e87ce6a72 10-Jun-2007 Martin v. Löwis <martin@v.loewis.de> Make identifiers str (not str8) objects throughout.
This affects the parser, various object implementations,
and all places that put identifiers into C string literals.

In testing, a number of crashes occurred as code would
fail when the recursion limit was reached (such as the
Unicode interning dictionary having key/value pairs where
key is not value). To solve these, I added an overflowed
flag, which allows for 50 more recursions after the
limit was reached and the exception was raised, and
a recursion_critical flag, which indicates that recursion
absolutely must be allowed, i.e. that a certain call
must not cause a stack overflow exception.

There are still some places where both str and str8 are
accepted as identifiers; these should eventually be
removed.
/external/python/cpython3/Objects/moduleobject.c
1ab833082738ced53318aca05901e596d5ede683 18-May-2007 Walter Dörwald <walter@livinglogic.de> Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror
PyString_Concat() and PyString_ConcatAndDel() (the name PyUnicode_Concat()
was already taken).

Change PyObject_Repr() to always return a unicode object.

Update all repr implementations to return unicode objects.

Add a function PyObject_ReprStr8() that calls PyObject_Repr() and converts
the result to an 8bit string.

Use PyObject_ReprStr8() where using PyObject_Repr() can't be done
straightforward.
/external/python/cpython3/Objects/moduleobject.c
0f0eb0b7fe2d6cddd2b49ba400464240f49d652e 15-May-2007 Guido van Rossum <guido@python.org> Kill two innocuous compiler warnings.
/external/python/cpython3/Objects/moduleobject.c
f15a29f975bbdef6de0aa19a19b176d1baf8f5ab 04-May-2007 Guido van Rossum <guido@python.org> More coding by random modification.
Encoding now return bytes instead of str8.
eval(), exec(), compile() now accept unicode or bytes.
/external/python/cpython3/Objects/moduleobject.c
572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 28-Apr-2007 Guido van Rossum <guido@python.org> Checkpoint. Manipulated things so that string literals are always
unicode, and a few other compensating changes, e.g. str <- unicode,
chr <- unichr, and repr() of a unicode string no longer starts
with 'u'. Lots of unit tests are broken, but some basic things
work, in particular distutils works so the extensions can be built,
and test_builtin.py works.
/external/python/cpython3/Objects/moduleobject.c
49fd7fa4431da299196d74087df4a04f99f9c46f 21-Apr-2006 Thomas Wouters <thomas@python.org> Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html

Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:

test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec

This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
/external/python/cpython3/Objects/moduleobject.c
15e62742fad688b026ba80bf17d1345c4cbd423b 27-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Revert backwards-incompatible const changes.
/external/python/cpython3/Objects/moduleobject.c
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython3/Objects/moduleobject.c
af68c874a6803b4e90b616077a602c0593719a1d 10-Dec-2005 Jeremy Hylton <jeremy@alum.mit.edu> Add const to several API functions that take char *.

In C++, it's an error to pass a string literal to a char* function
without a const_cast(). Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.

I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc. Predictably, there were a large set of functions that
needed to be fixed as a result of these changes. The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].

One cast was required as a result of the changes: A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
/external/python/cpython3/Objects/moduleobject.c
1fd00a1b7185a6bfb575e3ca0303e5fdc9d24498 14-Sep-2004 Michael W. Hudson <mwh@python.net> Make the word "module" appear in the error string for calling the
module type with silly arguments. (The exact name can be quibbled
over, if you care).

This was partially inspired by bug #1014215 and so on, but is also
just a good idea.
/external/python/cpython3/Objects/moduleobject.c
7555294576a642aac7359c51d9b806d17d17a678 17-Jul-2003 Neil Schemenauer <nascheme@enme.ucalgary.ca> Remove code that tried to warn about shadowing builtin names after a
module had been compiled. It gives too many spurious warnings.
/external/python/cpython3/Objects/moduleobject.c
4e3363e884062e1ad6002fc8cc85201a2dea43d7 09-Jun-2003 Neil Schemenauer <nascheme@enme.ucalgary.ca> Warn about creating global variables by __setattr__ that shadow builtin
names. Unfortunately, this is not bulletproof since the module
dictionary can be modified directly.
/external/python/cpython3/Objects/moduleobject.c
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568124: Add doc string macros.
/external/python/cpython3/Objects/moduleobject.c
ed3e09f28915eb382d8fdcab6734c382fd3f393c 04-Jun-2002 Guido van Rossum <guido@python.org> Add a docstring to the module type.
/external/python/cpython3/Objects/moduleobject.c
c3a787e090dce76149ae86d70d4fecea3c285a40 04-Jun-2002 Guido van Rossum <guido@python.org> Surprising fix for SF bug 563060: module can be used as base class.

Change the module constructor (module_init) to have the signature
__init__(name:str, doc=None); this prevents the call from type_new()
to succeed. While we're at it, prevent repeated calling of
module_init for the same module from leaking the dict, changing the
semantics so that __dict__ is only initialized if NULL.

Also adding a unittest, test_module.py.

This is an incompatibility with 2.2, if anybody was instantiating the
module class before, their argument list was probably empty; so this
can't be backported to 2.2.x.
/external/python/cpython3/Objects/moduleobject.c
99b5d28467f87b3e5b28f35794a7111218e642f8 12-Apr-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> PyObject_GC_Del can now be used as a function designator.
/external/python/cpython3/Objects/moduleobject.c
cd637aae5665d40c405a173efd5d9f174e63bf5c 12-Mar-2002 Guido van Rossum <guido@python.org> Fix for SF bug #529050 - ModuleType.__new__ crash.

There were several places that assumed the md_dict field was always
set, but it needn't be. Fixed these to be more careful.

I changed PyModule_GetDict() to initialize md_dict to a new dictionary
if it's NULL.

Bugfix candidate.
/external/python/cpython3/Objects/moduleobject.c
f23473f00834fb56a6f71cf18191261f1d083c8b 22-Oct-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add missing "static" declarations (found by "make smelly").
/external/python/cpython3/Objects/moduleobject.c
9475a2310d9cdec4b4c36dee8bf30c72605ae928 05-Oct-2001 Guido van Rossum <guido@python.org> Enable GC for new-style instances. This touches lots of files, since
many types were subclassable but had a xxx_dealloc function that
called PyObject_DEL(self) directly instead of deferring to
self->ob_type->tp_free(self). It is permissible to set tp_free in the
type object directly to _PyObject_Del, for non-GC types, or to
_PyObject_GC_Del, for GC types. Still, PyObject_DEL was a tad faster,
so I'm fearing that our pystone rating is going down again. I'm not
sure if doing something like

void xxx_dealloc(PyObject *self)
{
if (PyXxxCheckExact(self))
PyObject_DEL(self);
else
self->ob_type->tp_free(self);
}

is any faster than always calling the else branch, so I haven't
attempted that -- however those types whose own dealloc is fancier
(int, float, unicode) do use this pattern.
/external/python/cpython3/Objects/moduleobject.c
6f7993765ac0989b5d13084240797913627a31d8 20-Sep-2001 Guido van Rossum <guido@python.org> Add optional docstrings to member descriptors. For backwards
compatibility, this required all places where an array of "struct
memberlist" structures was declared that is referenced from a type's
tp_members slot to change the type of the structure to PyMemberDef;
"struct memberlist" is now only used by old code that still calls
PyMember_Get/Set. The code in PyObject_GenericGetAttr/SetAttr now
calls the new APIs PyMember_GetOne/SetOne, which take a PyMemberDef
argument.

As examples, I added actual docstrings to the attributes of a few
types: file, complex, instance method, super, and xxsubtype.spamlist.

Also converted the symtable to new style getattr.
/external/python/cpython3/Objects/moduleobject.c
e83c00efd06dc8380d481f6c5f92d8c274ce6bd2 30-Aug-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Use new GC API.
/external/python/cpython3/Objects/moduleobject.c
7ce3694a527afe425a2b9df65c049b0ef4e75960 24-Aug-2001 Barry Warsaw <barry@python.org> repr's converted to using PyString_FromFormat() instead of sprintf'ing
into a hardcoded char* buffer.

Closes patch #454743.
/external/python/cpython3/Objects/moduleobject.c
2907fe6ce7376e73d84c8a29dedd37d8b3e4a225 16-Aug-2001 Barry Warsaw <barry@python.org> module_repr(): Instead of fixing the maximum buf size to 400,
calculate it on the fly. This way even modules with long package
names get an accurate repr instead of a truncated one. The extra
malloc/free cost shouldn't be a problem in a repr function.

Closes SF bug #437984
/external/python/cpython3/Objects/moduleobject.c
6d6c1a35e08b95a83dbe47dbd9e6474daff00354 02-Aug-2001 Tim Peters <tim.peters@gmail.com> Merge of descr-branch back into trunk.
/external/python/cpython3/Objects/moduleobject.c
16cabc0a3df7c7bebc7041f007f325d90482814b 12-May-2001 Tim Peters <tim.peters@gmail.com> Repair "module has no attribute xxx" error msg; bug introduced when
switching from tp_getattr to tp_getattro.
/external/python/cpython3/Objects/moduleobject.c
d85e102337725554a43027fe90e54dd886f4ec9a 11-May-2001 Tim Peters <tim.peters@gmail.com> Variant of patch #423262: Change module attribute get & set
Allow module getattr and setattr to exploit string interning, via the
previously null module object tp_getattro and tp_setattro slots. Yields
a very nice speedup for things like random.random and os.path etc.
/external/python/cpython3/Objects/moduleobject.c
10e31cf82e5fa325e779013619d9e11bf8b56c28 02-Jan-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add garbage collection for module objects. Closes patch #102939 and
fixes bug #126345.
/external/python/cpython3/Objects/moduleobject.c
661ea26b3d8621ad0acc0ed2f2036ab29355f8ff 24-Oct-2000 Fred Drake <fdrake@acm.org> Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity.

This (mostly) closes SourceForge patch #101839.
/external/python/cpython3/Objects/moduleobject.c
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython3/Objects/moduleobject.c
ee238b977fb7a58a4b88bdab087579d067df6451 09-Jul-2000 Fred Drake <fdrake@acm.org> ANSI-fication of the sources.
/external/python/cpython3/Objects/moduleobject.c
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython3/Objects/moduleobject.c
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython3/Objects/moduleobject.c
b18618dab7b6b85bb05b084693706e59211fa180 04-May-2000 Guido van Rossum <guido@python.org> Vladimir Marangozov's long-awaited malloc restructuring.
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode. I'm also holding back on his
change to main.c, which seems unnecessary to me.)
/external/python/cpython3/Objects/moduleobject.c
98cc19fac6489002774760fda470a4c296a88042 15-Feb-1999 Guido van Rossum <guido@python.org> Patch by Chris Petrilli to display the origin of a module in its
repr() -- either "(builtin)" or "from '<filename>'".
/external/python/cpython3/Objects/moduleobject.c
2f3667a7b92b4ef5d3d3db986b0723cf27706930 12-Oct-1998 Guido van Rossum <guido@python.org> Replace fprintf(stderr, ...) with PySys_WriteStderr(...).
/external/python/cpython3/Objects/moduleobject.c
f1dc0615e913fd0028a2fa6fda9607b3edfa76d5 19-Feb-1998 Guido van Rossum <guido@python.org> Add internal routine _PyModule_Clear(), which does approximately what
clear_carefully() used to do in import.c. Differences: leave only
__builtins__ alone in the 2nd pass; and don't clear the dictionary (on
the theory that as long as there are references left to the
dictionary, those might be destructors that might expect __builtins__
to be alive when they run; and __builtins__ can't normally be part of
a cycle).
/external/python/cpython3/Objects/moduleobject.c
0add15f6a5daceda1972746d2263aba8525c34c4 09-May-1997 Guido van Rossum <guido@python.org> removed last #ifdef SUPPORT_OBSOLETE_ACCESS bits.
/external/python/cpython3/Objects/moduleobject.c
c0b618a2ccfb0fc39e07ee96dc09da77fbcce1b1 02-May-1997 Guido van Rossum <guido@python.org> Quickly renamed the last directory.
/external/python/cpython3/Objects/moduleobject.c
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython3/Objects/moduleobject.c
0dfcf753ad75892c0ad2a68713841402183514d4 13-Aug-1996 Guido van Rossum <guido@python.org> Disable support for access statement
/external/python/cpython3/Objects/moduleobject.c
27e916fd3546955a903bc263dd750cd1839e2fc6 26-Jan-1995 Guido van Rossum <guido@python.org> apply dictclear to dict of deleted modules
/external/python/cpython3/Objects/moduleobject.c
8b14b4c733cb745410c00a0fe63d3e604e53954f 07-Jan-1995 Guido van Rossum <guido@python.org> initialize __doc__ to None
/external/python/cpython3/Objects/moduleobject.c
6610ad9d6bfe484a026f1fd34ebdcdf9924f9114 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
floatobject.c: fix hash().
methodobject.c: support METH_FREENAME flag bit.
/external/python/cpython3/Objects/moduleobject.c
1d5735e84621a7fe68d361fa0e289fa2c3310836 30-Aug-1994 Guido van Rossum <guido@python.org> Merge back to main trunk
/external/python/cpython3/Objects/moduleobject.c
c45611d0e33ddd96fb9fffa8dc42a96384d5d270 17-Nov-1993 Guido van Rossum <guido@python.org> * import.c (get_module): total rewrite, to ensure proper search order: for
each dir in sys.path, try each possible extension. (Note: C extensions
are loaded before Python modules in the same directory, to allow having
a C version used when dynamic loading is supported and a Python version
as a back-up.)
* import.c (reload_module): test for error from getmodulename()
* moduleobject.c: implement module name as dict entry '__name__' instead
of special-casing it in module_getattr(); this way a module (or
function!) can access its own module name, and programs that know what
they are doing can rename modules.
* stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0].
/external/python/cpython3/Objects/moduleobject.c
eb6b33a837a180221b635331e005f990024bdb30 25-May-1993 Guido van Rossum <guido@python.org> * classobject.c: in instance_getattr, don't make a method out of a
function found as instance data.
* socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite
argument parsing in send/recv.
* More changes related to access (terminology change: owner instead of
class; allow any object as owner; local/global variables are owned
by their dictionary, only class/instance data is owned by the class;
"from...import *" now only imports objects with public access; etc.)
/external/python/cpython3/Objects/moduleobject.c
81daa32c15cfa9f05eda037916cdbfd5b4323431 20-May-1993 Guido van Rossum <guido@python.org> Access checks now work, at least for instance data (not for methods
yet). The class is now passed to eval_code and stored in the current
frame. It is also stored in instance method objects. An "unbound"
instance method is now returned when a function is retrieved through
"classname.funcname", which when called passes the class to eval_code.
/external/python/cpython3/Objects/moduleobject.c
25831652fd4c03323066d4cafdc0551c396a993e 19-May-1993 Guido van Rossum <guido@python.org> Several changes in one:

(1) dictionaries/mappings now have attributes values() and items() as
well as keys(); at the C level, use the new function mappinggetnext()
to iterate over a dictionary.

(2) "class C(): ..." is now illegal; you must write "class C: ...".

(3) Class objects now know their own name (finally!); and minor
improvements to the way how classes, functions and methods are
represented as strings.

(4) Added an "access" statement and semantics. (This is still
experimental -- as long as you don't use the keyword 'access' nothing
should be changed.)
/external/python/cpython3/Objects/moduleobject.c
9bfef44d97d1ae24e03717e3d59024b44626a9de 29-Mar-1993 Guido van Rossum <guido@python.org> * Changed all copyright messages to include 1993.
* Stubs for faster implementation of local variables (not yet finished)
* Added function name to code object. Print it for code and function
objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version
number has changed accordingly)
* Print address of self for built-in methods
* New internal functions getattro and setattro (getattr/setattr with
string object arg)
* Replaced "dictobject" with more powerful "mappingobject"
* New per-type functio tp_hash to implement arbitrary object hashing,
and hashobject() to interface to it
* Added built-in functions hash(v) and hasattr(v, 'name')
* classobject: made some functions static that accidentally weren't;
added __hash__ special instance method to implement hash()
* Added proper comparison for built-in methods and functions
/external/python/cpython3/Objects/moduleobject.c
7066dd75c5ee8385135541d03fb8edd8939ad740 17-Sep-1992 Guido van Rossum <guido@python.org> * Makefile: added IMGFILE; moved some stuff around.
* flmodule.c: added some missing functions; changed readonly flags of
some data members based upon FORMS documentation.
* listobject.c: fixed int/long arg lint bug (bites PC compilers).
* several: removed redundant print methods (repr is good enough).
* posixmodule.c: added (still experimental) process group functions.
/external/python/cpython3/Objects/moduleobject.c
94472a0374f68fc7c746671eb87dc32253b02f05 04-Sep-1992 Guido van Rossum <guido@python.org> classobject.c moduleobject.c stdwinmodule.c xxobject.c:
raise AttributeError, not KeyError, when attribute deletion fails.
sunaudiodevmodule.c: check for deletion before calling setmember.
/external/python/cpython3/Objects/moduleobject.c
bab9d0385585fcddf6ee96a4ca38dd18e3517f54 05-Apr-1992 Guido van Rossum <guido@python.org> Copyright for 1992 added
/external/python/cpython3/Objects/moduleobject.c
2a591667bd32ce756417c6c42a44ec5bf61db1bc 27-Mar-1992 Guido van Rossum <guido@python.org> Lint
/external/python/cpython3/Objects/moduleobject.c
87e7ea72a6ef9232be9db06038943044c747971b 10-Dec-1991 Guido van Rossum <guido@python.org> Use new exceptions.
/external/python/cpython3/Objects/moduleobject.c
909336104b70cae29c0c4fde4477d508e1d709ac 07-Jun-1991 Guido van Rossum <guido@python.org> printobject now returns an error code
/external/python/cpython3/Objects/moduleobject.c
f70e43a073b36c6f6e9894c01025243a77a452d4 19-Feb-1991 Guido van Rossum <guido@python.org> Added copyright notice.
/external/python/cpython3/Objects/moduleobject.c
73531a3bae554998dd7d6d5d782d44fbf0da2ee8 21-Dec-1990 Guido van Rossum <guido@python.org> Return -1 for errors.
/external/python/cpython3/Objects/moduleobject.c
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 20-Dec-1990 Guido van Rossum <guido@python.org> "Compiling" version
/external/python/cpython3/Objects/moduleobject.c
0558a205a37a2570cba43acebbe94d50643024d1 26-Oct-1990 Guido van Rossum <guido@python.org> Added getmodulename() public interface.
/external/python/cpython3/Objects/moduleobject.c
e87203afde79c8f78f78179eef20e4d8cba01fc0 21-Oct-1990 Guido van Rossum <guido@python.org> Added __dict to module getattr.
New errors.
/external/python/cpython3/Objects/moduleobject.c
2b654f74c23de18c25a9e0b36979322ef461223c 14-Oct-1990 Guido van Rossum <guido@python.org> New error handling in getattr().
/external/python/cpython3/Objects/moduleobject.c
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d 14-Oct-1990 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython3/Objects/moduleobject.c