Commit Graph

7 Commits

Author SHA1 Message Date
9a54f7b4aa [core] Still refactoring the core behaviour of bags, starting to be much simpler. 2017-10-23 21:18:02 +02:00
92cc400fe7 [core] Refactoring IOFormats so there is one and only obvious way to send it.
This is the commit where I admit that having more than one input/output
format for readers and writers was complicating the code too much for a
very small gain, and that it would be easier to only have one way to do
it.

So such way is now:

- Returning (or yielding) a dict if you have key-value type collections.
- Returning (or yielding) a tuple if you have a list-type collection.
- Returning (or yielding) something else otherwise, which will continue
  to work like the old "arg0" format.

IOFORMAT options has been removed in favour of a RemovedOption, which
will complain if you're still trying to set it to anything else than the
one value allowed.
2017-10-15 21:37:22 +02:00
67b4227436 [stdlib] Fix I/O related nodes (especially json), there were bad bugs with ioformat. 2017-06-17 10:37:17 +02:00
1ca48d885d Refactoring and fixes around ioformats. 2017-06-08 21:47:01 +02:00
2c2bc4fca9 [qa] fix unclosed files problems in tests. 2017-05-28 23:15:40 +02:00
1afd8746eb [pm] Moving project artifact management to next edgy.project version. 2017-05-27 16:08:10 +02:00
5d8f4c3dc7 Add tests for pickle functionality 2017-05-24 22:20:59 -04:00