-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Think about the name and a naming convention #1
Comments
Another idea:
|
Good idea, |
Thanks for starting this innitiative! It would indeed be useful for python implementations not to be forced down the cpyext road (which is impressive, but also mind-melting :D). My ideas for naming this project:
Another idea might be to split the API into groups (which could be namespaces in C++ for example). I cannot think of logical groups of functions, but it makes sense to group them, and add maturity levels to the seperate groups. |
Other ideas: ApiValley ! ( be happy with that api or hang by the neck until you do ) Pi* for Python Interface ( i like short like Yp* ) also ApiCircus in case ApiValley is not possible since it can't fly yet but surely will ref to happy valley : youtube.com/watch?v=o0LUUFQ4MNM |
Thanks for the suggestions! So far |
you're welcome i like HPy too it's still short , but for finding the name it sure will be a ApiThon ( that one is dedicated to @vstinner ;) ) |
|
HPy seems reasonable to me! Minor note: It also seems a bit arbitrary to me, to name it after the usage of handles, which is an implementation detail of the API. The whole point of this idea is hiding implementation details right? Agreed that names starting with Py are too confusing. Other ideas:
|
I think it's the opposite: a handle is a fully opaque thing, so it is the most abstract way of representing an object. Unless you object that having a way to referencing objects with a C variable is an implementation detail :) Anyway, I renamed the repo to I couldn't rename the organization to |
Another idea for a name: PAPI (python API). Easy to pronounce. Reasonable short, in line with PyPI (fully unrelated, but still). |
How about PODs: Python Object Descriptors. From the file descriptor analogy? It gives a reasonable prefix for all functions and types, like POD_Add(). |
Closing it again. It seems |
I called it
pyhandle
for now, but we might want a better name. We surely need a reasonable calling convention: I suggest that the new API calls should not start withPy
, to make it easier to distinguish the new and the old ones.Let's take
PyObject_GetAttr
as an example; some random ideas for the new name:PyHandle_GetAttr
: this starts withPy
, probably not a good ideaPHandle_GetAttr
: no morePy
:)NPyObject_GetAttr
:NPy
stands for "New Python", but might be confused with numpyNPy_GetAttr
: if we want to kill the distinction between the object protocol, number procotol etc, we might want thisBPyObject_GetAttr
: "Better Python"; hard to pronunceYpObject_GetAttr
: I like the joke of being a "reversed Py", not sure I like the pronunciation though :)I'd like to hear new ideas
The text was updated successfully, but these errors were encountered: