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
6a59b70c
Kaydet (Commit)
6a59b70c
authored
Mar 05, 2012
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge 3.2
üst
80f7102d
420f698d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
15 deletions
+24
-15
advocacy.rst
Doc/howto/advocacy.rst
+1
-2
cporting.rst
Doc/howto/cporting.rst
+2
-2
regex.rst
Doc/howto/regex.rst
+2
-2
markup.rst
Doc/library/markup.rst
+2
-2
bdist_msi.py
Lib/distutils/command/bdist_msi.py
+1
-1
test_bdist_msi.py
Lib/distutils/tests/test_bdist_msi.py
+13
-5
server.py
Lib/xmlrpc/server.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/howto/advocacy.rst
Dosyayı görüntüle @
6a59b70c
...
...
@@ -264,8 +264,7 @@ the organizations that use Python.
**What are the restrictions on Python's use?**
They're practically nonexistent. Consult the :file:`Misc/COPYRIGHT` file in the
source distribution, or the section :ref:`history-and-license` for the full
They're practically nonexistent. Consult :ref:`history-and-license` for the full
language, but it boils down to three conditions:
* You have to leave the copyright notice on the software; if you don't include
...
...
Doc/howto/cporting.rst
Dosyayı görüntüle @
6a59b70c
...
...
@@ -261,8 +261,8 @@ behave slightly differently from real Capsules. Specifically:
copy as you see fit.)
You can find :file:`capsulethunk.h` in the Python source distribution
in the :file:`Doc/includes` directory
. We also include it here for
your
reference; here is :file:`capsulethunk.h`
:
as :source:`Doc/includes/capsulethunk.h`
. We also include it here for
your
convenience
:
.. literalinclude:: ../includes/capsulethunk.h
...
...
Doc/howto/regex.rst
Dosyayı görüntüle @
6a59b70c
...
...
@@ -360,7 +360,7 @@ and more.
You can learn about this by interactively experimenting with the :mod:`re`
module. If you have :mod:`tkinter` available, you may also want to look at
:
fil
e:`Tools/demo/redemo.py`, a demonstration program included with the
:
sourc
e:`Tools/demo/redemo.py`, a demonstration program included with the
Python distribution. It allows you to enter REs and strings, and displays
whether the RE matches or fails. :file:`redemo.py` can be quite useful when
trying to debug a complicated RE. Phil Schwartz's `Kodos
...
...
@@ -495,7 +495,7 @@ more convenient. If a program contains a lot of regular expressions, or re-uses
the same ones in several locations, then it might be worthwhile to collect all
the definitions in one place, in a section of code that compiles all the REs
ahead of time. To take an example from the standard library, here's an extract
from the now
deprecated :file:`xmllib.py`
::
from the now
-defunct Python 2 standard :mod:`xmllib` module
::
ref = re.compile( ... )
entityref = re.compile( ... )
...
...
Doc/library/markup.rst
Dosyayı görüntüle @
6a59b70c
...
...
@@ -23,7 +23,7 @@ definition of the Python bindings for the DOM and SAX interfaces.
html.rst
html.parser.rst
html.entities.rst
pyexpat
.rst
xml.etree.elementtree
.rst
xml.dom.rst
xml.dom.minidom.rst
xml.dom.pulldom.rst
...
...
@@ -31,4 +31,4 @@ definition of the Python bindings for the DOM and SAX interfaces.
xml.sax.handler.rst
xml.sax.utils.rst
xml.sax.reader.rst
xml.etree.elementtree
.rst
pyexpat
.rst
Lib/distutils/command/bdist_msi.py
Dosyayı görüntüle @
6a59b70c
...
...
@@ -260,7 +260,7 @@ class bdist_msi(Command):
self
.
db
.
Commit
()
if
hasattr
(
self
.
distribution
,
'dist_files'
):
tup
=
'bdist_msi'
,
self
.
target_version
or
'any'
,
full
name
tup
=
'bdist_msi'
,
self
.
target_version
or
'any'
,
installer_
name
self
.
distribution
.
dist_files
.
append
(
tup
)
if
not
self
.
keep_temp
:
...
...
Lib/distutils/tests/test_bdist_msi.py
Dosyayı görüntüle @
6a59b70c
"""Tests for distutils.command.bdist_msi."""
import
unittest
import
sys
import
unittest
from
test.support
import
run_unittest
from
distutils.tests
import
support
@unittest.skipUnless
(
sys
.
platform
==
"win32"
,
"These tests are only for win32"
)
@unittest.skipUnless
(
sys
.
platform
==
'win32'
,
'these tests require Windows'
)
class
BDistMSITestCase
(
support
.
TempdirManager
,
support
.
LoggingSilencer
,
unittest
.
TestCase
):
...
...
@@ -14,9 +13,18 @@ class BDistMSITestCase(support.TempdirManager,
def
test_minimal
(
self
):
# minimal test XXX need more tests
from
distutils.command.bdist_msi
import
bdist_msi
p
kg_pth
,
dist
=
self
.
create_dist
()
p
roject_dir
,
dist
=
self
.
create_dist
()
cmd
=
bdist_msi
(
dist
)
cmd
.
ensure_finalized
()
cmd
.
run
()
bdists
=
os
.
listdir
(
os
.
path
.
join
(
project_dir
,
'dist'
))
self
.
assertEqual
(
bdists
,
[
'foo-0.1.msi'
])
# bug #13719: upload ignores bdist_msi files
self
.
assertEqual
(
dist
.
dist_files
,
[(
'bdist_msi'
,
'any'
,
'dist/foo-0.1.msi'
)])
def
test_suite
():
return
unittest
.
makeSuite
(
BDistMSITestCase
)
...
...
Lib/xmlrpc/server.py
Dosyayı görüntüle @
6a59b70c
"""XML-RPC Servers.
r
"""XML-RPC Servers.
This module can be used to create simple XML-RPC servers
by creating a server and either installing functions, a
...
...
Misc/NEWS
Dosyayı görüntüle @
6a59b70c
...
...
@@ -13,6 +13,8 @@ Core and Builtins
Library
-------
- Issue #13719: Make the distutils upload command aware of bdist_msi products.
- Issue #14007: Accept incomplete TreeBuilder objects (missing start, end,
data or close method) for the Python implementation as well.
Drop the no-op TreeBuilder().xml() method from the C implementation.
...
...
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