[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-07 Thread Ned Deily

New submission from Ned Deily:

This is in reference to section 5.6 of the "Extending and Embedding Python" 
doc.  This has come up recently where third-party projects are using 
LINKEDFORHARED instead of the results of python-config when linking an embedded 
Python into their projects. See discussion in Issue3588. Also, the updates to 
section 5.6 made for Python 3 should be backported to the Python 2.7 doc.

http://docs.python.org/3/extending/embedding.html#compiling-and-linking-under-unix-like-systems

http://docs.python.org/2/extending/embedding.html#linking-requirements

--
assignee: ned.deily
components: Documentation
messages: 190779
nosy: ned.deily
priority: normal
severity: normal
stage: needs patch
status: open
title: Embedding Python doc incorrectly refers to LINKFORSHARED
versions: Python 2.7, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-07 Thread Wichert Akkerman

Changes by Wichert Akkerman :


--
nosy: +wichert

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-12 Thread egallager

egallager added the comment:

For reference, this originally came from the following MacPorts ticket: 
https://trac.macports.org/ticket/39223#comment:14

--
nosy: +E.Money

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-12 Thread Éric Araujo

Éric Araujo added the comment:

I think it was Antoine who committed the patch originally.

--
nosy: +eric.araujo, pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-12 Thread Ned Deily

Changes by Ned Deily :


Added file: http://bugs.python.org/file30567/issue18164-27.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-12 Thread Ned Deily

Ned Deily added the comment:

On further review, I think the 3.x documentation is pretty good as is.  I 
propose one change to it: getting another config var to help emphasize "the 
configuration values that you will want to combine together".  The proposed 2.7 
patch backports the whole 3.x section including that change.

--
keywords: +patch
stage: needs patch -> commit review
Added file: http://bugs.python.org/file30566/issue18164_3x.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e18b92bae4d6 by Ned Deily in branch '2.7':
Issue #18164: Backport the more detailed embedding compile-and-link section
http://hg.python.org/cpython/rev/e18b92bae4d6

New changeset 4a114b0db866 by Ned Deily in branch '3.3':
Issue #18164: Clarify the embedding docs regarding link options.
http://hg.python.org/cpython/rev/4a114b0db866

New changeset 262689e0fa2a by Ned Deily in branch 'default':
Issue #18164: merge from 3.3
http://hg.python.org/cpython/rev/262689e0fa2a

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-24 Thread Ned Deily

Ned Deily added the comment:

Patches committed (with consistent use of get_config_var as suggested by 
Antoine) for 2.7.5, 3.3.3, and 3.4.0 docs.

--
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com