Commit Graph

  • 755a55f507 modgc: Implement return value for gc.collect(), enable on Unix. Paul Sokolovsky 2014-06-05 22:48:02 +03:00
  • d4c2bddd0c py: Raise TypeError when trying to format non-int with %x,%o,%X. Damien George 2014-06-05 19:44:54 +01:00
  • f675ff3957 Merge pull request #665 from Rosuav/naming3.3 Paul Sokolovsky 2014-06-05 21:17:46 +03:00
  • 11de8399fe py: Small changes to objstr.c, including a bug fix. Damien George 2014-06-05 18:57:38 +01:00
  • daf973ae00 Change comments (mainly URLs) to no longer specifically say Python 3.3 Chris Angelico 2014-06-06 03:51:03 +10:00
  • c074cd38c3 Merge pull request #663 from Rosuav/floatpercentx Damien George 2014-06-05 18:39:08 +01:00
  • 75ce9256b2 objstr: Implement "%(key)s" % {} formatting for strings and dicts. Paul Sokolovsky 2014-06-05 20:02:15 +03:00
  • 7a6e09635a Remove tests that fail under CPython 3.5 Chris Angelico 2014-06-04 08:07:37 +10:00
  • df3ab07994 unix: Fix path seperator used depending on OS stijn 2014-06-05 12:33:55 +02:00
  • 1e82ef3ae8 Merge pull request #660 from Rosuav/assert0 Paul Sokolovsky 2014-06-05 12:11:48 +03:00
  • 76c8a4c91b unix: Add setjmp-based GC register helper implementation. Paul Sokolovsky 2014-06-05 04:32:17 +03:00
  • 9ab8ab2117 Replace assert(0) with a self-documenting TODO string Chris Angelico 2014-06-04 05:04:23 +10:00
  • 30583f58d5 Merge pull request #653 from Metallicow/switch-example-correction Damien George 2014-06-04 13:46:35 +01:00
  • 95fd3528c1 Merge pull request #650 from bvernoux/master Damien George 2014-06-03 19:29:03 +01:00
  • 9b967dd3cd Merge pull request #655 from Rosuav/master Damien George 2014-06-03 19:25:37 +01:00
  • 4867413e69 Simplify detection of quote characters in mp_str_print_quoted. Chris Angelico 2014-06-04 03:26:40 +10:00
  • 82560fce75 Merge branch 'master' of https://github.com/micropython/micropython bvernoux 2014-06-03 19:26:34 +02:00
  • 29bf7393c1 Correct file reference (there's no qstrraw.h) Chris Angelico 2014-06-04 03:15:46 +10:00
  • 0a1dbfe02f Merge branch 'master' of https://github.com/bvernoux/micropython bvernoux 2014-06-03 19:00:31 +02:00
  • c3c353d7f1 Cleanup/removed specific stuff specific to HydraBus (except board). bvernoux 2014-06-03 18:59:24 +02:00
  • 3d5ffa8318 remove __doc__ = and fix tweak doc diffs Metallicow 2014-06-03 07:46:12 -06:00
  • b294a7e3c9 py: Properly fix configuration of float and math module. Damien George 2014-06-03 13:43:20 +01:00
  • 3f52262465 py: Allow tail call optimisation in mp_call_function_n_kw. Damien George 2014-06-03 13:40:16 +01:00
  • 65ec33200a py: Fix configuration of math module. Damien George 2014-06-03 12:33:38 +00:00
  • bcb6ca4d5e py: Implement full behaviour of dict.update(), and dict(). Damien George 2014-06-03 12:53:44 +01:00
  • 07995e9479 Merge pull request #649 from pfalcon/multi-opt Damien George 2014-06-03 10:46:36 +01:00
  • 411732e93b vm: If there's no lineno info, set lineno in traceback to 0, not 1. Paul Sokolovsky 2014-06-02 18:24:34 +03:00
  • b8f117dd32 py: For optimization level -O3 and higher, remove lineno info from bytecode. Paul Sokolovsky 2014-06-02 19:39:15 +03:00
  • d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. Paul Sokolovsky 2014-06-02 19:37:55 +03:00
  • 509c7a7854 Merge pull request #651 from dhylands/fix-af-csv2 Paul Sokolovsky 2014-06-03 11:16:31 +03:00
  • 4e0573e5cf Add missing commas to stm32f4xx-af.csv Dave Hylands 2014-06-02 23:04:41 -07:00
  • f753971e5d showbc: Make micropython -v also dump bytecode in hex form. Paul Sokolovsky 2014-06-03 01:38:01 +03:00
  • a4ac5b9f05 showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode. Paul Sokolovsky 2014-06-03 01:24:29 +03:00
  • dd0dee3afc unix: Properly print script filename in case of error. Paul Sokolovsky 2014-06-03 01:01:39 +03:00
  • 2abfeebf4a Update README.md Benjamin Vernoux 2014-06-02 22:09:47 +02:00
  • 65a97e8d9c Merge branch 'master' of https://github.com/bvernoux/micropython bvernoux 2014-06-02 22:09:20 +02:00
  • 586f02a015 HydraBus board bvernoux 2014-06-02 22:08:59 +02:00
  • a5892a13b4 Update README.md Benjamin Vernoux 2014-06-02 22:04:37 +02:00
  • a7d963d171 Update README.md Benjamin Vernoux 2014-06-02 22:03:22 +02:00
  • d7da92a8f0 Update README.md Benjamin Vernoux 2014-06-02 21:54:48 +02:00
  • 8db7804496 Update README.md Benjamin Vernoux 2014-06-02 21:53:52 +02:00
  • 569aa90137 micropython port for HydraBus bvernoux 2014-06-02 21:43:02 +02:00
  • 8bf8404c15 showbc: Print code block header at the beginning, not in the middle of dump. Paul Sokolovsky 2014-06-02 16:11:16 +03:00
  • b325d25e46 lexer: Add another comment for somewhat obscure way __debug__ is handled. Paul Sokolovsky 2014-06-02 16:09:32 +03:00
  • 62798831be modstruct: Add one more extension to typecodes - 'S', a pointer to C string. Paul Sokolovsky 2014-06-02 16:04:26 +03:00
  • b55a59de4c Merge branch 'Metallicow-LED-Fix' Damien George 2014-06-01 18:35:57 +01:00
  • 517f292c8d examples, switch: Make run_loop take sequence of LED objects. Damien George 2014-06-01 18:34:58 +01:00
  • 15a5738e1d Merge branch 'LED-Fix' of github.com:Metallicow/micropython into Metallicow-LED-Fix Damien George 2014-06-01 18:30:03 +01:00
  • fcc9cf63f1 py, str: Replace enum with actual function pointer. Damien George 2014-06-01 18:22:09 +01:00
  • f1dbd78b30 stmhal: Document pyb.Accel() constructor, that it takes time to start. Damien George 2014-06-01 17:57:06 +01:00
  • 9500e98433 __doc__ switch, make importable, and easy to test Metallicow 2014-06-01 08:18:13 -06:00
  • f917f06384 bare-arm: Disable slice and set. Damien George 2014-06-01 13:49:54 +01:00
  • c49ddb9315 py: Fix configurability of builtin slice. Damien George 2014-06-01 13:49:35 +01:00
  • 3ebd4d0cae py: Add option to disable set() object (enabled by default). Damien George 2014-06-01 13:46:47 +01:00
  • fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. Damien George 2014-06-01 13:32:54 +01:00
  • c60a261ef0 py, vm: Replace save_ip, save_sp with code_state->{ip, sp}. Damien George 2014-06-01 12:32:28 +01:00
  • c7969857f4 Merge branch 'pfalcon-vm-alloca' Damien George 2014-06-01 12:08:55 +01:00
  • 1b87d1098a Merge branch 'vm-alloca' of github.com:pfalcon/micropython into pfalcon-vm-alloca Damien George 2014-06-01 12:06:17 +01:00
  • f94cc975a2 Add switch test example Metallicow 2014-05-31 23:15:04 -06:00
  • fa82aa81c0 LED Fix Metallicow 2014-05-31 23:10:10 -06:00
  • 6c13d7965e Merge branch 'master' of github.com:micropython/micropython Damien George 2014-05-31 18:35:00 +01:00
  • 4d659f566f tests: Add feature test for when heap allocation is disabled. Damien George 2014-05-31 18:33:16 +01:00
  • 6e18835b94 Merge pull request #643 from dhylands/fix-af-csv Damien George 2014-05-31 18:13:28 +01:00
  • a053e37b2c tests: Change --test_dirs to --test-dirs. Damien George 2014-05-31 18:11:01 +01:00
  • e7412ab37b Merge pull request #632 from stinos/tests-dir-argument Damien George 2014-05-31 18:11:03 +01:00
  • 5b5562c1d1 py: Fix stack underflow with optimised for loop. Damien George 2014-05-31 17:59:11 +01:00
  • 049a01d148 tests: Add another test for break-from-for-loop. Damien George 2014-05-31 16:56:15 +01:00
  • b4ebad3310 vm: Factor out structure with code execution state and pass it around. Paul Sokolovsky 2014-05-31 16:50:46 +03:00
  • b16523aa95 vm: Don't unconditionally allocate state on stack, do that only if needed. Paul Sokolovsky 2014-05-31 03:41:08 +03:00
  • ff8da0b835 vm: Detect stack underflow in addition to overflow. Paul Sokolovsky 2014-05-31 18:14:54 +03:00
  • ae9c82d5f3 objstr: str_uni_istype(): Spurious whitespace on empty lines. Paul Sokolovsky 2014-05-31 11:00:25 +03:00
  • f69b9d379c objstr: str_uni_istype(): Codestyle. Paul Sokolovsky 2014-05-31 10:59:34 +03:00
  • 69a8b23651 Merge pull request #644 from kimbauters/master Paul Sokolovsky 2014-05-31 10:52:20 +03:00
  • a3f4b83018 add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str Kim Bauters 2014-05-31 07:30:03 +01:00
  • b5fb9b22e2 Add a comma to make the .csv look proper in github Dave Hylands 2014-05-30 22:18:52 -07:00
  • 1f07b7e3c3 py: Reformat few long functions argument lists for clarity. Paul Sokolovsky 2014-05-31 03:36:37 +03:00
  • 3dfa76cb85 unix: 64-bit cleanness. Paul Sokolovsky 2014-05-31 03:19:15 +03:00
  • 914bcf16d8 unix: Add poorman's stack usage info to mem_info() dump. Paul Sokolovsky 2014-05-31 02:34:39 +03:00
  • b30a777ace objfun: Typo fixes in comments. Paul Sokolovsky 2014-05-31 02:24:47 +03:00
  • 347b3a3d1f modsocket: Add some comments on intended usage/API design of module. Paul Sokolovsky 2014-05-31 01:48:26 +03:00
  • 50b08c920a modsocket: Remove stale ifdef. Paul Sokolovsky 2014-05-31 01:41:41 +03:00
  • ccd0e0afcd tests: Add test for break in for. Paul Sokolovsky 2014-05-31 00:43:41 +03:00
  • 25c84643b6 py: Fix break from within a for loop. Damien George 2014-05-30 15:20:41 +01:00
  • 8827682b35 objstr: *strip(): If nothing is stripped, don't create dup string. Paul Sokolovsky 2014-05-30 03:11:44 +03:00
  • bcdffe53c6 objstr: *strip(): Fix handling of one-char subject strings. Paul Sokolovsky 2014-05-30 03:07:05 +03:00
  • 059f95b2cb Merge pull request #633 from stinos/msvc-fix-genhdr-dep Paul Sokolovsky 2014-05-30 02:48:04 +03:00
  • 97953f6ce7 qemu-arm: Add port README. Paul Sokolovsky 2014-05-30 02:40:09 +03:00
  • f55cf10101 py: Implement bignum '&' with negatives on lhs and rhs. Damien George 2014-05-29 15:01:49 +01:00
  • 48d641e41a msvc: Only update generated headers when there are changes stijn 2014-05-28 16:03:38 +02:00
  • d1e355ea8e py: Fix check of small-int overflow when parsing ints. Damien George 2014-05-28 14:51:12 +01:00
  • 813ed3bda6 py: Make int(<longint>) work by just returning the longint. Damien George 2014-05-28 14:09:46 +01:00
  • 503d611033 py: Implement long int parsing in int(...). Damien George 2014-05-28 14:07:21 +01:00
  • 1d567592b1 unix/gccollect.c: Make Clang workaround apply only to it. Unbreaks gcc builds. Paul Sokolovsky 2014-05-28 15:37:22 +03:00
  • 8ac3b578e5 tests: Add argument to allow specifying which directories to test stijn 2014-05-28 14:27:54 +02:00
  • 168a9ce863 Revert "Fix DEBUG=1 builds" Paul Sokolovsky 2014-05-28 15:28:30 +03:00
  • ae13758dd7 Merge pull request #631 from stinos/fix-win-def Damien George 2014-05-28 13:10:03 +01:00
  • 4de2fe10b4 Merge pull request #629 from dhylands/fix-unix-debug Damien George 2014-05-28 13:00:02 +01:00
  • 34c24a0fc2 windows: Complete rename of MICROPY_PATH_MAX to MICROPY_ALLOC_PATH_MAX (58ebde4) stijn 2014-05-27 14:35:28 +02:00
  • 6e76f7bc90 Fix DEBUG=1 builds Dave Hylands 2014-05-26 16:28:06 -07:00
  • 0405b2210d modos: stat(): Accept bytes argument. Paul Sokolovsky 2014-05-26 02:00:51 +03:00