diff options
author | Michael W. Hudson <mwh@python.net> | 2002-03-15 10:35:36 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-03-15 10:35:36 (GMT) |
commit | 78f70880e2920bcb5b85ec3582ab4415fed0e265 (patch) | |
tree | fa42781ee518b365f307fcc0110d91b6f6ab6395 /Doc/perl/python.perl | |
parent | 8b23905d92efb1f4d0156b1ebef3ef01b743ad84 (diff) | |
download | cpython-78f70880e2920bcb5b85ec3582ab4415fed0e265.zip cpython-78f70880e2920bcb5b85ec3582ab4415fed0e265.tar.gz cpython-78f70880e2920bcb5b85ec3582ab4415fed0e265.tar.bz2 |
backport gvanrossum's checkin of
revision 2.41 of moduleobject.c
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.
Diffstat (limited to 'Doc/perl/python.perl')
0 files changed, 0 insertions, 0 deletions