Permalink
Browse files

2008-10-02 Paul Pogonyshev <pogonyshev@gmx.net>

	* notify/gc.py: New file.  Move basic functionality of `gc.c'
	here.

	* notify/_gc.c: Rename from `gc.c'.
	(Compatibility_Fix_TypeType, Compatibility_String_FromString):
	Remove now unneeded macros.
	(Compatibility_Type_Type): New macro.
	(MODULE_DOC): Move old documentation to `gc.py', replace with a
	stub.
	(UNPROTECTION_ERROR_DOC, GC_PROTECTOR_META_DOC)
	(GC_PROTECTOR_META_DEFAULT_DOC, ABSTRACT_GC_PROTECTOR_DOC)
	(ABSTRACT_GC_PROTECTOR_PROTECT_DOC)
	(ABSTRACT_GC_PROTECTOR_UNPROTECT_DOC)
	(ABSTRACT_GC_PROTECTOR_SET_DEFAULT_DOC): Move to `gc.py'.
	(GCProtectorMeta_properties, GCProtectorMeta_Type)
	(AbstractGCProtector_methods, AbstractGCProtector_Type): Remove,
	now these types are declared in `gc.py'.
	(GCProtectorMeta_setattro, GCProtectorMeta_get_default)
	(GCProtectorMeta_set_default, AbstractGCProtector_dealloc)
	(AbstractGCProtector_protect, AbstractGCProtector_unprotect)
	(AbstractGCProtector_set_default, FastGCProtector_new): Remove
	functions.
	(gc_module_initialize_state): Adjust for the changes.
	(gc_module_traverse): Adjust for changed `GCModuleState' layout
	changes.
	(REGISTER_TYPE): Treat `meta_type' as `PyTypeObject*', not
	`PyTypeObject'.
	(Compatibility_MODINIT_FUNC_NAME (_gc)): Rename for new module
	name.  Adjust for changes.

	* generate-reference.py: Don't document internal `notify._gc'.

	* NEWS: Update.


git-svn-id: http://svn.gna.org/svn/py-notify/trunk@198 858f787b-f626-0410-ba0f-ce2d62e17340
  • Loading branch information...
1 parent 8aa9d9a commit 04f3f4b85fff9b4466b7aa88f205baf3660f5eed doublep committed Oct 2, 2008
Showing with 299 additions and 472 deletions.
  1. +36 −0 ChangeLog
  2. +6 −0 NEWS
  3. +1 −0 generate-reference.py
  4. +70 −470 notify/{gc.c → _gc.c}
  5. +184 −0 notify/gc.py
  6. +2 −2 setup.py
View
@@ -1,3 +1,39 @@
+2008-10-02 Paul Pogonyshev <pogonyshev@gmx.net>
+
+ * notify/gc.py: New file. Move basic functionality of `gc.c'
+ here.
+
+ * notify/_gc.c: Rename from `gc.c'.
+ (Compatibility_Fix_TypeType, Compatibility_String_FromString):
+ Remove now unneeded macros.
+ (Compatibility_Type_Type): New macro.
+ (MODULE_DOC): Move old documentation to `gc.py', replace with a
+ stub.
+ (UNPROTECTION_ERROR_DOC, GC_PROTECTOR_META_DOC)
+ (GC_PROTECTOR_META_DEFAULT_DOC, ABSTRACT_GC_PROTECTOR_DOC)
+ (ABSTRACT_GC_PROTECTOR_PROTECT_DOC)
+ (ABSTRACT_GC_PROTECTOR_UNPROTECT_DOC)
+ (ABSTRACT_GC_PROTECTOR_SET_DEFAULT_DOC): Move to `gc.py'.
+ (GCProtectorMeta_properties, GCProtectorMeta_Type)
+ (AbstractGCProtector_methods, AbstractGCProtector_Type): Remove,
+ now these types are declared in `gc.py'.
+ (GCProtectorMeta_setattro, GCProtectorMeta_get_default)
+ (GCProtectorMeta_set_default, AbstractGCProtector_dealloc)
+ (AbstractGCProtector_protect, AbstractGCProtector_unprotect)
+ (AbstractGCProtector_set_default, FastGCProtector_new): Remove
+ functions.
+ (gc_module_initialize_state): Adjust for the changes.
+ (gc_module_traverse): Adjust for changed `GCModuleState' layout
+ changes.
+ (REGISTER_TYPE): Treat `meta_type' as `PyTypeObject*', not
+ `PyTypeObject'.
+ (Compatibility_MODINIT_FUNC_NAME (_gc)): Rename for new module
+ name. Adjust for changes.
+
+ * generate-reference.py: Don't document internal `notify._gc'.
+
+ * NEWS: Update.
+
2008-09-28 Paul Pogonyshev <pogonyshev@gmx.net>
* version: Post-release version bump.
View
6 NEWS
@@ -1,3 +1,9 @@
+--- New in Py-notify 0.3.2 (??? -- in development) ------------------
+
+* Part of functionality of `notify.gc' module is now implemented in
+ Python, not C.
+
+
--- New in Py-notify 0.3.1 (28 September 2008) ----------------------
* All methods that accepted arbitrary argument numbers now also accept
View
@@ -62,6 +62,7 @@
'--url=http://home.gna.org/py-notify/',
'--exclude=notify._2_5',
'--exclude=notify._2_x',
+ '--exclude=notify._gc',
'--inheritance=grouped',
'--no-sourcecode',
'--css=%s' % os.path.join ('docs', 'epydoc.css'),
Oops, something went wrong.

0 comments on commit 04f3f4b

Please sign in to comment.