Skip to content

Conversation

jorisvandenbossche
Copy link
Member

See #21824 for the segfault description, changing the example so running the doctests will work: #19952

@jorisvandenbossche jorisvandenbossche added this to the 0.24.0 milestone Aug 15, 2018
@jbrockmendel
Copy link
Member

Nice to see this fixed. Did you figure out what about the existing version was causing the problem?

@jorisvandenbossche
Copy link
Member Author

Did you figure out what about the existing version was causing the problem?

No, see the details in #21824 for the segfault. This PR is simply changing the example to not run into the problem ..

@jorisvandenbossche jorisvandenbossche merged commit 70e6f7c into pandas-dev:master Aug 15, 2018
@jorisvandenbossche jorisvandenbossche deleted the doc-example-segfault branch August 15, 2018 16:09
@jorisvandenbossche
Copy link
Member Author

Merged this already (I don't think it is in any way controversial, and only doc change), as I want to test if now the doc tests works

TomAugspurger added a commit to TomAugspurger/pandas that referenced this pull request Aug 18, 2018
commit b29dfc6
Author: Tom Augspurger <tom.w.augspurger@gmail.com>
Date:   Thu Aug 16 10:45:38 2018 -0500

    Support NDFrame.shift with EAs

    Uses take internally.

    Closes pandas-dev#22386

commit b5d81cf
Author: William Ayd <william.ayd@icloud.com>
Date:   Thu Aug 16 03:54:18 2018 -0700

    Bump pytest (pandas-dev#22320)

commit f07a790
Author: jbrockmendel <jbrockmendel@gmail.com>
Date:   Thu Aug 16 03:46:58 2018 -0700

    Make more of numpy_helper unnecessary (pandas-dev#22344)

commit 7b80d4d
Author: Graham Inggs <graham.inggs+github@gmail.com>
Date:   Thu Aug 16 12:43:02 2018 +0200

    Drop redundant TestLocale (pandas-dev#22349)

commit 6bcfc46
Author: Matthew Roeschke <emailformattr@gmail.com>
Date:   Thu Aug 16 03:32:31 2018 -0700

    Fix failing dateutil test (pandas-dev#22354)

commit 86e8f23
Author: jbrockmendel <jbrockmendel@gmail.com>
Date:   Thu Aug 16 03:08:09 2018 -0700

    remove last cython: nprofile comments (pandas-dev#22371)

commit 70e6f7c
Author: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Date:   Wed Aug 15 18:09:50 2018 +0200

    DOC: edit docstring example to prevent segfault (pandas-dev#21824) (pandas-dev#22368)
TomAugspurger added a commit to TomAugspurger/pandas that referenced this pull request Aug 18, 2018
commit c4b0b97
Author: Tom Augspurger <tom.w.augspurger@gmail.com>
Date:   Thu Aug 16 14:36:39 2018 -0500

    Slice based

commit c980035
Author: Tom Augspurger <tom.w.augspurger@gmail.com>
Date:   Thu Aug 16 14:20:21 2018 -0500

    Updated

commit b29dfc6
Author: Tom Augspurger <tom.w.augspurger@gmail.com>
Date:   Thu Aug 16 10:45:38 2018 -0500

    Support NDFrame.shift with EAs

    Uses take internally.

    Closes pandas-dev#22386

commit b5d81cf
Author: William Ayd <william.ayd@icloud.com>
Date:   Thu Aug 16 03:54:18 2018 -0700

    Bump pytest (pandas-dev#22320)

commit f07a790
Author: jbrockmendel <jbrockmendel@gmail.com>
Date:   Thu Aug 16 03:46:58 2018 -0700

    Make more of numpy_helper unnecessary (pandas-dev#22344)

commit 7b80d4d
Author: Graham Inggs <graham.inggs+github@gmail.com>
Date:   Thu Aug 16 12:43:02 2018 +0200

    Drop redundant TestLocale (pandas-dev#22349)

commit 6bcfc46
Author: Matthew Roeschke <emailformattr@gmail.com>
Date:   Thu Aug 16 03:32:31 2018 -0700

    Fix failing dateutil test (pandas-dev#22354)

commit 86e8f23
Author: jbrockmendel <jbrockmendel@gmail.com>
Date:   Thu Aug 16 03:08:09 2018 -0700

    remove last cython: nprofile comments (pandas-dev#22371)

commit 70e6f7c
Author: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Date:   Wed Aug 15 18:09:50 2018 +0200

    DOC: edit docstring example to prevent segfault (pandas-dev#21824) (pandas-dev#22368)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants