Roger Peppe

Results 187 issues of Roger Peppe

Given that the version 1 JSON format is used in production in various places, it would be useful to support that as well as version 2.

As far as I can tell, the following script should print: checked conditions: ['splendid', 'wonderful', 'top of the world'] but it actually prints: checked conditions: ['top of the world', 'wonderful']...

It seems that the vid field in third party caveats is not correctly encoded, which leads to an exception when trying to serialize macaroons in JSON format. >>> m =...

When we pass an unknown format to macaroon.serialize, it produces this error: >>> m.serialize(format='json1') Exception KeyError: ('json1',) in 'macaroons.Macaroon.version' ignored Traceback (most recent call last): File "", line 1, in...

The base64 does not have the required padding characters to allow it to be parsed by standard base64 decoders. Verify by taking some serialization from the example README.md: ``` echo...

There is a macaroon_serialize_json function, but no macaroon_deserialize_json function.

Currently it is not possible to write a struct literal without mentioning its type (with the exception of struct literals in map and slice composite literals). This can make it...

LanguageChange
v2
Proposal
dotdotdot

Currently a small number of the lexicons introduce cycles, a.k.a. circular dependencies. This makes it awkward to generate code in languages such as Go which don't allow cyclic package dependencies....

This is an alternative to PRs #160 and #165. It's essentially the same as PR #165 except that it uses generics to reduce the amount of duplicated code. Instead of...

### What version of CUE are you using (`cue version`)? $ cue version v0.8.0-alpha.2 ### Does this issue reproduce with the latest stable release? N/A ### What did you do?...

modules