Top "Built-in" questions

Built-in functions, modules and classes are standard parts of a programming language or framework.

Adding a datetime stamp to Python print

I am trying to debug the behaviour of a large library I depend on, which uses a scattering (no make …

python debugging monkeypatching built-in
How to restore a builtin that I overwrote by accident?

I accidentally overwrote set by using it as a variable name in an interactive python session - is there any …

python built-in
What is the perl equivalent of MAX_INT?

I am new to perl and seeking the lowest value in an @array. Is there some constant that represents a …

arrays perl constants built-in
Why does Python have a format function as well as a format method

The format function in builtins seems to be like a subset of the str.format method used specifically for the …

python string format python-2.6 built-in
__builtin_trap: when to use it?

gcc provides additional builtin functions "for optimization". One of them is void __builtin_trap (void) which essentially is here to …

c++ gcc built-in
How to add builtin functions?

I am new to python programming. How can I add new built-in functions and keywords to python interpreter using C …

python user-defined-functions keyword built-in
Difference between nameof and typeof

Correct me if I am wrong, but doing something like var typeOfName = typeof(Foo).Name; and var nameOfName = nameof(Foo); …

c# built-in typeof c#-6.0 nameof
Python filter function - single result

Is there a built in function in Python that will return a single result given a list and a validation …

python python-3.x built-in
How to hint to GCC that a line should be unreachable at compile time?

It's common for compilers to provide a switch to warn when code is unreachable. I've also seen macros for some …

c gcc pragma built-in unreachable-code
Does android have a built-in PDF viewer?

I heard something recently about it being included in Froyo and I was wondering if there was any truth to …

android pdf android-2.2-froyo built-in