| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 728e4de commit 77fe77d
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,7 +68,7 @@ taken on the bug. | |||
| 68 | 68 | Article which goes into some detail about how to create a useful bug report. | |
| 69 | 69 | This describes what kind of information is useful and why it is useful. | |
| 70 | 70 | ||
| 71 | - `Bug Writing Guidelines <http://developer.mozilla.org/en/docs/Bug_writing_guidelines>`_ | ||
| 71 | + `Bug Writing Guidelines <https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines>`_ | ||
| 72 | 72 | Information about writing a good bug report. Some of this is specific to the | |
| 73 | 73 | Mozilla project, but describes general good practices. | |
| 74 | 74 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -244,4 +244,4 @@ without warnings does not guarantee that PyPI will convert the content | |||
| 244 | 244 | successfully. | |
| 245 | 245 | ||
| 246 | 246 | ||
| 247 | - .. _Python Package Index (PyPI): https://pypi.python.org/ | ||
| 247 | + .. _Python Package Index (PyPI): https://pypi.python.org/pypi | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -368,9 +368,9 @@ Can Python be compiled to machine code, C or some other language? | |||
| 368 | 368 | ||
| 369 | 369 | Practical answer: | |
| 370 | 370 | ||
| 371 | - `Cython <http://cython.org/>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ | ||
| 371 | + `Cython <http://cython.org/>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ | ||
| 372 | 372 | compile a modified version of Python with optional annotations into C | |
| 373 | - extensions. `Weave <http://www.scipy.org/Weave>`_ makes it easy to | ||
| 373 | + extensions. `Weave <http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ makes it easy to | ||
| 374 | 374 | intermingle Python and C code in various ways to increase performance. | |
| 375 | 375 | `Nuitka <http://www.nuitka.net/>`_ is an up-and-coming compiler of Python | |
| 376 | 376 | into C++ code, aiming to support the full Python language. | |
@@ -392,7 +392,7 @@ approach is feasible, although the speedups reached so far are only modest | |||
| 392 | 392 | Hugunin has demonstrated that in combination with whole-program analysis, | |
| 393 | 393 | speedups of 1000x are feasible for small demo programs. See the proceedings | |
| 394 | 394 | from the `1997 Python conference | |
| 395 | - <https://www.python.org/workshops/1997-10/proceedings/>`_ for more information.) | ||
| 395 | + <http://legacy.python.org/workshops/1997-10/proceedings/>`_ for more information.) | ||
| 396 | 396 | ||
| 397 | 397 | ||
| 398 | 398 | How does Python manage memory? | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ on what you're trying to do. | |||
| 42 | 42 | .. XXX make sure these all work | |
| 43 | 43 | ||
| 44 | 44 | `Cython <http://cython.org>`_ and its relative `Pyrex | |
| 45 | - <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ are compilers | ||
| 45 | + <http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers | ||
| 46 | 46 | that accept a slightly modified form of Python and generate the corresponding | |
| 47 | 47 | C code. Cython and Pyrex make it possible to write an extension without having | |
| 48 | 48 | to learn Python's C API. | |
@@ -53,8 +53,8 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP | |||
| 53 | 53 | <http://www.riverbankcomputing.co.uk/software/sip/>`__, `CXX | |
| 54 | 54 | <http://cxx.sourceforge.net/>`_ `Boost | |
| 55 | 55 | <http://www.boost.org/libs/python/doc/index.html>`_, or `Weave | |
| 56 | - <http://www.scipy.org/Weave>`_ are also alternatives for wrapping | ||
| 57 | - C++ libraries. | ||
| 56 | + <http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ are also | ||
| 57 | + alternatives for wrapping C++ libraries. | ||
| 58 | 58 | ||
| 59 | 59 | ||
| 60 | 60 | How can I execute arbitrary Python statements from C? | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -223,8 +223,8 @@ releases are announced on the comp.lang.python and comp.lang.python.announce | |||
| 223 | 223 | newsgroups and on the Python home page at https://www.python.org/; an RSS feed of | |
| 224 | 224 | news is available. | |
| 225 | 225 | ||
| 226 | - You can also access the development version of Python through Subversion. See | ||
| 227 | - https://docs.python.org/devguide/faq for details. | ||
| 226 | + You can also access the development version of Python through Mercurial. See | ||
| 227 | + https://docs.python.org/devguide/faq.html for details. | ||
| 228 | 228 | ||
| 229 | 229 | ||
| 230 | 230 | How do I submit bug reports and patches for Python? | |
@@ -284,7 +284,7 @@ Why is it called Python? | |||
| 284 | 284 | ||
| 285 | 285 | When he began implementing Python, Guido van Rossum was also reading the | |
| 286 | 286 | published scripts from `"Monty Python's Flying Circus" | |
| 287 | - <http://pythonline.com/>`__, a BBC comedy series from the 1970s. Van Rossum | ||
| 287 | + <http://en.wikipedia.org/wiki/Monty_Python>`__, a BBC comedy series from the 1970s. Van Rossum | ||
| 288 | 288 | thought he needed a name that was short, unique, and slightly mysterious, so he | |
| 289 | 289 | decided to call the language Python. | |
| 290 | 290 | ||
@@ -313,7 +313,7 @@ guaranteed that interfaces will remain the same throughout a series of bugfix | |||
| 313 | 313 | releases. | |
| 314 | 314 | ||
| 315 | 315 | The latest stable releases can always be found on the `Python download page | |
| 316 | - <https://python.org/download/>`_. There are two recommended production-ready | ||
| 316 | + <https://www.python.org/download/>`_. There are two recommended production-ready | ||
| 317 | 317 | versions at this point in time, because at the moment there are two branches of | |
| 318 | 318 | stable releases: 2.x and 3.x. Python 3.x may be less useful than 2.x, since | |
| 319 | 319 | currently there is more third party software available for Python 2 than for | |
@@ -337,9 +337,9 @@ the group or even read it. | |||
| 337 | 337 | Have any significant projects been done in Python? | |
| 338 | 338 | -------------------------------------------------- | |
| 339 | 339 | ||
| 340 | - See https://python.org/about/success for a list of projects that use Python. | ||
| 340 | + See https://www.python.org/about/success for a list of projects that use Python. | ||
| 341 | 341 | Consulting the proceedings for `past Python conferences | |
| 342 | - <https://python.org/community/workshops/>`_ will reveal contributions from many | ||
| 342 | + <https://www.python.org/community/workshops/>`_ will reveal contributions from many | ||
| 343 | 343 | different companies and organizations. | |
| 344 | 344 | ||
| 345 | 345 | High-profile Python projects include `the Mailman mailing list manager | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,13 +59,13 @@ Qt | |||
| 59 | 59 | ||
| 60 | 60 | There are bindings available for the Qt toolkit (using either `PyQt | |
| 61 | 61 | <http://www.riverbankcomputing.co.uk/software/pyqt/>`_ or `PySide | |
| 62 | - <http://www.pyside.org/>`_) and for KDE (`PyKDE <http://www.riverbankcomputing.co.uk/software/pykde/intro>`__). | ||
| 62 | + <http://www.pyside.org/>`_) and for KDE (`PyKDE <https://techbase.kde.org/Development/Languages/Python>`__). | ||
| 63 | 63 | PyQt is currently more mature than PySide, but you must buy a PyQt license from | |
| 64 | 64 | `Riverbank Computing <http://www.riverbankcomputing.co.uk/software/pyqt/license>`_ | |
| 65 | 65 | if you want to write proprietary applications. PySide is free for all applications. | |
| 66 | 66 | ||
| 67 | 67 | Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses | |
| 68 | - are available from `Nokia <http://qt.nokia.com/>`_. | ||
| 68 | + are available from `The Qt Company <http://www.qt.io/licensing/>`_. | ||
| 69 | 69 | ||
| 70 | 70 | Gtk+ | |
| 71 | 71 | ---- | |
@@ -103,7 +103,7 @@ What platform-specific GUI toolkits exist for Python? | |||
| 103 | 103 | ======================================================== | |
| 104 | 104 | ||
| 105 | 105 | By installing the `PyObjc Objective-C bridge | |
| 106 | - <http://pyobjc.sourceforge.net>`_, Python programs can use Mac OS X's | ||
| 106 | + <https://pythonhosted.org/pyobjc/>`_, Python programs can use Mac OS X's | ||
| 107 | 107 | Cocoa libraries. | |
| 108 | 108 | ||
| 109 | 109 | :ref:`Pythonwin <windows-faq>` by Mark Hammond includes an interface to the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -182,7 +182,7 @@ How do I create documentation from doc strings? | |||
| 182 | 182 | The :mod:`pydoc` module can create HTML from the doc strings in your Python | |
| 183 | 183 | source code. An alternative for creating API documentation purely from | |
| 184 | 184 | docstrings is `epydoc <http://epydoc.sf.net/>`_. `Sphinx | |
| 185 | - <http://sphinx.pocoo.org>`_ can also include docstring content. | ||
| 185 | + <http://sphinx-doc.org>`_ can also include docstring content. | ||
| 186 | 186 | ||
| 187 | 187 | ||
| 188 | 188 | How do I get a single keypress at a time? | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,15 +30,15 @@ Pythonwin debugger colors breakpoints and has quite a few cool features such as | |||
| 30 | 30 | debugging non-Pythonwin programs. Pythonwin is available as part of the `Python | |
| 31 | 31 | for Windows Extensions <http://sourceforge.net/projects/pywin32/>`__ project and | |
| 32 | 32 | as a part of the ActivePython distribution (see | |
| 33 | - http://www.activestate.com/Products/ActivePython/index.html). | ||
| 33 | + http://www.activestate.com/activepython\ ). | ||
| 34 | 34 | ||
| 35 | 35 | `Boa Constructor <http://boa-constructor.sourceforge.net/>`_ is an IDE and GUI | |
| 36 | 36 | builder that uses wxWidgets. It offers visual frame creation and manipulation, | |
| 37 | 37 | an object inspector, many views on the source like object browsers, inheritance | |
| 38 | 38 | hierarchies, doc string generated html documentation, an advanced debugger, | |
| 39 | 39 | integrated help, and Zope support. | |
| 40 | 40 | ||
| 41 | - `Eric <http://www.die-offenbachs.de/eric/index.html>`_ is an IDE built on PyQt | ||
| 41 | + `Eric <http://eric-ide.python-projects.org/>`_ is an IDE built on PyQt | ||
| 42 | 42 | and the Scintilla editing component. | |
| 43 | 43 | ||
| 44 | 44 | Pydb is a version of the standard Python debugger pdb, modified for use with DDD | |
@@ -50,7 +50,7 @@ There are a number of commercial Python IDEs that include graphical debuggers. | |||
| 50 | 50 | They include: | |
| 51 | 51 | ||
| 52 | 52 | * Wing IDE (http://wingware.com/) | |
| 53 | - * Komodo IDE (http://www.activestate.com/Products/Komodo) | ||
| 53 | + * Komodo IDE (http://komodoide.com/) | ||
| 54 | 54 | * PyCharm (https://www.jetbrains.com/pycharm/) | |
| 55 | 55 | ||
| 56 | 56 | ||
@@ -69,8 +69,7 @@ plug-ins to add a custom feature. In addition to the bug checking that | |||
| 69 | 69 | PyChecker performs, Pylint offers some additional features such as checking line | |
| 70 | 70 | length, whether variable names are well-formed according to your coding | |
| 71 | 71 | standard, whether declared interfaces are fully implemented, and more. | |
| 72 | - http://www.logilab.org/card/pylint_manual provides a full list of Pylint's | ||
| 73 | - features. | ||
| 72 | + http://docs.pylint.org/ provides a full list of Pylint's features. | ||
| 74 | 73 | ||
| 75 | 74 | ||
| 76 | 75 | How can I create a stand-alone binary from a Python script? | |
@@ -101,13 +100,7 @@ which don't. One is Thomas Heller's py2exe (Windows only) at | |||
| 101 | 100 | ||
| 102 | 101 | http://www.py2exe.org/ | |
| 103 | 102 | ||
| 104 | - Another is Christian Tismer's `SQFREEZE <http://starship.python.net/crew/pirx>`_ | ||
| 105 | - which appends the byte code to a specially-prepared Python interpreter that can | ||
| 106 | - find the byte code in the executable. | ||
| 107 | - | ||
| 108 | - Other tools include Fredrik Lundh's `Squeeze | ||
| 109 | - <http://www.pythonware.com/products/python/squeeze>`_ and Anthony Tuininga's | ||
| 110 | - `cx_Freeze <http://starship.python.net/crew/atuining/cx_Freeze/index.html>`_. | ||
| 103 | + Another tool is Anthony Tuininga's `cx_Freeze <http://cx-freeze.sourceforge.net/>`_. | ||
| 111 | 104 | ||
| 112 | 105 | ||
| 113 | 106 | Are there coding standards or a style guide for Python programs? | |
@@ -1125,7 +1118,7 @@ How do you remove duplicates from a list? | |||
| 1125 | 1118 | ||
| 1126 | 1119 | See the Python Cookbook for a long discussion of many ways to do this: | |
| 1127 | 1120 | ||
| 1128 | - http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52560 | ||
| 1121 | + http://code.activestate.com/recipes/52560/ | ||
| 1129 | 1122 | ||
| 1130 | 1123 | If you don't mind reordering the list, sort it and then scan from the end of the | |
| 1131 | 1124 | list, deleting duplicates as you go:: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ obvious; otherwise, you might need a little more guidance. | |||
| 31 | 31 | ||
| 32 | 32 | .. |Python Development on XP| image:: python-video-icon.png | |
| 33 | 33 | .. _`Python Development on XP`: | |
| 34 | - http://www.showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries | ||
| 34 | + http://showmedo.com/videotutorials/series?name=pythonOzsvaldPyNewbieSeries | ||
| 35 | 35 | ||
| 36 | 36 | Unless you use some sort of integrated development environment, you will end up | |
| 37 | 37 | *typing* Windows commands into what is variously referred to as a "DOS window" | |
@@ -105,7 +105,7 @@ gives you a message like:: | |||
| 105 | 105 | ||
| 106 | 106 | .. |Adding Python to DOS Path| image:: python-video-icon.png | |
| 107 | 107 | .. _`Adding Python to DOS Path`: | |
| 108 | - http://showmedo.com/videos/video?name=960000&fromSeriesID=96 | ||
| 108 | + http://showmedo.com/videotutorials/video?name=960000&fromSeriesID=96 | ||
| 109 | 109 | ||
| 110 | 110 | ||
| 111 | 111 | or:: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments