Skip to content

CLN: move assignment from header into cython #14731

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

Merged
merged 1 commit into from
Nov 25, 2016

Conversation

mattip
Copy link
Contributor

@mattip mattip commented Nov 24, 2016

an insignificant refactoring that allows PyPy2.7 to build and import Pandas. The original code uses functions that are macros in CPython but actual c-functions in PyPy and one cannot assign to a function result

Note that while PyPy imports Pandas, it very quickly segfaults, Apparently PyPy does not yet play well with enough of Cython, I suspect strange interactions with tp_new and tp_deallocate

@codecov-io
Copy link

codecov-io commented Nov 24, 2016

Current coverage is 85.21% (diff: 100%)

Merging #14731 into master will increase coverage by <.01%

@@             master     #14731   diff @@
==========================================
  Files           143        143          
  Lines         50804      50804          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          43292      43293     +1   
+ Misses         7512       7511     -1   
  Partials          0          0          

Powered by Codecov. Last update 75b606a...ed1db95

@jreback jreback added Build Library building on various platforms Clean labels Nov 25, 2016
@jreback jreback added this to the 0.19.2 milestone Nov 25, 2016
@@ -7,11 +7,6 @@
#define PyInt_AS_LONG PyLong_AsLong
#endif

void mangle_nat(PyObject *val) {
Copy link
Contributor

@jreback jreback Nov 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also has a reference in datetime.pxd (can remove this too)

@mattip
Copy link
Contributor Author

mattip commented Nov 25, 2016

@jreback thanks, fixed

@jreback jreback merged commit 26a72e1 into pandas-dev:master Nov 25, 2016
@jreback
Copy link
Contributor

jreback commented Nov 25, 2016

thanks @mattip

jorisvandenbossche pushed a commit that referenced this pull request Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Clean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants