- 29 Jul, 2011 11 commits
-
-
Éric Araujo authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Eli Bendersky authored
Merge from 3.2: Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti
-
Eli Bendersky authored
Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti
-
Eli Bendersky authored
As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen
-
Éric Araujo authored
- Use shortcut dist.version instead of going through metadata; - Use %r throughout to display project names and paths.
-
Éric Araujo authored
-
Éric Araujo authored
This will help scripts calling pysetup know if a command failed. Printing/logging was also made more consistent, and a few things were cleaned up. In particular, the error/Ctrl-C handling was moved from the _run function up to the main function. The run action is not fixed yet; it returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix.
-
Éric Araujo authored
“pysetup list” or “pysetup list --all” will continue to return 0 if no distribution is found (it’s not an error), but “pysetup list some.project” will now exit with 1 if no matching installed distribution is found. Based on a patch by Kelsey Hightower.
-
Éric Araujo authored
-
- 28 Jul, 2011 12 commits
-
-
Éric Araujo authored
The tests don’t use an internal distutils function anymore, and use regular assertEqual with sorted lists instead of a convoluted manual diff.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
Also remove an extra docstring.
-
Éric Araujo authored
-
Éric Araujo authored
Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the docs mailing list and on the bug tracker.
-
Éric Araujo authored
R. David Murray and I think that it’s more useful to have these files show up in the output of “hg status”, to let the user know that some merged file have to be checked before commit. If you want to ignore these files in your clones, it’s possible to do so from another ignore file; see the bug report for directions. I’m leaving the .gitignore file alone, as I don’t know how git users work with merges and conflicts.
-
Éric Araujo authored
-
Raymond Hettinger authored
-
Senthil Kumaran authored
merge from 3.2 - Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
-
Senthil Kumaran authored
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
-
- 27 Jul, 2011 17 commits
-
-
Éric Araujo authored
The public names (Thread, Condition, etc.) used to be factory functions returning instances of hidden classes (_Thread, _Condition, etc.), because (if Guido recalls correctly) this code pre-dates the ability to subclass extension types. It is now possible to inherit from Thread and other classes, without having to import the private underscored names like multiprocessing did. A doc update will follow: a patch is under discussion on the issue.
-
Charles-François Natali authored
to avoid timing-dependent failures.
-
Charles-François Natali authored
to avoid timing-dependent failures.
-
Charles-François Natali authored
-
Charles-François Natali authored
-
Eli Bendersky authored
-
Eli Bendersky authored
-
Éric Araujo authored
This function used to live as pipes.quote, where it was undocumented but used anyway. (An alias still exists for backward compatibility.) The tests have been moved as is, but the code of the function was changed to use a regex instead of a loop with string comparisons (at Ian Bicking’s suggestion). I’m terrible at regexes, so any feedback is welcome.
-
Senthil Kumaran authored
merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
-
Senthil Kumaran authored
-
Ross Lagerwall authored
-
Ross Lagerwall authored
given as a low fd, it gets overwritten.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Ned Deily authored
when opening a long file. With Tk 8.5, the first line was hidden.
-
Ned Deily authored
when opening a long file. With Tk 8.5, the first line was hidden.
-
Senthil Kumaran authored
merge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
-