Skip to content
#

interpreter

Here are 4,517 public repositories matching this topic...

Snowapril
Snowapril commented Apr 14, 2022

Feature

Many existing test cases check that pickle.dumps and pickle.loads of a given type return the exact same value. Almost failed pickle test in RustPython, lack __reduce__ method.

  • arrayiterator.__reduce__ (test_array::test_iterator_pickle)
  • filter.__reduce__ (test_builtin::test_filter_pickle) — #3732
  • map.__reduce__ (test_builtin::test_map_pickle) — #3734
dankegel
dankegel commented Jun 29, 2022

Given the invalid command

let x/x

bash rightfully complains:

$ let x/x
bash: let: x/x: division by 0 (error token is "x")

but gosh panics:

$ go run cmd/gosh/main.go
$ let x/x
panic: runtime error: integer divide by zero

goroutine 1 [running]:
mvdan.cc/sh/v3/expand.binArit(0x111540?, 0x589de0?, 0xc000122f28?)
	/home/dank/src/sh/expand/arith.go:173 +0x245
mv

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Jul 4, 2022
  • Red
boa
root
guitargeek
guitargeek commented Jun 30, 2022

Describe the bug

The analytical integral of the RooPoisson is implemented wrongly for the case where the boundaries are 0 < a < 1e30 and b >= 1e30.

Expected behavior

The integral should be correct.

To Reproduce

The wrong integral can be reproduced with this code snippet.

void testPoissonIntegral() {

   const double mu = 100;
   const double inf = std::
pocketlang
billy4479
billy4479 commented Jul 14, 2021

This is a config file for clang-format, a tool that is already used by many editors and adopted by many projects to format the code and ensure that the style is consistent.
It could even be used as a git hook or in the CI/CD workflow to ensure that new patches respect the coding style.
A config can derive from other preexisting configs (like Google's, LLVM's or Mozilla's) so it's not a big eff

good first issue TODO

Improve this page

Add a description, image, and links to the interpreter topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the interpreter topic, visit your repo's landing page and select "manage topics."

Learn more