summaryrefslogtreecommitdiff
path: root/lib/python2.7/plat-mac/icopen.pyo
blob: a134d3bd0420dac7fc2d4a7c0e98ea3d0e16c6ef (plain)
ofshex dumpascii
0000 03 f3 0d 0a 5d 5c ac 51 63 00 00 00 00 00 00 00 00 04 00 00 00 40 00 00 00 73 60 00 00 00 64 00 ....]\.Qc............@...s`...d.
0020 00 5a 00 00 64 01 00 64 02 00 6c 01 00 6d 02 00 5a 02 00 01 65 02 00 64 03 00 64 04 00 64 05 00 .Z..d..d..l..m..Z...e..d..d..d..
0040 83 01 01 01 64 01 00 64 06 00 6c 03 00 5a 03 00 65 04 00 83 00 00 6a 05 00 64 07 00 65 03 00 6a ....d..d..l..Z..e.....j..d..e..j
0060 06 00 83 02 00 5a 07 00 64 08 00 84 00 00 5a 08 00 65 08 00 65 03 00 5f 06 00 64 06 00 53 28 09 .....Z..d.....Z..e..e.._..d..S(.
0080 00 00 00 73 59 05 00 00 69 63 6f 70 65 6e 20 70 61 74 63 68 0a 0a 4f 56 45 52 56 49 45 57 0a 0a ...sY...icopen.patch..OVERVIEW..
00a0 69 63 6f 70 65 6e 20 70 61 74 63 68 65 73 20 4d 61 63 4f 53 20 50 79 74 68 6f 6e 20 74 6f 20 75 icopen.patches.MacOS.Python.to.u
00c0 73 65 20 74 68 65 20 49 6e 74 65 72 6e 65 74 20 43 6f 6e 66 69 67 20 66 69 6c 65 20 6d 61 70 70 se.the.Internet.Config.file.mapp
00e0 69 6e 67 73 20 74 6f 20 73 65 6c 65 63 74 0a 74 68 65 20 74 79 70 65 20 61 6e 64 20 63 72 65 61 ings.to.select.the.type.and.crea
0100 74 6f 72 20 66 6f 72 20 61 20 66 69 6c 65 2e 0a 0a 56 65 72 73 69 6f 6e 20 31 20 72 65 6c 65 61 tor.for.a.file...Version.1.relea
0120 73 65 64 20 74 6f 20 74 68 65 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e 20 33 20 4e 6f 76 65 6d sed.to.the.public.domain.3.Novem
0140 62 65 72 20 31 39 39 39 0a 62 79 20 4f 6c 69 76 65 72 20 53 74 65 65 6c 65 20 28 73 74 65 65 6c ber.1999.by.Oliver.Steele.(steel
0160 65 40 63 73 2e 62 72 61 6e 64 65 69 73 2e 65 64 75 29 2e 0a 0a 44 45 54 41 49 4c 53 0a 0a 54 68 e@cs.brandeis.edu)...DETAILS..Th
0180 69 73 20 70 61 74 63 68 20 63 61 75 73 65 73 20 66 69 6c 65 73 20 63 72 65 61 74 65 64 20 62 79 is.patch.causes.files.created.by
01a0 20 50 79 74 68 6f 6e 27 73 20 6f 70 65 6e 28 66 69 6c 65 6e 61 6d 65 2c 20 27 77 27 29 20 63 6f .Python's.open(filename,.'w').co
01c0 6d 6d 61 6e 64 20 28 61 6e 64 0a 62 79 20 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 73 63 72 69 mmand.(and.by.functions.and.scri
01e0 70 74 73 20 74 68 61 74 20 63 61 6c 6c 20 69 74 29 20 74 6f 20 73 65 74 20 74 68 65 20 74 79 70 pts.that.call.it).to.set.the.typ
0200 65 20 61 6e 64 20 63 72 65 61 74 6f 72 20 6f 66 20 74 68 65 20 66 69 6c 65 0a 74 6f 20 74 68 65 e.and.creator.of.the.file.to.the
0220 20 74 79 70 65 20 61 6e 64 20 63 72 65 61 74 6f 72 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 .type.and.creator.associated.wit
0240 68 20 66 69 6c 65 6e 61 6d 65 27 73 20 65 78 74 65 6e 73 69 6f 6e 20 28 74 68 65 0a 70 6f 72 74 h.filename's.extension.(the.port
0260 69 6f 6e 20 6f 66 20 74 68 65 20 66 69 6c 65 6e 61 6d 65 20 61 66 74 65 72 20 74 68 65 20 6c 61 ion.of.the.filename.after.the.la
0280 73 74 20 70 65 72 69 6f 64 29 2c 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 49 6e 74 65 72 6e 65 st.period),.according.to.Interne
02a0 74 20 43 6f 6e 66 69 67 2e 0a 54 68 75 73 2c 20 61 20 73 63 72 69 70 74 20 74 68 61 74 20 63 72 t.Config..Thus,.a.script.that.cr
02c0 65 61 74 65 73 20 61 20 66 69 6c 65 20 66 6f 6f 2e 68 74 6d 6c 20 77 69 6c 6c 20 63 72 65 61 74 eates.a.file.foo.html.will.creat
02e0 65 20 6f 6e 65 20 74 68 61 74 20 6f 70 65 6e 73 20 69 6e 20 77 68 61 74 65 76 65 72 0a 62 72 6f e.one.that.opens.in.whatever.bro
0300 77 73 65 72 20 79 6f 75 27 76 65 20 73 65 74 20 74 6f 20 68 61 6e 64 6c 65 20 2a 2e 68 74 6d 6c wser.you've.set.to.handle.*.html
0320 20 66 69 6c 65 73 2c 20 61 6e 64 20 73 6f 20 6f 6e 2e 0a 0a 50 79 74 68 6f 6e 20 49 44 45 20 75 .files,.and.so.on...Python.IDE.u
0340 73 65 73 20 69 74 73 20 6f 77 6e 20 61 6c 67 6f 72 69 74 68 6d 20 74 6f 20 73 65 6c 65 63 74 20 ses.its.own.algorithm.to.select.
0360 74 68 65 20 74 79 70 65 20 61 6e 64 20 63 72 65 61 74 6f 72 20 66 6f 72 20 73 61 76 65 64 0a 65 the.type.and.creator.for.saved.e
0380 64 69 74 6f 72 20 77 69 6e 64 6f 77 73 2c 20 73 6f 20 74 68 69 73 20 70 61 74 63 68 20 77 6f 6e ditor.windows,.so.this.patch.won
03a0 27 74 20 65 66 66 65 63 74 20 74 68 65 69 72 20 74 79 70 65 73 2e 0a 0a 41 73 20 6f 66 20 53 79 't.effect.their.types...As.of.Sy
03c0 73 74 65 6d 20 38 2e 36 20 61 74 20 6c 65 61 73 74 2c 20 49 6e 74 65 72 6e 65 74 20 43 6f 6e 66 stem.8.6.at.least,.Internet.Conf
03e0 69 67 20 69 73 20 62 75 69 6c 74 20 69 6e 74 6f 20 74 68 65 20 73 79 73 74 65 6d 2c 20 61 6e 64 ig.is.built.into.the.system,.and
0400 20 74 68 65 0a 66 69 6c 65 20 6d 61 70 70 69 6e 67 73 20 61 72 65 20 61 63 63 65 73 73 65 64 20 .the.file.mappings.are.accessed.
0420 66 72 6f 6d 20 74 68 65 20 41 64 76 61 6e 63 65 64 20 70 61 6e 65 20 6f 66 20 74 68 65 20 49 6e from.the.Advanced.pane.of.the.In
0440 74 65 72 6e 65 74 20 63 6f 6e 74 72 6f 6c 0a 70 61 6e 65 6c 2e 20 20 55 73 65 72 20 4d 6f 64 65 ternet.control.panel...User.Mode
0460 20 28 69 6e 20 74 68 65 20 45 64 69 74 20 6d 65 6e 75 29 20 6e 65 65 64 73 20 74 6f 20 62 65 20 .(in.the.Edit.menu).needs.to.be.
0480 73 65 74 20 74 6f 20 41 64 76 61 6e 63 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 0a 61 63 63 65 set.to.Advanced.in.order.to.acce
04a0 73 73 20 74 68 69 73 20 70 61 6e 65 2e 0a 0a 49 4e 53 54 41 4c 4c 41 54 49 4f 4e 0a 0a 50 75 74 ss.this.pane...INSTALLATION..Put
04c0 20 74 68 69 73 20 66 69 6c 65 20 69 6e 20 79 6f 75 72 20 50 79 74 68 6f 6e 20 70 61 74 68 2c 20 .this.file.in.your.Python.path,.
04e0 61 6e 64 20 63 72 65 61 74 65 20 61 20 66 69 6c 65 20 6e 61 6d 65 64 20 7b 50 79 74 68 6f 6e 7d and.create.a.file.named.{Python}
0500 3a 73 69 74 65 63 75 73 74 6f 6d 69 7a 65 2e 70 79 0a 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 3a :sitecustomize.py.that.contains:
0520 0a 20 20 20 20 20 20 20 20 69 6d 70 6f 72 74 20 69 63 6f 70 65 6e 0a 0a 28 49 66 20 7b 50 79 74 .........import.icopen..(If.{Pyt
0540 68 6f 6e 7d 3a 73 69 74 65 63 75 73 74 6f 6d 69 7a 65 72 2e 70 79 20 61 6c 72 65 61 64 79 20 65 hon}:sitecustomizer.py.already.e
0560 78 69 73 74 73 2c 20 6a 75 73 74 20 61 64 64 20 74 68 65 20 27 69 6d 70 6f 72 74 27 20 6c 69 6e xists,.just.add.the.'import'.lin
0580 65 20 74 6f 20 69 74 2e 29 0a 0a 54 68 65 20 6e 65 78 74 20 74 69 6d 65 20 79 6f 75 20 6c 61 75 e.to.it.)..The.next.time.you.lau
05a0 6e 63 68 20 50 79 74 68 6f 6e 49 6e 74 65 72 70 72 65 74 65 72 20 6f 72 20 50 79 74 68 6f 6e 20 nch.PythonInterpreter.or.Python.
05c0 49 44 45 2c 20 74 68 65 20 70 61 74 63 68 20 77 69 6c 6c 20 74 61 6b 65 0a 65 66 66 65 63 74 2e IDE,.the.patch.will.take.effect.
05e0 0a 69 ff ff ff ff 28 01 00 00 00 74 08 00 00 00 77 61 72 6e 70 79 33 6b 73 25 00 00 00 49 6e 20 .i....(....t....warnpy3ks%...In.
0600 33 2e 78 2c 20 74 68 65 20 69 63 6f 70 65 6e 20 6d 6f 64 75 6c 65 20 69 73 20 72 65 6d 6f 76 65 3.x,.the.icopen.module.is.remove
0620 64 2e 74 0a 00 00 00 73 74 61 63 6b 6c 65 76 65 6c 69 02 00 00 00 4e 74 0d 00 00 00 5f 62 75 69 d.t....stackleveli....Nt...._bui
0640 6c 74 69 6e 5f 6f 70 65 6e 63 00 00 00 00 06 00 00 00 05 00 00 00 47 00 00 00 73 82 00 00 00 74 ltin_openc............G...s....t
0660 00 00 7c 00 00 8c 00 00 7d 01 00 7c 00 00 64 01 00 19 7d 02 00 64 02 00 7d 03 00 7c 00 00 64 03 ..|.....}..|..d...}..d..}..|..d.
0680 00 1f 72 33 00 7c 00 00 64 03 00 19 7d 03 00 6e 00 00 7c 03 00 64 01 00 19 64 04 00 6b 02 00 72 ..r3.|..d...}..n..|..d...d..k..r
06a0 7e 00 64 05 00 64 06 00 6c 01 00 6d 02 00 7d 04 00 6d 03 00 7d 05 00 01 79 0e 00 7c 05 00 7c 02 ~.d..d..l..m..}..m..}...y..|..|.
06c0 00 83 01 00 01 57 71 7e 00 04 7c 04 00 6b 0a 00 72 7a 00 01 01 01 71 7e 00 58 6e 00 00 7c 01 00 .....Wq~..|..k..rz....q~.Xn..|..
06e0 53 28 07 00 00 00 4e 69 00 00 00 00 74 01 00 00 00 72 69 01 00 00 00 74 01 00 00 00 77 69 ff ff S(....Ni....t....ri....t....wi..
0700 ff ff 28 02 00 00 00 74 05 00 00 00 65 72 72 6f 72 74 0e 00 00 00 73 65 74 74 79 70 65 63 72 65 ..(....t....errort....settypecre
0720 61 74 6f 72 28 04 00 00 00 52 02 00 00 00 74 02 00 00 00 69 63 52 05 00 00 00 52 06 00 00 00 28 ator(....R....t....icR....R....(
0740 06 00 00 00 74 04 00 00 00 61 72 67 73 74 04 00 00 00 66 69 6c 65 74 08 00 00 00 66 69 6c 65 6e ....t....argst....filet....filen
0760 61 6d 65 74 04 00 00 00 6d 6f 64 65 52 05 00 00 00 52 06 00 00 00 28 00 00 00 00 28 00 00 00 00 amet....modeR....R....(....(....
0780 73 57 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 sW.../tmp/ndk-User/buildhost/ins
07a0 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f tall/prebuilt/darwin-x86_64/lib/
07c0 70 79 74 68 6f 6e 32 2e 37 2f 70 6c 61 74 2d 6d 61 63 2f 69 63 6f 70 65 6e 2e 70 79 74 10 00 00 python2.7/plat-mac/icopen.pyt...
07e0 00 5f 6f 70 65 6e 5f 77 69 74 68 5f 74 79 70 65 72 2f 00 00 00 73 18 00 00 00 00 01 0c 01 0a 01 ._open_with_typer/...s..........
0800 06 01 0a 01 0d 01 10 01 16 01 03 01 0e 01 0d 01 07 01 28 09 00 00 00 74 07 00 00 00 5f 5f 64 6f ..................(....t....__do
0820 63 5f 5f 74 08 00 00 00 77 61 72 6e 69 6e 67 73 52 00 00 00 00 74 0b 00 00 00 5f 5f 62 75 69 6c c__t....warningsR....t....__buil
0840 74 69 6e 5f 5f 74 07 00 00 00 67 6c 6f 62 61 6c 73 74 03 00 00 00 67 65 74 74 04 00 00 00 6f 70 tin__t....globalst....gett....op
0860 65 6e 52 02 00 00 00 52 0c 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 57 00 00 00 enR....R....(....(....(....sW...
0880 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f /tmp/ndk-User/buildhost/install/
08a0 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f prebuilt/darwin-x86_64/lib/pytho
08c0 6e 32 2e 37 2f 70 6c 61 74 2d 6d 61 63 2f 69 63 6f 70 65 6e 2e 70 79 74 08 00 00 00 3c 6d 6f 64 n2.7/plat-mac/icopen.pyt....<mod
08e0 75 6c 65 3e 26 00 00 00 73 0e 00 00 00 06 02 10 01 10 02 0c 02 18 02 09 0e 09 08 ule>&...s..................