Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix another ResourceWarning in test_packaging. | Ezio Melotti | 2011-05-20 | 2 | -1/+3 |
| | |||||
* | Fix more ResourceWarnings in test_packaging moving the join() and ↵ | Ezio Melotti | 2011-05-20 | 1 | -6/+3 |
| | | | | server_close() in the stop method. | ||||
* | Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex() | Charles-François Natali | 2011-05-20 | 1 | -2/+18 |
| | | | | accept and return str instead of bytes arrays. Add some more tests. | ||||
* | Fix several ResourceWarnings in test_packaging. | Ezio Melotti | 2011-05-20 | 1 | -1/+6 |
| | |||||
* | (Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabled | Victor Stinner | 2011-05-20 | 1 | -0/+6 |
|\ | |||||
| * | test_pydoc: skip PydocServerTest if thread support is disabled | Victor Stinner | 2011-05-20 | 1 | -0/+6 |
| | | |||||
* | | packaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMES | Victor Stinner | 2011-05-19 | 1 | -4/+11 |
| | | |||||
* | | fix packaging tests on Windows: use os.path.join() in glob patterns | Victor Stinner | 2011-05-19 | 2 | -14/+16 |
| | | |||||
* | | (Merge 3.2) Issue #12124: zipimport doesn't keep a reference to | Victor Stinner | 2011-05-19 | 1 | -17/+0 |
|\ \ | |/ | | | | | zlib.decompress() anymore to be able to unload the module. | ||||
| * | (Merge 3.1) Issue #12124: zipimport doesn't keep a reference to | Victor Stinner | 2011-05-19 | 1 | -17/+0 |
| |\ | | | | | | | | | | zlib.decompress() anymore to be able to unload the module. | ||||
| | * | Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore | Victor Stinner | 2011-05-19 | 1 | -17/+0 |
| | | | | | | | | | | | | to be able to unload the module. | ||||
| | * | Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python | Victor Stinner | 2011-05-18 | 1 | -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, support | Victor Stinner | 2011-05-18 | 2 | -4/+33 |
| | | | | | | | | | | | | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky. | ||||
* | | | packaging: fix the constructor of FakePopen | Victor Stinner | 2011-05-19 | 1 | -2/+8 |
| | | | | | | | | | | | | packaging.util requires the env keyword. | ||||
* | | | fix packaging.compiler.msvc9compiler: os.environ['path'] value is also a str | Victor Stinner | 2011-05-19 | 1 | -2/+1 |
| | | | | | | | | | | | | Don't encode the path list | ||||
* | | | fix packaging.compiler.msvc9compiler: os.environ values are str, not bytes | Victor Stinner | 2011-05-19 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #12112: fix the encoding of setup.py in the packaging module | Victor Stinner | 2011-05-19 | 2 | -4/+7 |
| | | | | | | | | | | | | | | | * read: use tokenize.detect_encoding() * write: use 'utf-8' | ||||
* | | | Refactor a few tests to use the new requires_zlib decorator. | Ezio Melotti | 2011-05-19 | 5 | -79/+49 |
| | | | |||||
* | | | Skip tests that require zlib in the packaging tests. Also add a ↵ | Ezio Melotti | 2011-05-19 | 7 | -14/+41 |
| | | | | | | | | | | | | requires_zlib decorator to test.support. | ||||
* | | | Issue #12120, Issue #12119: tests were missing a sys.dont_write_bytecode check | Tarek Ziade | 2011-05-19 | 2 | -2/+4 |
| | | | |||||
* | | | removed unused method in packaging.create | Tarek Ziade | 2011-05-19 | 1 | -13/+0 |
| | | | |||||
* | | | Issue #12112: packaging reads/writes metadata using UTF-8 | Victor Stinner | 2011-05-19 | 3 | -9/+9 |
| | | | |||||
* | | | Issue #12112: packaging reads and writes setup.cfg using UTF-8 | Victor Stinner | 2011-05-19 | 5 | -11/+11 |
| | | | |||||
* | | | package: replace open(fn, 'w').close() by open(fn, 'wb').close() | Victor Stinner | 2011-05-19 | 5 | -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: close | Victor Stinner | 2011-05-19 | 11 | -70/+42 |
| | | | |||||
* | | | fixed the path splitting | Tarek Ziade | 2011-05-19 | 1 | -1/+2 |
| | | | |||||
* | | | Issue #12115: skipping all tests that need threading under a threadless ↵ | Tarek Ziade | 2011-05-19 | 4 | -4/+35 |
| | | | | | | | | | | | | environment | ||||
* | | | Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging | Victor Stinner | 2011-05-19 | 2 | -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 checksums | Victor Stinner | 2011-05-19 | 3 | -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 run | Tarek Ziade | 2011-05-19 | 1 | -6/+14 |
| | | | |||||
* | | | make sure split() is called before the encoding | Tarek Ziade | 2011-05-19 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #12109 fixing typo in packaging's test_command_upload_docs | Tarek Ziade | 2011-05-19 | 1 | -2/+2 |
| | | | |||||
* | | | initial import of the packaging package in the standard library | Tarek Ziade | 2011-05-19 | 192 | -151/+30374 |
| | | | |||||
* | | | os.sendfile() test: fix "AttributeError: 'NoneType' object has no attribute ↵ | Giampaolo Rodola' | 2011-05-18 | 1 | -73/+74 |
| | | | | | | | | | | | | | | | | | | 'Thread'" when running tests with --without-threads option. reference: http://bugs.python.org/issue10882#msg136257 | ||||
* | | | Skip test_smtpnet when ssl is not available | Antoine Pitrou | 2011-05-18 | 1 | -1/+2 |
| | | | |||||
* | | | Issue #12065: connect_ex() on an SSL socket now returns the original errno | Antoine Pitrou | 2011-05-18 | 2 | -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 errno | Antoine Pitrou | 2011-05-18 | 2 | -11/+30 |
| | | | | | | | | | | | | when the socket's timeout expires (it used to return None). | ||||
* | | | Also protect ehlo() and quit() with the transient_internet() context manager | Antoine Pitrou | 2011-05-18 | 1 | -8/+8 |
| | | | |||||
* | | | Issue #8809: The SMTP_SSL constructor and SMTP.starttls() now support | Antoine Pitrou | 2011-05-18 | 2 | -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 in | Victor Stinner | 2011-05-17 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | test_threading.test_waitfor(). Patch written by Charles-François Natali. | ||||
| * | | Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch | Victor Stinner | 2011-05-17 | 1 | -1/+1 |
| | | | | | | | | | | | | written by Charles-François Natali. | ||||
* | | | Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5 | Ronald Oussoren | 2011-05-17 | 1 | -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.5 | Ronald Oussoren | 2011-05-17 | 1 | -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.2 | Ronald Oussoren | 2011-05-17 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | (merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to ↵ | Ronald Oussoren | 2011-05-17 | 1 | -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 Oussoren | 2011-05-17 | 1 | -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 Sajip | 2011-05-17 | 1 | -5/+11 |
| | | | |||||
* | | | Skip some more tests in the absence of threading. | Vinay Sajip | 2011-05-17 | 1 | -260/+263 |
| | | | |||||
* | | | (Merge 3.2) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't | Victor Stinner | 2011-05-16 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | exist anymore | ||||
| * | | (Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't | Victor Stinner | 2011-05-16 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | exist anymore |