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
8bad993d
Kaydet (Commit)
8bad993d
authored
Şub 28, 2001
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add description of PEP235
Remove references to 2.1alpha Update description of PEP229
üst
3756fa3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
whatsnew21.tex
Doc/whatsnew/whatsnew21.tex
+23
-19
No files found.
Doc/whatsnew/whatsnew21.tex
Dosyayı görüntüle @
8bad993d
...
@@ -34,9 +34,8 @@ provides an overview of the new features for Python programmers.
...
@@ -34,9 +34,8 @@ provides an overview of the new features for Python programmers.
Refer to the Python 2.1 documentation, or to the specific PEP, for
Refer to the Python 2.1 documentation, or to the specific PEP, for
more details about any new feature that particularly interests you.
more details about any new feature that particularly interests you.
Currently 2.1 is available in an alpha release, but the release
Currently 2.1 is available in a beta release, and the final release is
schedule calls for a beta release by late February 2001, and a final
planned for April 2001.
release in April 2001.
%======================================================================
%======================================================================
\section
{
PEP 227: Nested Scopes
}
\section
{
PEP 227: Nested Scopes
}
...
@@ -308,25 +307,18 @@ Instead of having to edit the \file{Modules/Setup} file in order to
...
@@ -308,25 +307,18 @@ Instead of having to edit the \file{Modules/Setup} file in order to
enable modules, a
\file
{
setup.py
}
script in the top directory of the
enable modules, a
\file
{
setup.py
}
script in the top directory of the
Python source distribution is run at build time, and attempts to
Python source distribution is run at build time, and attempts to
discover which modules can be enabled by examining the modules and
discover which modules can be enabled by examining the modules and
header files on the system. In 2.1alpha1, there's very little you can
header files on the system. If a module is configured in
do to change
\file
{
setup.py
}
's behaviour, or to discover why a given
\file
{
Modules/Setup
}
, the
\file
{
setup.py
}
script won't attempt to
module isn't compiled. If you run into problems in 2.1alpha1, please
compile that module and will defer to the
\file
{
Modules/Setup
}
file's
report them, and be prepared to dive into
\file
{
setup.py
}
in order to
contents. This provides a way to specific any strange command-line
fix autodetection of a given library on your system. In the alpha2
flags or libraries that are required for a specific platform.
release I plan to add ways to have more control over what the script
does (probably command-line arguments to
\file
{
configure
}
or to
\file
{
setup.py
}
).
If it turns out to be impossible to make autodetection work reliably,
it's possible that this change may become an optional build method
instead of the default, or it may even be backed out completely.
In another far-reaching change to the build mechanism, Neil
In another far-reaching change to the build mechanism, Neil
Schemenauer restructured things so Python now uses a single makefile
Schemenauer restructured things so Python now uses a single makefile
that isn't recursive, instead of makefiles in the top directory and in
that isn't recursive, instead of makefiles in the top directory and in
each of the
Python/, Parser/, Objects/, and Modules/ subdirectories.
each of the
\file
{
Python/
}
,
\file
{
Parser/
}
,
\file
{
Objects/
}
, and
This makes building Python faster, and also makes the build process
\file
{
Modules/
}
subdirectories. This makes building Python faster
clearer and simpler.
and also makes hacking the Makefiles
clearer and simpler.
\begin{seealso}
\begin{seealso}
...
@@ -429,7 +421,19 @@ Fred~L. Drake,~Jr.}
...
@@ -429,7 +421,19 @@ Fred~L. Drake,~Jr.}
%======================================================================
%======================================================================
\section
{
PEP 235: Case-Insensitive Platforms and
\keyword
{
import
}}
\section
{
PEP 235: Case-Insensitive Platforms and
\keyword
{
import
}}
XXX
Some operating systems have filesystems that are case-insensitive,
MacOS and Windows being the primary examples; on these systems, it's
impossible to distinguish the filenames
\samp
{
FILE.PY
}
and
\samp
{
file.py
}
, even though they do store the file's name
in its original case (they're case-preserving, too).
In Python 2.1, the
\keyword
{
import
}
statement will work to simulate
case-sensitivity on case-insensitive platforms. Python will now
search for the first case-sensitive match by default, raising an
\exception
{
ImportError
}
if no such file is found, so
\code
{
import file
}
will not import a module named
\samp
{
FILE.PY
}
. Case-insensitive
matching can be requested by setting the PYTHONCASEOK environment
variable before starting the Python interpreter.
%======================================================================
%======================================================================
\section
{
PEP 217: Interactive Display Hook
}
\section
{
PEP 217: Interactive Display Hook
}
...
...
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