Ezio Melotti
8dc04a4dd1
Merged revisions 77310-77311 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77310 | antoine.pitrou | 2010-01-05 01:22:44 +0200 (Tue, 05 Jan 2010) | 4 lines
Issue #7092 : Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag. Patch by Florent Xicluna.
........
r77311 | antoine.pitrou | 2010-01-05 01:28:16 +0200 (Tue, 05 Jan 2010) | 3 lines
Kill a couple of "<>"
........
2010-08-02 00:24:26 +00:00
Georg Brandl
f004d9dc84
Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line
#3584 : ignore trailing newlines when placing the caret for a SyntaxError location.
........
r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line
Add test for #3684 .
........
r73299 | georg.brandl | 2009-06-08 20:41:36 +0200 (Mo, 08 Jun 2009) | 1 line
Typo fix.
........
r73683 | georg.brandl | 2009-06-29 16:44:49 +0200 (Mo, 29 Jun 2009) | 1 line
Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
r74020 | georg.brandl | 2009-07-16 09:18:07 +0200 (Do, 16 Jul 2009) | 1 line
#5910 : fix kqueue for calls with more than one event.
........
r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line
Fix the "pylocals" gdb command.
........
r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line
#6775 : fix python.org URLs in README.
........
r74643 | georg.brandl | 2009-09-04 08:59:20 +0200 (Fr, 04 Sep 2009) | 2 lines
Issue #2666 : Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
r74647 | georg.brandl | 2009-09-04 10:17:04 +0200 (Fr, 04 Sep 2009) | 2 lines
Issue #5275 : In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line
Make deprecation notices as visible as warnings are right now.
........
r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line
Remove some more boilerplate from the actual tests in test_pdb.
........
r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line
Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
........
r74865 | georg.brandl | 2009-09-17 09:49:37 +0200 (Do, 17 Sep 2009) | 1 line
#6912 : add "with" block support to pindent.
........
r74946 | georg.brandl | 2009-09-19 10:43:16 +0200 (Sa, 19 Sep 2009) | 1 line
Update bug tracker reference.
........
r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line
#7125 : fix typo.
........
r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line
Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line
Fix stylesheet for multi-paragraph impl-details.
........
r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line
Fix a demo.
........
2009-10-27 15:39:53 +00:00
Georg Brandl
ee250301b7
Fix a few webbrowser.py problems.
2007-07-01 08:11:35 +00:00
Georg Brandl
972ca507aa
Fix #1684254 : split BROWSER contents with shlex to avoid displaying 'URL'.
2007-03-21 11:51:25 +00:00
Georg Brandl
8f06d02935
Bug #1681228 : the webbrowser module now correctly uses the default
...
GNOME or KDE browser, depending on whether there is a session of one
of those present. Also, it tries the Windows default browser before
trying Mozilla variants.
(backport)
2007-03-16 07:55:09 +00:00
Georg Brandl
8c6674511b
Bug #1565661 : in webbrowser, split() the command for the default
...
GNOME browser in case it is a command with args.
2006-09-30 07:31:57 +00:00
Georg Brandl
2c94bf7d41
Fix webbrowser.BackgroundBrowser on Windows.
2006-09-24 10:36:01 +00:00
Georg Brandl
f3321b5e76
webbrowser: Silence stderr output if no gconftool or gnome browser found
2006-08-08 11:52:34 +00:00
Georg Brandl
b2afe855e5
Make use of new str.startswith/endswith semantics.
...
Occurences in email and compiler were ignored due to backwards compat requirements.
2006-06-09 20:43:48 +00:00
Georg Brandl
7377ad2ecd
Add seamonkey to list of Windows browsers too.
2006-05-03 17:46:13 +00:00
Georg Brandl
314acacb52
Add SeaMonkey to the list of Mozilla browsers.
2006-04-28 16:31:17 +00:00
Tim Peters
887c080a80
Whitespace normalization.
2006-01-20 23:40:56 +00:00
Georg Brandl
23929f2828
Try to resolve the remaining webbrowser issues (backgrounding, local urls)
2006-01-20 21:03:35 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Georg Brandl
4a5a91838b
Prefer GNOME browser over mozilla.
2005-11-22 19:18:01 +00:00
Georg Brandl
1cb179e93f
Bug #1338995 : fix problem with new webbrowser.py.
2005-11-09 21:42:48 +00:00
Georg Brandl
b980113a8d
Fix errors in _synthesize because of missing basename attribute of
...
browser controller classes.
2005-10-08 20:47:38 +00:00
Neal Norwitz
196f733d93
Fix pychecker warnings
2005-10-04 03:17:49 +00:00
Georg Brandl
e8f244305e
Patch #754022 : Greatly enhanced webbrowser.py.
2005-10-03 14:16:44 +00:00
Andrew M. Kuchling
9a2a1cb031
[Patch #981794 ] Add support for Firefox/Firebird
2004-07-10 22:07:02 +00:00
Raymond Hettinger
bac788a3cd
Replace str.find()!=1 with the more readable "in" operator.
2004-05-04 09:21:43 +00:00
Gustavo Niemeyer
1456fde6a0
Fixed bug
...
[#495695 ] webbrowser.py: selection of browser
* Lib/webbrowser.py
Only include graphic browsers in _tryorder if DISPLAY is set. Also,
included skipstone support, as suggested by Fred in the mentioned bug.
* Misc/NEWS
Mention fix and skipstone inclusion.
2002-11-25 17:25:04 +00:00
Neal Norwitz
520cdf733a
SF # 539360, webbrowser.py and konqueror, by Andy McKay
...
Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'
Will backport.
2002-10-11 22:04:22 +00:00
Neal Norwitz
8dd28eb973
SF # 585913, Adds Galeon support to webbrowser.py
2002-10-10 22:49:29 +00:00
Raymond Hettinger
10ff706e27
Replaced boolean tests with is None.
2002-06-02 03:04:52 +00:00
Raymond Hettinger
54f0222547
SF 563203. Replaced 'has_key()' with 'in'.
2002-06-01 14:18:47 +00:00
Tim Peters
bc0e910826
Convert a pile of obvious "yes/no" functions to return bool.
2002-04-04 22:55:58 +00:00
Jack Jansen
ff0a7b8ca2
If no webbrowsers were found _tryorder would be empty, cmd would never be set and the "del cmd" would fail. Fixed.
...
2.2.1 candidate.
2002-03-15 13:47:32 +00:00
Neal Norwitz
f963b45dfd
SF #515026 , delete global variable that was apparently used only
...
in a for loop.
2002-02-11 18:11:09 +00:00
Fred Drake
925f144274
Fix webbrowser.py security bug: be more careful about what we pass to
...
os.system().
This closes Python bug #500401 , Debian bug #127507 .
2002-01-07 15:29:01 +00:00
Guido van Rossum
4b402f2074
Address SF patch #485789 (Stefan Schwarzer).
...
$BROWSER should be split on os.pathsep, not on ":".
2001-12-04 17:43:22 +00:00
Guido van Rossum
cb33165ca2
_tryorder should always be a list, then the problem Jack had to fix in
...
1.24 wouldn't have occurred in the first place.
Remove a debug print command accidentally inserted by Martin in 1.23.
2001-12-03 15:51:31 +00:00
Jack Jansen
55c5abb52f
Missing comma in tuple initializer caused webbrowser.open() not to work at
...
all in MacPython. (why did noone ever notice this?)
2001-12-03 15:44:17 +00:00
Martin v. Löwis
3a89b2b131
Patch #484847 : Default to netscape.exe on OS/2.
2001-11-25 14:35:58 +00:00
Fred Drake
16623fe3e6
_os should be os; reported by Neal Norwitz.
2001-10-13 16:00:52 +00:00
Andrew M. Kuchling
118aa5337c
Fix malformed line (PyChecker)
2001-08-13 14:37:23 +00:00
Fred Drake
3f8f1643c8
Remove some false comments.
...
Reorganize so the initialization sequences does not bite us in the foot.
(There is no good reason to discard classes that clients may want to
subclass.)
2001-07-19 03:46:26 +00:00
Skip Montanaro
cdab3bf7eb
If the user's environment has set the BROWSER environment variable (as Gnome
...
seems to do), the user may not be aware of its contents. Attempt to add any
to _browsers.
closes bug #429136
2001-07-18 20:03:32 +00:00
Fred Drake
f4e5bd9df5
_synthesize(): Helper function: when the users passes a specific
...
value for the 'using' parameter of the get() function
or the BROWSER environment variable, if the thing
passed in is a path (as seems to be the case with KDE)
instead of a short name, examine the available
controllers to see if we can synthesize one based on a
pre-registered controller that shares the same base
name.
get(): If the user specifies a browser we don't know about, use
_synthesize() to attempt to create a usable controller.
Some small adjustments were needed in some of the browser classes to
support this.
2001-04-12 22:07:27 +00:00
Eric S. Raymond
f7eb4faf38
Fixes a fatal bug when the module has computed alternatives containing %s.
2001-03-31 01:50:52 +00:00
Fred Drake
fc31f2692f
Update auto-detection for Konqueror to include KDE 2 -- the kfm command is
...
gone; "konqueror" is the new name, and the command-line args are different.
kfmclient has not changed, though.
2001-03-26 15:06:15 +00:00
Ka-Ping Yee
0a8c29be4b
Clarify synopsis line a bit.
...
Remove -no-about-splash option (not understood by all Netscapes).
2001-03-02 02:01:40 +00:00
Skip Montanaro
40fc16059f
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
...
giving it a slight facelift
2001-03-01 04:27:19 +00:00
Tim Peters
85ba673b0a
Whitespace normalization.
2001-02-28 08:26:44 +00:00
Jeremy Hylton
8016a4b0af
Remove two meaningless, module-level global statements (one of a
...
non-existent variable :-).
Reflow long lines.
2001-02-27 18:44:14 +00:00
Tim Peters
658cba6706
Whitespace normalization.
2001-02-09 20:06:00 +00:00
Eric S. Raymond
cfa4096618
Fixed autoraise glitches.
2001-01-23 15:49:34 +00:00
Eric S. Raymond
f79cb2db3e
Expose the autoraise capability. Improve the documentation.
2001-01-23 13:49:44 +00:00
Eric S. Raymond
f7f185116a
Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee's
...
complaints. The new version moves most of its initialization to
package load time; it's simpler, faster, smaller, and adds support for
Mozilla and Links. Interpretation of the BROWSER variable now works
and is documented. The open_new entry point and methods are marked
"deprecated; may be removed in 2.1".
2001-01-23 13:16:32 +00:00
Tim Peters
e119006e7d
Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
2001-01-15 03:34:38 +00:00