SlideShare a Scribd company logo
replacing import
with accio
muggle python
>>> import random!
!
>>> random.random()!
0.18660693012691754!
!
>>> accio random!
File "<stdin>", line 1!
accio random!
^!
SyntaxError: invalid syntax
>>> import random!
!
>>> random.random()!
0.18660693012691754!
!
>>> accio random!
File "<stdin>", line 1!
accio random!
^!
SyntaxError: invalid syntax
>>> import random!
!
>>> random.random()!
0.18660693012691754!
!
>>> accio random!
File "<stdin>", line 1!
accio random!
^!
SyntaxError: invalid syntax
>>> import random!
!
>>> random.random()!
0.18660693012691754!
!
>>> accio random!
File "<stdin>", line 1!
accio random!
^!
SyntaxError: invalid syntax
>>> import random!
!
>>> random.random()!
0.18660693012691754!
!
>>> accio random!
File "<stdin>", line 1!
accio random!
^!
SyntaxError: invalid syntax
nagini
>>> accio random!! ! # no error!
!
>>> random.random()!
0.18660693012691754!
!
>>> import random!
File "<stdin>", line 1!
import random!
^!
SyntaxError: invalid syntax
>>> accio random!! ! # no error!
!
>>> random.random()!
0.18660693012691754!
!
>>> import random!
File "<stdin>", line 1!
import random!
^!
SyntaxError: invalid syntax
>>> accio random!! ! # no error!
!
>>> random.random()!
0.18660693012691754!
!
>>> import random!
File "<stdin>", line 1!
import random!
^!
SyntaxError: invalid syntax
>>> accio random!! ! # no error!
!
>>> random.random()!
0.18660693012691754!
!
>>> import random!
File "<stdin>", line 1!
import random!
^!
SyntaxError: invalid syntax
>>> accio random!! ! # no error!
!
>>> random.random()!
0.18660693012691754!
!
>>> import random!
File "<stdin>", line 1!
import random!
^!
SyntaxError: invalid syntax
__builtins__!
import!
Grammar!
bootstrapping
__builtins__!
import!
Grammar!
bootstrapping
>>> __builtins__!
<module '__builtin__' (built-in)>!
!
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip']
>>> __builtins__!
<module '__builtin__' (built-in)>!
!
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip']
>>> __builtins__!
<module '__builtin__' (built-in)>!
!
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip']
>>> __builtins__!
<module '__builtin__' (built-in)>!
!
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip']
we can shadow
builtins!
>>> float(3)!
3.0!
!
>>> wingardium_leviosa =
__builtins__.float!
!
>>> wingardium_leviosa(3)!
3.0
>>> float(3)!
3.0!
!
>>> wingardium_leviosa =
__builtins__.float!
!
>>> wingardium_leviosa(3)!
3.0
>>> float(3)!
3.0!
!
>>> wingardium_leviosa =
__builtins__.float!
!
>>> wingardium_leviosa(3)!
3.0
>>> float(3)!
3.0!
!
>>> wingardium_leviosa =
__builtins__.float!
!
>>> wingardium_leviosa(3)!
3.0
>>> float(3)!
3.0!
!
>>> wingardium_leviosa =
__builtins__.float!
!
>>> wingardium_leviosa(3)!
3.0
we can delete
builtins!
>>> del __builtins__.float!
!
>>> float(3)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'float' is not
defined!
!
>>> wingardium_leviosa(3)!
3.0
>>> del __builtins__.float!
!
>>> float(3)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'float' is not
defined!
!
>>> wingardium_leviosa(3)!
3.0
>>> del __builtins__.float!
!
>>> float(3)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'float' is not
defined!
!
>>> wingardium_leviosa(3)!
3.0
>>> del __builtins__.float!
!
>>> float(3)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'float' is not
defined!
!
>>> wingardium_leviosa(3)!
3.0
>>> del __builtins__.float!
!
>>> float(3)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'float' is not
defined!
!
>>> wingardium_leviosa(3)!
3.0
__builtins__!
import!
Grammar!
bootstrapping
can we shadow
import?
>>> accio = import!
File "<stdin>", line 1!
accio = import!
^!
SyntaxError: invalid syntax
>>> accio = import!
File "<stdin>", line 1!
accio = import!
^!
SyntaxError: invalid syntax
:(
can we delete
import?
>>> del import!
File "<stdin>", line 1!
del = import!
^!
SyntaxError: invalid syntax
>>> del import!
File "<stdin>", line 1!
del = import!
^!
SyntaxError: invalid syntax
:(
__import__
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip’]!
!
>>> __builtins__.__import__!
<built-in function __import__>
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip’]!
!
>>> __builtins__.__import__!
<built-in function __import__>
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip’]!
!
>>> __builtins__.__import__!
<built-in function __import__>
>>> dir(__builtins__)!
[‘ArithmeticError’,…,’__import__’,
…,’float’,…,’zip’]!
!
>>> __builtins__.__import__!
<built-in function __import__>
>>> __builtins__.__import__(random)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'random' is not
defined!
!
>>> __builtins__.__import__(‘random’)!
<module 'random' from ‘/usr/local/…/
random.pyc’>
>>> __builtins__.__import__(random)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'random' is not
defined!
!
>>> __builtins__.__import__(‘random’)!
<module 'random' from ‘/usr/local/…/
random.pyc’>
>>> __builtins__.__import__(random)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'random' is not
defined!
!
>>> __builtins__.__import__(‘random’)!
<module 'random' from ‘/usr/local/…/
random.pyc’>
>>> __builtins__.__import__(random)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
NameError: name 'random' is not
defined!
!
>>> __builtins__.__import__(‘random’)!
<module 'random' from ‘/usr/local/…/
random.pyc’>
>>> random =
__builtins__.__import__(‘random’)!
!
>>> random.random()!
0.05857571707711129
>>> random =
__builtins__.__import__(‘random’)!
!
>>> random.random()!
0.05857571707711129
>>> random =
__builtins__.__import__(‘random’)!
!
>>> random.random()!
0.05857571707711129
can we shadow
__import__?
>>> accio = __builtins__.__import__!
!
>>> random = accio(‘random’)!
!
>>> random.random()!
0.8735934644377295
>>> accio = __builtins__.__import__!
!
>>> random = accio(‘random’)!
!
>>> random.random()!
0.8735934644377295
>>> accio = __builtins__.__import__!
!
>>> random = accio(‘random’)!
!
>>> random.random()!
0.8735934644377295
>>> accio = __builtins__.__import__!
!
>>> random = accio(‘random’)!
!
>>> random.random()!
0.8735934644377295
can we delete
__import__?
>>> del __builtins__.__import__!
!
>>> random = accio(‘random’)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
File “/usr/local/…/random.py”, line
42, in <module>!
from __future__ import division!
ImportError: __import__ not found
>>> del __builtins__.__import__!
!
>>> random = accio(‘random’)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
File “/usr/local/…/random.py”, line
42, in <module>!
from __future__ import division!
ImportError: __import__ not found
>>> del __builtins__.__import__!
!
>>> random = accio(‘random’)!
Traceback (most recent call last):!
File "<stdin>", line 1, in <module>!
File “/usr/local/…/random.py”, line
42, in <module>!
from __future__ import division!
ImportError: __import__ not found
`import x` is a
statement
__builtins__!
import!
Grammar!
bootstrapping
clone cpython!
$ ls -d cpython/*/!
Doc/!! ! ! ! Objects/!
Grammar/!! ! PC/!
Include/!! ! PCbuild/!
Lib/!! ! ! ! Parser/!
Mac/!! ! ! ! Python/!
Misc/!! ! ! Tools/!
Modules/
$ ls -d cpython/*/!
Doc/!! ! ! ! Objects/!
Grammar/!! ! PC/!
Include/!! ! PCbuild/!
Lib/!! ! ! ! Parser/!
Mac/!! ! ! ! Python/!
Misc/!! ! ! Tools/!
Modules/
$ ls -d cpython/*/!
Doc/!! ! ! ! Objects/!
Grammar/!! ! PC/!
Include/!! ! PCbuild/!
Lib/!! ! ! ! Parser/!
Mac/!! ! ! ! Python/!
Misc/!! ! ! Tools/!
Modules/
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | '.'+)'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | '.'+)'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | '.'+)'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_name: !
! import matplotlib.pyplot as plt!
!
import_from:!
! from matplotlib import pyplot as plt
import_name: !
! import matplotlib.pyplot as plt!
!
import_from:!
! from matplotlib import pyplot as plt
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | ‘.'+) 'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_stmt: import_name | !
! ! import_from!
import_name: 'accio' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | ‘.'+) 'accio' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
$ make!
Traceback (most recent call last):!
…!
File “/…/cpython/Lib/sysconfig.py”,
line 4!
import sys!
^!
SyntaxError: invalid syntax
$ make!
Traceback (most recent call last):!
…!
File “/…/cpython/Lib/sysconfig.py”,
line 4!
import sys!
^!
SyntaxError: invalid syntax
half of cpython is
written in python!
$ (script that replaces `import` with
`accio` in all .py files)!
!
$ make!
Traceback (most recent call last):!
…!
accio sys!
^!
SyntaxError: invalid syntax
$ (script that replaces `import` with
`accio` in all .py cpython files)!
!
$ make!
Traceback (most recent call last):!
…!
accio sys!
^!
SyntaxError: invalid syntax
$ (script that replaces `import` with
`accio` in all .py cpython files)!
!
$ make!
Traceback (most recent call last):!
…!
accio sys!
^!
SyntaxError: invalid syntax
wat!
__builtins__!
import!
Grammar!
bootstrapping
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | '.'+)'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_stmt: import_name | !
! ! import_from!
import_name: 'import' dotted_as_names!
import_from: ('from' (‘.'* !
! ! dotted_name | '.'+)'import' (‘*'!
! ! | '(' import_as_names ')' | !
! ! import_as_names))
import_name: 'import' dotted_as_names!
! ! | 'accio' dotted_as_names
import_name: 'import' dotted_as_names!
! ! | 'accio' dotted_as_names
$ make!
!
$ ./python!
!
>>> accio random!! ! # no errors!!
!
>>> import sys!! ! ! # no errors :(
$ make!
!
$ ./python!
!
>>> accio random!! ! # no errors!!
!
>>> import sys!! ! ! # no errors :(
$ make!
!
$ ./python!
!
>>> accio random!! ! # no errors!!
!
>>> import sys!! ! ! # no errors :(
$ make!
!
$ ./python!
!
>>> accio random!! ! # no errors!!
!
>>> import sys!! ! ! # no errors :(
yo dawg I heard
you like pythons
fin

More Related Content

What's hot

Python 1
Python 1Python 1
sanya's Bug database
sanya's Bug databasesanya's Bug database
sanya's Bug database
sanyabhasin18
 
F# in real world (LambdaCon15)
F# in real world (LambdaCon15)F# in real world (LambdaCon15)
F# in real world (LambdaCon15)
Yan Cui
 
Unit testing UIView
Unit testing UIViewUnit testing UIView
Unit testing UIView
Pierre Felgines
 
Python import charpy
Python import charpyPython import charpy
Python import charpy
Blueprint Health LLC
 
Flex入門
Flex入門Flex入門
Flex入門
dewa
 
Unlocking Museum Systems with Open Source
Unlocking Museum Systems with Open SourceUnlocking Museum Systems with Open Source
Unlocking Museum Systems with Open Source
Richard Barrett-Small
 
Intermediate Swift Language by Apple
Intermediate Swift Language by AppleIntermediate Swift Language by Apple
Intermediate Swift Language by Apple
jamesfeng2
 

What's hot (8)

Python 1
Python 1Python 1
Python 1
 
sanya's Bug database
sanya's Bug databasesanya's Bug database
sanya's Bug database
 
F# in real world (LambdaCon15)
F# in real world (LambdaCon15)F# in real world (LambdaCon15)
F# in real world (LambdaCon15)
 
Unit testing UIView
Unit testing UIViewUnit testing UIView
Unit testing UIView
 
Python import charpy
Python import charpyPython import charpy
Python import charpy
 
Flex入門
Flex入門Flex入門
Flex入門
 
Unlocking Museum Systems with Open Source
Unlocking Museum Systems with Open SourceUnlocking Museum Systems with Open Source
Unlocking Museum Systems with Open Source
 
Intermediate Swift Language by Apple
Intermediate Swift Language by AppleIntermediate Swift Language by Apple
Intermediate Swift Language by Apple
 

Viewers also liked

Increase your sales and profits online
Increase your sales and profits onlineIncrease your sales and profits online
Increase your sales and profits online
Sagittarius
 
Concordias Starta eget temadag 8.11.2014
Concordias Starta eget temadag 8.11.2014Concordias Starta eget temadag 8.11.2014
Concordias Starta eget temadag 8.11.2014
Jakobstad Region Development Company Concordia
 
Pietarsaaren seutu - tilastotietoa seutukunnasta
Pietarsaaren seutu - tilastotietoa seutukunnastaPietarsaaren seutu - tilastotietoa seutukunnasta
Pietarsaaren seutu - tilastotietoa seutukunnasta
Jakobstad Region Development Company Concordia
 
Executive Insight
Executive InsightExecutive Insight
Executive Insight
aspfeifer
 
Tales From A Specialist Tour Operator
Tales From A Specialist Tour OperatorTales From A Specialist Tour Operator
Tales From A Specialist Tour Operator
Sagittarius
 
Python WATs: Uncovering Odd Behavior
Python WATs: Uncovering Odd BehaviorPython WATs: Uncovering Odd Behavior
Python WATs: Uncovering Odd Behavior
Amy Hanlon
 
Life quality 2040 Presentation
Life quality 2040 PresentationLife quality 2040 Presentation
Life quality 2040 Presentation
Jakobstad Region Development Company Concordia
 
Google hanout vuong-quocdat-k37.103.503
Google hanout vuong-quocdat-k37.103.503Google hanout vuong-quocdat-k37.103.503
Google hanout vuong-quocdat-k37.103.503
A Dài
 
Using Personalisation To Reduce The Friction
Using Personalisation To Reduce The FrictionUsing Personalisation To Reduce The Friction
Using Personalisation To Reduce The Friction
Sagittarius
 
For your eyes only
For your eyes onlyFor your eyes only
For your eyes only
emilianoguzmanarbelaez
 
γαλλική επανάσταση
γαλλική επανάστασηγαλλική επανάσταση
γαλλική επανάσταση
sotirisgar
 
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ruDmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
Laboratory of Information Science and Semantic Technologies
 
Gridded precipitation
Gridded precipitationGridded precipitation
Gridded precipitation
Sikandar Ali
 
MENGATAHUI WEBSITE SLIDESHARE YANG ASLI
MENGATAHUI WEBSITE SLIDESHARE YANG ASLIMENGATAHUI WEBSITE SLIDESHARE YANG ASLI
MENGATAHUI WEBSITE SLIDESHARE YANG ASLI
nusli_kanaha
 
затраты в условиях кризиса
затраты в условиях кризисазатраты в условиях кризиса
затраты в условиях кризисаIgor Iakovliev
 
Immune system
Immune systemImmune system
Immune system
rtmallor
 
ιουστινιανός και το έργο του
ιουστινιανός και το έργο τουιουστινιανός και το έργο του
ιουστινιανός και το έργο του
sotirisgar
 
диверсификация рисков и экономическая безопасность
диверсификация рисков и экономическая безопасностьдиверсификация рисков и экономическая безопасность
диверсификация рисков и экономическая безопасностьIgor Iakovliev
 
Presentatie waaron linda
Presentatie waaron lindaPresentatie waaron linda
Presentatie waaron linda
WaaromLinda
 

Viewers also liked (19)

Increase your sales and profits online
Increase your sales and profits onlineIncrease your sales and profits online
Increase your sales and profits online
 
Concordias Starta eget temadag 8.11.2014
Concordias Starta eget temadag 8.11.2014Concordias Starta eget temadag 8.11.2014
Concordias Starta eget temadag 8.11.2014
 
Pietarsaaren seutu - tilastotietoa seutukunnasta
Pietarsaaren seutu - tilastotietoa seutukunnastaPietarsaaren seutu - tilastotietoa seutukunnasta
Pietarsaaren seutu - tilastotietoa seutukunnasta
 
Executive Insight
Executive InsightExecutive Insight
Executive Insight
 
Tales From A Specialist Tour Operator
Tales From A Specialist Tour OperatorTales From A Specialist Tour Operator
Tales From A Specialist Tour Operator
 
Python WATs: Uncovering Odd Behavior
Python WATs: Uncovering Odd BehaviorPython WATs: Uncovering Odd Behavior
Python WATs: Uncovering Odd Behavior
 
Life quality 2040 Presentation
Life quality 2040 PresentationLife quality 2040 Presentation
Life quality 2040 Presentation
 
Google hanout vuong-quocdat-k37.103.503
Google hanout vuong-quocdat-k37.103.503Google hanout vuong-quocdat-k37.103.503
Google hanout vuong-quocdat-k37.103.503
 
Using Personalisation To Reduce The Friction
Using Personalisation To Reduce The FrictionUsing Personalisation To Reduce The Friction
Using Personalisation To Reduce The Friction
 
For your eyes only
For your eyes onlyFor your eyes only
For your eyes only
 
γαλλική επανάσταση
γαλλική επανάστασηγαλλική επανάσταση
γαλλική επανάσταση
 
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ruDmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
Dmitry Mouromtsev. eLearning System. Openedu.ifmo.ru
 
Gridded precipitation
Gridded precipitationGridded precipitation
Gridded precipitation
 
MENGATAHUI WEBSITE SLIDESHARE YANG ASLI
MENGATAHUI WEBSITE SLIDESHARE YANG ASLIMENGATAHUI WEBSITE SLIDESHARE YANG ASLI
MENGATAHUI WEBSITE SLIDESHARE YANG ASLI
 
затраты в условиях кризиса
затраты в условиях кризисазатраты в условиях кризиса
затраты в условиях кризиса
 
Immune system
Immune systemImmune system
Immune system
 
ιουστινιανός και το έργο του
ιουστινιανός και το έργο τουιουστινιανός και το έργο του
ιουστινιανός και το έργο του
 
диверсификация рисков и экономическая безопасность
диверсификация рисков и экономическая безопасностьдиверсификация рисков и экономическая безопасность
диверсификация рисков и экономическая безопасность
 
Presentatie waaron linda
Presentatie waaron lindaPresentatie waaron linda
Presentatie waaron linda
 

Similar to replacing `import` with `accio`

Migrate to Python 3 using the six library
Migrate to Python 3 using the six libraryMigrate to Python 3 using the six library
Migrate to Python 3 using the six library
Cesar Cardenas Desales
 
Replacing `import` with `accio` in cpython
Replacing `import` with `accio` in cpythonReplacing `import` with `accio` in cpython
Replacing `import` with `accio` in cpython
Amy Hanlon
 
Turn your spaghetti code into ravioli with JavaScript modules
Turn your spaghetti code into ravioli with JavaScript modulesTurn your spaghetti code into ravioli with JavaScript modules
Turn your spaghetti code into ravioli with JavaScript modules
jerryorr
 
Akka persistence == event sourcing in 30 minutes
Akka persistence == event sourcing in 30 minutesAkka persistence == event sourcing in 30 minutes
Akka persistence == event sourcing in 30 minutes
Konrad Malawski
 
Python Peculiarities
Python PeculiaritiesPython Peculiarities
Python Peculiarities
noamt
 
λ | Lenses
λ | Lensesλ | Lenses
λ | Lenses
Open-IT
 
F# at GameSys
F# at GameSysF# at GameSys
F# at GameSys
Yan Cui
 
Go Containers
Go ContainersGo Containers
Go Containers
jgrahamc
 
Go Containers
Go ContainersGo Containers
Go Containers
Cloudflare
 
F# in the Real World (DDD EA)
F# in the Real World (DDD EA)F# in the Real World (DDD EA)
F# in the Real World (DDD EA)
Yan Cui
 
Parse Everything With Elixir
Parse Everything With ElixirParse Everything With Elixir
Parse Everything With Elixir
Gabriele Lana
 
JVMLS 2016. Coroutines in Kotlin
JVMLS 2016. Coroutines in KotlinJVMLS 2016. Coroutines in Kotlin
JVMLS 2016. Coroutines in Kotlin
Andrey Breslav
 
Learn You a Functional JavaScript for Great Good
Learn You a Functional JavaScript for Great GoodLearn You a Functional JavaScript for Great Good
Learn You a Functional JavaScript for Great Good
Mike Harris
 
Idioms in swift 2016 05c
Idioms in swift 2016 05cIdioms in swift 2016 05c
Idioms in swift 2016 05c
Kaz Yoshikawa
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
Loiane Groner
 
Beautiful python - PyLadies
Beautiful python - PyLadiesBeautiful python - PyLadies
Beautiful python - PyLadies
Alicia Pérez
 
2013-06-25 - HTML5 & JavaScript Security
2013-06-25 - HTML5 & JavaScript Security2013-06-25 - HTML5 & JavaScript Security
2013-06-25 - HTML5 & JavaScript Security
Johannes Hoppe
 
Live Updating Swift Code
Live Updating Swift CodeLive Updating Swift Code
Live Updating Swift Code
Bartosz Polaczyk
 
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!..."A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
akaptur
 
HadoopとMongoDBを活用したソーシャルアプリのログ解析
HadoopとMongoDBを活用したソーシャルアプリのログ解析HadoopとMongoDBを活用したソーシャルアプリのログ解析
HadoopとMongoDBを活用したソーシャルアプリのログ解析
Takahiro Inoue
 

Similar to replacing `import` with `accio` (20)

Migrate to Python 3 using the six library
Migrate to Python 3 using the six libraryMigrate to Python 3 using the six library
Migrate to Python 3 using the six library
 
Replacing `import` with `accio` in cpython
Replacing `import` with `accio` in cpythonReplacing `import` with `accio` in cpython
Replacing `import` with `accio` in cpython
 
Turn your spaghetti code into ravioli with JavaScript modules
Turn your spaghetti code into ravioli with JavaScript modulesTurn your spaghetti code into ravioli with JavaScript modules
Turn your spaghetti code into ravioli with JavaScript modules
 
Akka persistence == event sourcing in 30 minutes
Akka persistence == event sourcing in 30 minutesAkka persistence == event sourcing in 30 minutes
Akka persistence == event sourcing in 30 minutes
 
Python Peculiarities
Python PeculiaritiesPython Peculiarities
Python Peculiarities
 
λ | Lenses
λ | Lensesλ | Lenses
λ | Lenses
 
F# at GameSys
F# at GameSysF# at GameSys
F# at GameSys
 
Go Containers
Go ContainersGo Containers
Go Containers
 
Go Containers
Go ContainersGo Containers
Go Containers
 
F# in the Real World (DDD EA)
F# in the Real World (DDD EA)F# in the Real World (DDD EA)
F# in the Real World (DDD EA)
 
Parse Everything With Elixir
Parse Everything With ElixirParse Everything With Elixir
Parse Everything With Elixir
 
JVMLS 2016. Coroutines in Kotlin
JVMLS 2016. Coroutines in KotlinJVMLS 2016. Coroutines in Kotlin
JVMLS 2016. Coroutines in Kotlin
 
Learn You a Functional JavaScript for Great Good
Learn You a Functional JavaScript for Great GoodLearn You a Functional JavaScript for Great Good
Learn You a Functional JavaScript for Great Good
 
Idioms in swift 2016 05c
Idioms in swift 2016 05cIdioms in swift 2016 05c
Idioms in swift 2016 05c
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
 
Beautiful python - PyLadies
Beautiful python - PyLadiesBeautiful python - PyLadies
Beautiful python - PyLadies
 
2013-06-25 - HTML5 & JavaScript Security
2013-06-25 - HTML5 & JavaScript Security2013-06-25 - HTML5 & JavaScript Security
2013-06-25 - HTML5 & JavaScript Security
 
Live Updating Swift Code
Live Updating Swift CodeLive Updating Swift Code
Live Updating Swift Code
 
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!..."A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
"A 1,500 line (!!) switch statement powers your Python!" - Allison Kaptur, !!...
 
HadoopとMongoDBを活用したソーシャルアプリのログ解析
HadoopとMongoDBを活用したソーシャルアプリのログ解析HadoopとMongoDBを活用したソーシャルアプリのログ解析
HadoopとMongoDBを活用したソーシャルアプリのログ解析
 

Recently uploaded

Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
maazsz111
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 

Recently uploaded (20)

Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 

replacing `import` with `accio`