Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
34f18fd7
Kaydet (Commit)
34f18fd7
authored
May 06, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Create a TextMate directory in Misc to house a Python-Dev bundle.
üst
c2ca6db1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
194 additions
and
0 deletions
+194
-0
2 to 3 - Module Deletion.tmCommand
...-Dev.tmbundle/Commands/2 to 3 - Module Deletion.tmCommand
+38
-0
Build Docs.tmCommand
...extMate/Python-Dev.tmbundle/Commands/Build Docs.tmCommand
+23
-0
Build.tmCommand
Misc/TextMate/Python-Dev.tmbundle/Commands/Build.tmCommand
+25
-0
Go to Issue.tmCommand
...xtMate/Python-Dev.tmbundle/Commands/Go to Issue.tmCommand
+20
-0
Open Docs.tmCommand
...TextMate/Python-Dev.tmbundle/Commands/Open Docs.tmCommand
+32
-0
Open PEP.tmCommand
.../TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand
+23
-0
info.plist
Misc/TextMate/Python-Dev.tmbundle/info.plist
+33
-0
No files found.
Misc/TextMate/Python-Dev.tmbundle/Commands/2 to 3 - Module Deletion.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
#!/usr/bin/python
template = """from warnings import warnpy3k
warnpy3k("the ${1:%s} module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
$0"""
import imp
import os
file_name = os.path.split(os.environ['TM_FILEPATH'])[1]
for suffix in (tuple_[0] for tuple_ in imp.get_suffixes()):
if not file_name.endswith(suffix):
continue
module_name = file_name[:-len(suffix)]
print (template % module_name),
break
else:
print (template % "XXX"),
</string>
<key>
input
</key>
<string>
none
</string>
<key>
name
</key>
<string>
2 to 3 - Module Deletion
</string>
<key>
output
</key>
<string>
insertAsSnippet
</string>
<key>
tabTrigger
</key>
<string>
2to3moddel
</string>
<key>
uuid
</key>
<string>
9519C22B-6AB8-41A1-94F6-079E0B45C147
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/Commands/Build Docs.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
# XXX Leopard-specific unless have easy way to specific alternative Python executable.
cd $TM_PROJECT_DIRECTORY/Doc
make html 2
>&
1 | pre
rescan_project
</string>
<key>
input
</key>
<string>
none
</string>
<key>
name
</key>
<string>
Build Docs
</string>
<key>
output
</key>
<string>
showAsHTML
</string>
<key>
uuid
</key>
<string>
6EF151E5-7149-4F82-8796-0CC40FE589FA
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/Commands/Build.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
# XXX TODO
# - Highlight any compiler warnings for Python code.
# - Point out if compile failed.
cd $TM_PROJECT_DIRECTORY
make -s -j2 2
>&
1 | pre
rescan_project
</string>
<key>
input
</key>
<string>
none
</string>
<key>
name
</key>
<string>
Build Python
</string>
<key>
output
</key>
<string>
showAsHTML
</string>
<key>
uuid
</key>
<string>
B545BB1B-A8E1-426C-B50A-426E78B96D38
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/Commands/Go to Issue.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
open "http://bugs.python.org/issue$(cat)"
</string>
<key>
fallbackInput
</key>
<string>
word
</string>
<key>
input
</key>
<string>
selection
</string>
<key>
name
</key>
<string>
Go to Issue
</string>
<key>
output
</key>
<string>
discard
</string>
<key>
uuid
</key>
<string>
FD25A8DC-22DC-4ED4-B222-B943C8A9117D
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/Commands/Open Docs.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
# Search order:
# - Current project.
# - TM_PYTHONDEV_DOCS.
# - Online docs in development.
html_index=$TM_PROJECT_DIRECTORY/Doc/build/html/index.html
if [[ -f $html_index ]]; then
open $html_index
elif [[ $TM_PYTHONDEV_DOCS ]]; then
open $TM_PYTHONDEV_DOCS
else
open http://docs.python.org/dev/
fi
</string>
<key>
input
</key>
<string>
none
</string>
<key>
keyEquivalent
</key>
<string>
@H
</string>
<key>
name
</key>
<string>
Open Docs
</string>
<key>
output
</key>
<string>
discard
</string>
<key>
uuid
</key>
<string>
BF336FFF-E14D-4BF1-A156-71CF768AC034
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand
0 → 100644
Dosyayı görüntüle @
34f18fd7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
beforeRunningCommand
</key>
<string>
nop
</string>
<key>
command
</key>
<string>
# XXX Worth supporting using a local copy?
# Dumb luck that an unrecognized number leads to a 0 being used.
open `printf "http://www.python.org/dev/peps/pep-%04d" $(cat)`
</string>
<key>
fallbackInput
</key>
<string>
word
</string>
<key>
input
</key>
<string>
selection
</string>
<key>
name
</key>
<string>
Open PEP
</string>
<key>
output
</key>
<string>
discard
</string>
<key>
uuid
</key>
<string>
EDBB037F-AAE3-4512-863F-D9AA82C9E51E
</string>
</dict>
</plist>
Misc/TextMate/Python-Dev.tmbundle/info.plist
0 → 100644
Dosyayı görüntüle @
34f18fd7
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
mainMenu
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
items
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
9519C22B-6AB8-41A1-94F6-079E0B45C147
<
/string
>
<
string
>
------------------------------------
<
/string
>
<
string
>
B545BB1B-A8E1-426C-B50A-426E78B96D38
<
/string
>
<
string
>
6EF151E5-7149-4F82-8796-0CC40FE589FA
<
/string
>
<
string
>
------------------------------------
<
/string
>
<
string
>
BF336FFF-E14D-4BF1-A156-71CF768AC034
<
/string
>
<
string
>
FD25A8DC-22DC-4ED4-B222-B943C8A9117D
<
/string
>
<
string
>
EDBB037F-AAE3-4512-863F-D9AA82C9E51E
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
submenus
<
/k
e
y
>
<
d
i
c
t/
>
<
/
d
i
c
t
>
<
k
e
y
>
name
<
/k
e
y
>
<
string
>
Python-Dev
<
/string
>
<
k
e
y
>
ordering
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
B545BB1B-A8E1-426C-B50A-426E78B96D38
<
/string
>
<
string
>
6EF151E5-7149-4F82-8796-0CC40FE589FA
<
/string
>
<
string
>
FD25A8DC-22DC-4ED4-B222-B943C8A9117D
<
/string
>
<
string
>
BF336FFF-E14D-4BF1-A156-71CF768AC034
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
uuid
<
/k
e
y
>
<
string
>
A932ECD1-D43A-4F57-B7FB-A1CEC3B65D20
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment