Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • W wendelin.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Kirill Smelkov
  • wendelin.core
  • Repository

Switch branch/tag
  • wendelin.core
  • tox.ini
Find file BlameHistoryPermalink
  • Kirill Smelkov's avatar
    bigarray: Test that asarray(BigArray(...)) does not hang · 0e25b01c
    Kirill Smelkov authored May 28, 2015
    It was hanging with NumPy-1.9 before 425dc5d1 (bigarray: Raise
    IndexError for out-of-bound element access), because of the following
    correct NumPy commit:
    
        https://github.com/numpy/numpy/commit/d36f8227
    
    and in particular
    
        https://github.com/numpy/numpy/commit/d36f8227#diff-6d326badc0872de91e025cbfb0be1aafR522
    
    That PySequence_Fast(obj)    (with obj being BigArray)
    
    creates iterator on top of obj and before our previous IndexError fix in
    425dc5d1, this was looping forever.
    
    Test explicitly with both NumPy 1.8 and NumPy 1.9, that this construct
    does not hang.
    
    /cc @Tyagov
    0e25b01c

Replace tox.ini

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7