Skip to content
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

Fixes JSObject(null) #1

Merged
merged 1 commit into from Sep 18, 2014
Merged

Fixes JSObject(null) #1

merged 1 commit into from Sep 18, 2014

Conversation

ghost
Copy link

@ghost ghost commented Sep 16, 2014

Was noticing that JSObject(null) was returning a JSObject instead of simply a NoneType, resulting in comparison failures.

@ghost
Copy link
Author

ghost commented Sep 16, 2014

I realized after submitting this that I didn't rig up the unit tests to the test site. Go ahead and rig that up how you see fit. Seems like Javascript interop tests need their own category since it's outside the scope of normal python.

PierreQuentel added a commit that referenced this pull request Sep 18, 2014
@PierreQuentel PierreQuentel merged commit 02f1c1c into brython-dev:master Sep 18, 2014
@PierreQuentel
Copy link
Contributor

Hi James,

I merged this pull request, but I realize I shouldn't have : like CPython, JSObject(null) should raise a NameError exception if no variable called "null" was defined in the Python code

PierreQuentel pushed a commit that referenced this pull request Feb 9, 2017
Fix --modules option of brython.py
PierreQuentel pushed a commit that referenced this pull request Sep 10, 2017
added some stuff to _float_info to make it work
PierreQuentel pushed a commit that referenced this pull request Jan 28, 2019
Added a test for possibly undefined argument
PierreQuentel pushed a commit that referenced this pull request Apr 10, 2019
PierreQuentel pushed a commit that referenced this pull request Oct 22, 2019
PierreQuentel pushed a commit that referenced this pull request Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant