setop

Results 65 comments of setop

It seems related to the fact that some elements are declared both in a .h and a .c file, hence conflicting. I made a quick fix to be able to...

I've been hit by this one also. It seems this construction is not so uncommon. Especially in import sequence. ```python try: import this except not_there: import that else: go on...

I'd like to be able to run python script as-is. Like elaborate with python interpreter then run in prod with codon. | | python | codon | |-|-|-| | form...

Thanks How can I transform a `List[byte]` into something that can be written to disk. Here I get `error: 'File' object has no method 'write' with arguments (File, List[byte])`

I'm trying to implement a codec whom format has already been specified. So I cannot change it to pickle+gzip. I have to be able to handle raw bytes. Hence the...

I found an hidden method in File implementation, https://github.com/exaloop/codon/blob/fc70c830d0a9ba7766bdcc7fbeaffaa8c21fa5db/stdlib/internal/file.codon#L43. `codon run

> Solutions: > * Port a python library to codon. I already have an implementation in Python, using bytearray. My point in re-implementing it in Codon is to make is...

> If your goal is to optimize performance while making minimal modifications, there are alternative solutions available that you can consider: > > 1. Use mypy > 2. Use pypy...

Thanks for the reply. > However, since this repository is geared towards learners, I appreciate the more verbose nature of the current version in master to provide additional context and...

same symptoms as for #74 and probably a good proposal for a solution