[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3268

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

There are two PRs for this issue. 
I accepted the earlier one, and it's been backported to 3.6.

Thanks everyone.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions:  -Python 3.5

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 83e5c888fff2bf3663952b2bfd3a3ee6c20386ef by Mariatta in branch 
'3.6':
[3.6] bpo-26656: Improve re.compile documentation (GH-3211) (GH-3225)
https://github.com/python/cpython/commit/83e5c888fff2bf3663952b2bfd3a3ee6c20386ef


--

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +3267

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset ed94a8b2851914bcda3a77b28b25517b8baa91e6 by Mariatta (Henk-Jaap 
Wagenaar) in branch 'master':
bpo-26656: Improve re.compile documentation (GH-3211)
https://github.com/python/cpython/commit/ed94a8b2851914bcda3a77b28b25517b8baa91e6


--
nosy: +Mariatta

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-27 Thread Henk-Jaap Wagenaar

Henk-Jaap Wagenaar added the comment:

Emily: I've signed the CLA, just waiting for it to be checked.

--
nosy: +Henk-Jaap Wagenaar

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-26 Thread Emily Morehouse

Emily Morehouse added the comment:

PR 3211 - LGTM, but is not CLA signed.

Elena, a couple of notes on your patch. Using :ref:`regular expression object 
` to link to the section of the documentation is preferred, as it 
does not rely on a consistent URL. Also, be mindful of line lengths, feel free 
to break lines to avoid this. If you would like to submit a PR on Github for 
these changes, it can more easily be merged in. (Check 
https://docs.python.org/devguide/pullrequest.html for more info).

--

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-26 Thread Elena Oat

Elena Oat added the comment:

Added the link to the regular expression objects.

--
keywords: +patch
nosy: +Elena.Oat
Added file: http://bugs.python.org/file47103/issue26656.diff

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-26 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3249

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-08-09 Thread SylvainDe

SylvainDe added the comment:

@swapnil agarwal I think you can go for it.

--

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-06-19 Thread swapnil agarwal

swapnil agarwal added the comment:

hello team,

I am novice developer. Can I take it up as my first bug.

--
nosy: +swapnil agarwal

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-06-12 Thread Emily Morehouse

Emily Morehouse added the comment:

YAHO (yet another humble opinion), I support improving the current re.compile 
documentation by adding a link to the regular expression object documentation. 
Great way to point a user to the complete list of methods and attributes while 
keeping match() and search() listed explicitly.

--
nosy: +emilyemorehouse

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-06-11 Thread SylvainDe

SylvainDe added the comment:

IMHO, the sentence is not bad as it is. An easy (?) yet efficient way to make 
it much better from the a user perspective would be to make the "regular 
expression object" text a link leading to 
https://docs.python.org/3/library/re.html#regular-expression-objects .

--
nosy: +SylvainDe

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-06-04 Thread Raymond Hettinger

Raymond Hettinger added the comment:

FWIW, I think the sentence is fine as-is.  The "which can be used" part doesn't 
purport to be all inclusive.   I rather like that at match() and search() are 
mentioned -- this is better than more vague reference to "the methods described 
below" -- and this is better than listing out every method.

I vote for leaving this alone.

--
nosy: +rhettinger
status: pending -> open

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2017-06-04 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
keywords: +easy
status: open -> pending

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2016-10-23 Thread Matthew Barnett

Matthew Barnett added the comment:

@Sworddragon: Your post says that it should be more generic or complete the 
list, but it doesn't make a suggestion as to what it should _actually_ say.

Example: "Compile a regular expression pattern into a regular expression 
object, which can be used for matching and replacing using the methods 
described below."

--

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2016-10-23 Thread Sworddragon

Sworddragon added the comment:

The proposal is in the startpost.

--

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2016-10-23 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

What do you propose for the doc of re.compile ?

--
nosy: +matrixise

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2016-10-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
components: +Regular Expressions
nosy: +ezio.melotti, mrabarnett
type: behavior -> enhancement
versions: +Python 3.6, Python 3.7

___
Python tracker 

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



[issue26656] Documentation for re.compile is a bit outdated

2016-03-28 Thread Sworddragon

New submission from Sworddragon:

The documentation for re.compile says "Compile a regular expression pattern 
into a regular expression object, which can be used for matching using its 
match() and search() methods, described below." which implies that match() and 
search() are the only methods for it while there are a few more. Maybe this 
sentence should be worded more generic or at least complete the list.

--
assignee: docs@python
components: Documentation
messages: 262571
nosy: Sworddragon, docs@python
priority: normal
severity: normal
status: open
title: Documentation for re.compile is a bit outdated
type: behavior
versions: Python 3.5

___
Python tracker 

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