summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix another ResourceWarning in test_packaging.Ezio Melotti2011-05-202-1/+3
|
* Fix more ResourceWarnings in test_packaging moving the join() and ↵Ezio Melotti2011-05-201-6/+3
| | | | server_close() in the stop method.
* Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()Charles-François Natali2011-05-201-2/+18
| | | | accept and return str instead of bytes arrays. Add some more tests.
* Fix several ResourceWarnings in test_packaging.Ezio Melotti2011-05-201-1/+6
|
* (Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabledVictor Stinner2011-05-201-0/+6
|\
| * test_pydoc: skip PydocServerTest if thread support is disabledVictor Stinner2011-05-201-0/+6
| |
* | packaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMESVictor Stinner2011-05-191-4/+11
| |
* | fix packaging tests on Windows: use os.path.join() in glob patternsVictor Stinner2011-05-192-14/+16
| |
* | (Merge 3.2) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-17/+0
|\ \ | |/ | | | | zlib.decompress() anymore to be able to unload the module.
| * (Merge 3.1) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-17/+0
| |\ | | | | | | | | | zlib.decompress() anymore to be able to unload the module.
| | * Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-191-17/+0
| | | | | | | | | | | | to be able to unload the module.
| | * Ooops, add the missing file of the backport of commit 33543b4e0e5d from PythonVictor Stinner2011-05-181-0/+0
| | | | | | | | | | | | | | | 3.2 (#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.)
| | * Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, supportVictor Stinner2011-05-182-4/+33
| | | | | | | | | | | | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
* | | packaging: fix the constructor of FakePopenVictor Stinner2011-05-191-2/+8
| | | | | | | | | | | | packaging.util requires the env keyword.
* | | fix packaging.compiler.msvc9compiler: os.environ['path'] value is also a strVictor Stinner2011-05-191-2/+1
| | | | | | | | | | | | Don't encode the path list
* | | fix packaging.compiler.msvc9compiler: os.environ values are str, not bytesVictor Stinner2011-05-191-2/+2
| | |
* | | Issue #12112: fix the encoding of setup.py in the packaging moduleVictor Stinner2011-05-192-4/+7
| | | | | | | | | | | | | | | * read: use tokenize.detect_encoding() * write: use 'utf-8'
* | | Refactor a few tests to use the new requires_zlib decorator.Ezio Melotti2011-05-195-79/+49
| | |
* | | Skip tests that require zlib in the packaging tests. Also add a ↵Ezio Melotti2011-05-197-14/+41
| | | | | | | | | | | | requires_zlib decorator to test.support.
* | | Issue #12120, Issue #12119: tests were missing a sys.dont_write_bytecode checkTarek Ziade2011-05-192-2/+4
| | |
* | | removed unused method in packaging.createTarek Ziade2011-05-191-13/+0
| | |
* | | Issue #12112: packaging reads/writes metadata using UTF-8Victor Stinner2011-05-193-9/+9
| | |
* | | Issue #12112: packaging reads and writes setup.cfg using UTF-8Victor Stinner2011-05-195-11/+11
| | |
* | | package: replace open(fn, 'w').close() by open(fn, 'wb').close()Victor Stinner2011-05-195-6/+6
| | | | | | | | | | | | | | | We don't need to open the files in text mode just to create them (or update their modification time).
* | | packaging: use with open() instead of try/finally: closeVictor Stinner2011-05-1911-70/+42
| | |
* | | fixed the path splittingTarek Ziade2011-05-191-1/+2
| | |
* | | Issue #12115: skipping all tests that need threading under a threadless ↵Tarek Ziade2011-05-194-4/+35
| | | | | | | | | | | | environment
* | | Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packagingVictor Stinner2011-05-192-17/+38
| | | | | | | | | | | | | | | | | | build_scripts command of packaging now handles correctly non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
* | | packaging: don't use locale encoding to compute MD5 checksumsVictor Stinner2011-05-193-7/+7
| | | | | | | | | | | | Open the file in binary mode or use UTF-8 encoding.
* | | Issue #12113: make sure generated module is not reused on a second runTarek Ziade2011-05-191-6/+14
| | |
* | | make sure split() is called before the encodingTarek Ziade2011-05-191-1/+1
| | |
* | | Issue #12109 fixing typo in packaging's test_command_upload_docsTarek Ziade2011-05-191-2/+2
| | |
* | | initial import of the packaging package in the standard libraryTarek Ziade2011-05-19192-151/+30374
| | |
* | | os.sendfile() test: fix "AttributeError: 'NoneType' object has no attribute ↵Giampaolo Rodola'2011-05-181-73/+74
| | | | | | | | | | | | | | | | | | 'Thread'" when running tests with --without-threads option. reference: http://bugs.python.org/issue10882#msg136257
* | | Skip test_smtpnet when ssl is not availableAntoine Pitrou2011-05-181-1/+2
| | |
* | | Issue #12065: connect_ex() on an SSL socket now returns the original errnoAntoine Pitrou2011-05-182-11/+30
|\ \ \ | |/ / | | | | | | when the socket's timeout expires (it used to return None).
| * | Issue #12065: connect_ex() on an SSL socket now returns the original errnoAntoine Pitrou2011-05-182-11/+30
| | | | | | | | | | | | when the socket's timeout expires (it used to return None).
* | | Also protect ehlo() and quit() with the transient_internet() context managerAntoine Pitrou2011-05-181-8/+8
| | |
* | | Issue #8809: The SMTP_SSL constructor and SMTP.starttls() now supportAntoine Pitrou2011-05-182-6/+52
| | | | | | | | | | | | | | | passing a `context` argument pointing to an ssl.SSLContext instance. Patch by Kasun Herath.
* | | (Merge 3.2) Issue #12096: Fix a race condition inVictor Stinner2011-05-171-1/+1
|\ \ \ | |/ / | | | | | | test_threading.test_waitfor(). Patch written by Charles-François Natali.
| * | Issue #12096: Fix a race condition in test_threading.test_waitfor(). PatchVictor Stinner2011-05-171-1/+1
| | | | | | | | | | | | written by Charles-François Natali.
* | | Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5Ronald Oussoren2011-05-171-1/+18
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch IDLE will crash reliably on OSX when Tkinter is linked to TkCocoa 8.5.x. To reproduce: * Create a new file (script.py) with the following two lines: x = input('prompt: ') print(x) * Save the script * Run the script using the F5 keyboard shortcut (running from the menu works fine) The patch is a fairly crude hack, but we haven't found a better workaround for this Tk bug yet.
| * | Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5Ronald Oussoren2011-05-171-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch IDLE will crash reliably on OSX when Tkinter is linked to TkCocoa 8.5.x. To reproduce: * Create a new file (script.py) with the following two lines: x = input('prompt: ') print(x) * Save the script * Run the script using the F5 keyboard shortcut (running from the menu works fine) The patch is a fairly crude hack, but we haven't found a better workaround for this Tk bug yet.
* | | Fix for issue 10154, merge from 3.2Ronald Oussoren2011-05-171-1/+1
|\ \ \ | |/ /
| * | (merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to ↵Ronald Oussoren2011-05-171-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | "UTF-8" instead of "UTF8" On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.
| | * Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" ↵Ronald Oussoren2011-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | instead of "UTF8" On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.
* | | Skip some tests in the absence of multiprocessing.Vinay Sajip2011-05-171-5/+11
| | |
* | | Skip some more tests in the absence of threading.Vinay Sajip2011-05-171-260/+263
| | |
* | | (Merge 3.2) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn'tVictor Stinner2011-05-161-1/+1
|\ \ \ | |/ / | | | | | | exist anymore
| * | (Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn'tVictor Stinner2011-05-161-1/+1
| |\ \ | | |/ | | | | | | exist anymore