Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b267f0a

Browse files
committed
First test of release 0.3.0. build_all.sh passes.
1 parent 6549a59 commit b267f0a

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

‎HISTORY.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
History
33
=====================
44

5-
0.3.0 (TODO)
5+
0.3.0 (2025年03月21日)
66
=====================
77

88
Added Chapters
@@ -29,7 +29,7 @@ Other
2929

3030
- Python versions supported: 3.9, 3.10, 3.11, 3.12, 3.13.
3131
- Development Status :: 5 - Production/Stable
32-
- TODO: Documentation word count has gone up 50%+ from 41,000 to 66,000.
32+
- The documentation content, example and test code has roughly doubled since version 0.2.2.
3333

3434
TODO
3535
----

‎doc/sphinx/source/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
# The short X.Y version.
5858
version = '0.3'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '0.3.0rc0'
60+
release = '0.3.0'
6161

6262
todo_include_todos = True
6363
todo_link_only = True

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
# For keywords see: https://setuptools.pypa.io/en/latest/references/keywords.html
320320
setup(
321321
name=PACKAGE_NAME,
322-
version='0.3.0rc0',
322+
version='0.3.0',
323323
author='Paul Ross',
324324
author_email='apaulross@gmail.com',
325325
maintainer='Paul Ross',

‎src/cpy/CtxMgr/cCtxMgr.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,44 +34,44 @@ ContextManager_new(PyObject *Py_UNUSED(arg)) {
3434
self->buffer_lifetime[i] = ' ';
3535
}
3636
self->buffer_context = NULL;
37-
fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
37+
// fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
3838
return self;
3939
}
4040

4141
/* ContextManager methods */
4242
static void
4343
ContextManager_dealloc(ContextManager *self) {
44-
fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
44+
// fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
4545
free(self->buffer_lifetime);
4646
self->buffer_lifetime = NULL;
4747
assert(self->buffer_context == NULL);
4848
PyObject_Del(self);
49-
fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
49+
// fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
5050
}
5151

5252
static PyObject *
5353
ContextManager_enter(ContextManager *self, PyObject *Py_UNUSED(args)) {
5454
assert(self->buffer_lifetime != NULL);
5555
assert(self->buffer_context == NULL);
56-
fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
56+
// fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
5757
self->buffer_context = malloc(BUFFER_LENGTH);
5858
// Force an initialisation.
5959
for (ssize_t i = 0; i < BUFFER_LENGTH; ++i) {
6060
self->buffer_context[i] = ' ';
6161
}
6262
Py_INCREF(self);
63-
fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
63+
// fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
6464
return (PyObject *)self;
6565
}
6666

6767
static PyObject *
6868
ContextManager_exit(ContextManager *self, PyObject *Py_UNUSED(args)) {
6969
assert(self->buffer_lifetime != NULL);
7070
assert(self->buffer_context != NULL);
71-
fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
71+
// fprintf(stdout, "%24s STRT REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
7272
free(self->buffer_context);
7373
self->buffer_context = NULL;
74-
fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
74+
// fprintf(stdout, "%24s DONE REFCNT = %zd\n", __FUNCTION__, Py_REFCNT(self));
7575
Py_RETURN_FALSE;
7676
}
7777

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /