Commit Graph

13404 Commits

Author SHA1 Message Date
Matt Wozniski
f325bd848b Use OverflowError exception type for overflows
Initially I used one of the existing exception raise functions, but it's
more correct and not much more code to raise OverflowError instead.
2019-05-09 03:22:26 -04:00
Matt Wozniski
095c844004 Add overflow checks for int to bytes conversions
For both small and long integers, raise an exception if calling
struct.pack, adding an element to an array.array, or formatting an int
with int.to_bytes would overflow the requested size.
2019-05-09 03:22:25 -04:00
Matt Wozniski
e041df73bb Add tests for overflows converting ints to bytes 2019-05-09 03:22:24 -04:00
Rafa Gould
a89ac96485 wording fixes 2019-05-08 21:14:35 -04:00
Scott Shawcroft
9ce042ad07
Merge pull request #1865 from terriko/mpy_error
Make status light flash blue for incompatible mpy (fixes #1369)
2019-05-08 20:22:59 -04:00
Dan Halbert
019254a9d2
Merge pull request #1870 from tannewt/fix_nrf_internal_flash_crash
Fix crash in internal filesystem on nrf
2019-05-08 19:41:17 -04:00
Dan Halbert
839bac47d4
Merge pull request #1867 from tannewt/hide_reload_traceback
Hide the traceback for the ReloadException.
2019-05-08 19:40:55 -04:00
Scott Shawcroft
9feb844b7e
Fix crash in internal filesystem on nrf
Fixes #1842
2019-05-08 15:43:18 -07:00
Scott Shawcroft
837d3f57ee
Update on_next_reset for new safe mode.
Fixes #1831
2019-05-08 15:23:40 -07:00
Scott Shawcroft
6440af5c06
Hide the traceback for the ReloadException.
Many users think it's an error when it's us simply stopping the
code.
2019-05-08 14:53:20 -07:00
Terri Oda
8d9c2f3e9d Make MpyError a ValueError (since that's what it was before) 2019-05-08 13:58:31 -07:00
sabas1080
27ea1df710 Init escornabot 2019-05-08 15:48:17 -05:00
Rafa Gould
082cd7a64b Grammar and Translations 2019-05-08 15:10:51 -04:00
Rafa Gould
eadab914f6 Added translations and did grammar fixes 2019-05-08 15:07:44 -04:00
Terri Oda
a9b05d37d7 Make status light flash blue for incompatible mpy (fixes #1369) 2019-05-08 11:54:08 -07:00
Scott Shawcroft
bec84f20ab
Merge pull request #1859 from scottbelden/tabbing
enter four spaces when there are no matches
2019-05-08 14:49:11 -04:00
Scott Shawcroft
9ba8191a04
Merge pull request #1855 from dhalbert/frequencyin-no-double-arith
avoid double float arithmetic in FrequencyIn
2019-05-08 14:40:18 -04:00
Scott Shawcroft
909210e00d
Merge pull request #1850 from katlings/filter-underscores
Filter private methods from tab completion
2019-05-08 13:47:29 -04:00
Scott Shawcroft
6e842aa66f
Merge pull request #1853 from rafa-gould/spanish_trans
Spanish Translation Grammar Fixes and Added Translations
2019-05-08 13:42:31 -04:00
siddacious
04b5c8c867
Merge pull request #1863 from ElectronicCats/fix_VID_Cats
fix VID and PID inverted in Electronic Cats Boards
2019-05-08 11:03:15 -05:00
sabas1080
08a170388d fix VID and PID inverted 2019-05-08 10:09:49 -05:00
Rafa Gould
7cfe4783ee Fixed brightness issue 2019-05-08 09:43:57 -04:00
Mel Chua
493fe971b5
fix #1833, replace expired discord link
The footer already links directly to https://adafru.it/discord, which seems like a more permanent location. I've just replaced the expired link at the top with the same thing.
2019-05-07 22:26:00 -04:00
scottbelden
786cb40073 enter four spaces when there are no matches 2019-05-07 13:55:20 -04:00
Rafa Gould
662a98a2a6 Make Translate 2019-05-07 13:05:28 -04:00
Kathryn Lingel
eb3cb4d99b Fix tests and clarify first character access 2019-05-07 09:30:55 -07:00
Rafa Gould
1ad20cf69b More Debugging 2019-05-07 11:12:02 -04:00
Rafa Gould
27ab71bea5 Debugging 2019-05-07 11:08:55 -04:00
Rafa Gould
86ac94bb6e Almost done with translations, just a dfew left 2019-05-07 10:24:33 -04:00
Rafa Gould
aa0a65b197 Fixes to syntax 2019-05-07 09:53:24 -04:00
Nick Moore
832f07a6e9 Update docs for wiznet5k adafruit/circuitpython#1800 2019-05-07 21:48:44 +10:00
Nick Moore
264fc2b070 Make wiznet5k RST pin optional adafruit/circuitpython#1800 2019-05-07 18:41:53 +10:00
Nick Moore
24934a1e8a Clean up list of NICs on network deinit adafruit/circuitpython#1800 2019-05-07 18:20:08 +10:00
Dan Halbert
f59dadbb4f avoid double float arithmetic in FrequencyIn 2019-05-07 00:25:22 -04:00
Kathryn Lingel
33b5cff8db Correct output expectation 2019-05-06 15:13:28 -07:00
Kathryn Lingel
77f177be9c Update tests for new autocomplete behavior 2019-05-06 14:19:07 -07:00
987695
a27bc6c90a Fixed spanish grammar errors 2019-05-06 16:13:44 -04:00
987695
d6f9fcc8f8 Fixed translation issues 2019-05-06 15:49:45 -04:00
Kathryn Lingel
54aa1ce6de Filter private methods from tab completion 2019-05-06 12:16:29 -07:00
Scott Shawcroft
4e0c18ee1f
Merge pull request #1847 from rafa-gould/master
Fixed grammatical errors involving "o" and "ó" and numbers
2019-05-06 15:13:36 -04:00
987695
eaa689f477 Fixed grammatical errors involving "o" and "ó" and numbers 2019-05-06 13:55:16 -04:00
Scott Shawcroft
ccd22ab26a
Merge pull request #1844 from fezthedev/traduzione-italiano
Added some more Italian translations
2019-05-06 13:34:12 -04:00
Fezthedev
b9b6f0dc4c Added newline that was causing build fails 2019-05-06 12:24:18 -04:00
Fezthedev
cfd80761a3 Added some more italian translations 2019-05-06 10:06:39 -04:00
Limor "Ladyada" Fried
1a8e50c773
Merge pull request #1840 from saxenanurag/patch-1
Fix hyperlink to circuitpython.org
2019-05-04 23:22:40 -04:00
Anurag Saxena
6b45c85978
Fix hyperlink to circuitpython.org
Currently the link goes to: https://github.com/circuitpython.org
2019-05-04 16:14:43 -04:00
Nick Moore
d97c81b0c9 Update docs to include new 'dhcp' constructor parameter 2019-05-02 19:14:22 +10:00
Nick Moore
baa9c02c8b Add a kw-only argument "dhcp" to wiznet5k object 2019-05-02 16:05:33 +10:00
Nick Moore
09d0e99d5b assign variable socket number to DHCP 2019-05-02 16:05:33 +10:00
Nick Moore
09b83e96b3 Avoid socket #0 used by DHCP 2019-05-02 14:32:35 +10:00