{"action":"opened","issue":{"url":"https://api.github.com/repos/petkaantonov/bluebird/issues/487","labels_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/487/comments","events_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/487/events","html_url":"https://github.com/petkaantonov/bluebird/issues/487","id":56973882,"number":487,"title":"Request for clarification of change made in 2.9.7","user":{"login":"jimlloyd","id":18069,"avatar_url":"https://avatars.githubusercontent.com/u/18069?v=3","gravatar_id":"","url":"https://api.github.com/users/jimlloyd","html_url":"https://github.com/jimlloyd","followers_url":"https://api.github.com/users/jimlloyd/followers","following_url":"https://api.github.com/users/jimlloyd/following{/other_user}","gists_url":"https://api.github.com/users/jimlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/jimlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimlloyd/subscriptions","organizations_url":"https://api.github.com/users/jimlloyd/orgs","repos_url":"https://api.github.com/users/jimlloyd/repos","events_url":"https://api.github.com/users/jimlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/jimlloyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-08T23:34:58Z","updated_at":"2015-02-08T23:34:58Z","closed_at":null,"body":"Hello. I have code using promisify that has worked without issues since at least version 2.3.11, through 2.9.6. With 2.9.7 the code fails.\r\n\r\nI want to be able pass `require('bluebird').promisify` to a library that will create promisified methods of standard node async methods (unbound functions that depend on *this*). FYI, the library in question is [node-java](https://github.com/joeferner/node-java), with the feature [documented here](https://github.com/joeferner/node-java#promises). The feature was written to be workable with multiple Promises/A+ libraries. See the source file [testHelpers.js](https://github.com/joeferner/node-java/blob/master/testHelpers.js) to see (in comments) the various libraries that were tested. Most of the libraries (including bluebird) allowed me to pass a single promisify function and get valid results. Q was an exception, since the closest candidate function (denodify/nfbind) could only promisify a bound function, so I had to write a wrapper function promisifyQ show in testHelpers.js. It looks like that may now be necessary with bluebird.\r\n\r\nSince this behavior change is recent, I want to ask for clarification. I see that Issue #470 may be the reason for the change in behavior, though that was specifically about promisifyAll, not promisify."}}