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
19ab0fd4
Kaydet (Commit)
19ab0fd4
authored
Eyl 07, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #27731: Opt-out of MAX_PATH on Windows 10
üst
437df905
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
3 deletions
+37
-3
windows.rst
Doc/using/windows.rst
+25
-0
3.6.rst
Doc/whatsnew/3.6.rst
+4
-1
NEWS
Misc/NEWS
+2
-0
python.manifest
PC/python.manifest
+6
-2
No files found.
Doc/using/windows.rst
Dosyayı görüntüle @
19ab0fd4
...
...
@@ -74,6 +74,31 @@ installation". In this case:
* If selected, the install directory will be added to the system :envvar:`PATH`
* Shortcuts are available for all users
.. _max-path:
Removing the MAX_PATH Limitation
--------------------------------
Windows historically has limited path lengths to 260 characters. This meant that
paths longer than this would not resolve and errors would result.
In the latest versions of Windows, this limitation can be expanded to
approximately 32,000 characters. Your administrator will need to activate the
"Enable Win32 long paths" group policy, or set the registry value
``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled``
to ``1``.
This allows the :func:`open` function, the :mod:`os` module and most other
path functionality to accept and return paths longer than 260 characters when
using strings. (Use of bytes as paths is deprecated on Windows, and this feature
is not available when using bytes.)
After changing the above option, no further configuration is required.
.. versionchanged:: 3.6
Support for long paths was enabled in Python.
.. _install-quiet-option:
Installing Without UI
...
...
Doc/whatsnew/3.6.rst
Dosyayı görüntüle @
19ab0fd4
...
...
@@ -83,6 +83,10 @@ Windows improvements:
command line arguments or a config file). Handling of shebang lines
remains unchanged - "python" refers to Python 2 in that case.
* ``python.exe`` and ``pythonw.exe`` have been marked as long-path aware,
which means that when the 260 character path limit may no longer apply.
See :ref:`removing the MAX_PATH limitation <max-path>` for details.
.. PEP-sized items next.
.. _pep-4XX:
...
...
@@ -507,7 +511,6 @@ The Linux ``getrandom()`` syscall (get random bytes) is now exposed as the new
:func:`os.getrandom` function.
(Contributed by Victor Stinner, part of the :pep:`524`)
pickle
------
...
...
Misc/NEWS
Dosyayı görüntüle @
19ab0fd4
...
...
@@ -237,6 +237,8 @@ Build
Windows
-------
-
Issue
#
27731
:
Opt
-
out
of
MAX_PATH
on
Windows
10
-
Issue
#
6135
:
Adds
encoding
and
errors
parameters
to
subprocess
.
-
Issue
#
27959
:
Adds
oem
encoding
,
alias
ansi
to
mbcs
,
move
aliasmbcs
to
...
...
PC/python.manifest
Dosyayı görüntüle @
19ab0fd4
...
...
@@ -16,10 +16,15 @@
<supportedOS
Id=
"{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"
/>
</application>
</compatibility>
<application
xmlns=
"urn:schemas-microsoft-com:asm.v3"
>
<windowsSettings>
<longPathAware
xmlns=
"http://schemas.microsoft.com/SMI/2016/WindowsSettings"
>
true
</longPathAware>
</windowsSettings>
</application>
<dependency>
<dependentAssembly>
<assemblyIdentity
type=
"win32"
name=
"Microsoft.Windows.Common-Controls"
version=
"6.0.0.0"
processorArchitecture=
"*"
publicKeyToken=
"6595b64144ccf1df"
language=
"*"
/>
</dependentAssembly>
</dependency>
</assembly>
\ No newline at end of file
</assembly>
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