{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/6654","labels_url":"https://api.github.com/repos/numpy/numpy/issues/6654/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6654/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/6654/events","html_url":"https://github.com/numpy/numpy/issues/6654","id":115713757,"number":6654,"title":"f2py intent(in,out) appears broken in NumPy 1.10.1","user":{"login":"DeadParrot","id":993517,"avatar_url":"https://avatars.githubusercontent.com/u/993517?v=3","gravatar_id":"","url":"https://api.github.com/users/DeadParrot","html_url":"https://github.com/DeadParrot","followers_url":"https://api.github.com/users/DeadParrot/followers","following_url":"https://api.github.com/users/DeadParrot/following{/other_user}","gists_url":"https://api.github.com/users/DeadParrot/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadParrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadParrot/subscriptions","organizations_url":"https://api.github.com/users/DeadParrot/orgs","repos_url":"https://api.github.com/users/DeadParrot/repos","events_url":"https://api.github.com/users/DeadParrot/events{/privacy}","received_events_url":"https://api.github.com/users/DeadParrot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numpy/numpy/labels/component:%20numpy.f2py","name":"component: numpy.f2py","color":"ff0000"},{"url":"https://api.github.com/repos/numpy/numpy/labels/Regression","name":"Regression","color":"7F0000"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/numpy/numpy/milestones/39","html_url":"https://github.com/numpy/numpy/milestones/1.10.2%20release","labels_url":"https://api.github.com/repos/numpy/numpy/milestones/39/labels","id":1353924,"number":39,"title":"1.10.2 release","description":"","creator":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":60,"state":"open","created_at":"2015-10-13T19:48:01Z","updated_at":"2015-11-20T00:41:53Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-11-08T07:02:17Z","updated_at":"2015-11-21T16:33:06Z","closed_at":null,"body":"Returning scalars using `intent(in,out)` that was working up throught NumPy 1.9.x now returns `None` with NumPy 1.10.1.\r\n\r\nAlso, I had to switch to `intent(in out)` (no comma) to get the passed value modified but that still didn't get it to return anything.\r\n\r\nHere is a stripped down example:\r\n```fortran\r\n      SUBROUTINE SUB_WRAPPER( T, X, C, S, message_callback )\r\n      IMPLICIT NONE\r\n      DOUBLE PRECISION, INTENT(IN) :: X\r\n      DOUBLE PRECISION, INTENT(INOUT) :: T, C, S\r\n!f2py intent(in,out) :: T\r\n!f2py intent(in,out) :: C\r\n!f2py intent(in,out) :: S\r\n      EXTERNAL :: message_callback\r\n!f2py character*(*) msg\r\n!f2py integer level\r\n!f2py call message_callback(msg,level)\r\n      CALL message_caller( message_callback )\r\n      CALL SUB( T, X, C, S )\r\n      END SUBROUTINE SUB_WRAPPER\r\n```\r\n\r\nThe problem was observed running NumPy 1.10.1 on 64-bit Windows 10 using 64-bit Python 2.7.10 and the NumPy package from http://www.lfd.uci.edu/~gohlke/pythonlibs. My Linux systems don't have 1.10 yet."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/158660654","html_url":"https://github.com/numpy/numpy/issues/6654#issuecomment-158660654","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6654","id":158660654,"user":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T16:33:05Z","updated_at":"2015-11-21T16:33:05Z","body":"@DeadParrot I'd really like to track this down. However, if it works for small files I might remove the 1.10.2 milestone as this is one of the blockers for release."}}