Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2eca5b465f 
								
							 
						 
						
							
							
								
								[3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232) ( #2242 )  
							
							... 
							
							
							
							This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build..
(cherry picked from commit 11e97f2f80 
							
						 
						
							2017-06-16 09:29:42 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								570b1c971c 
								
							 
						 
						
							
							
								
								[3.6] bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (GH-1888) ( #2013 )  
							
							... 
							
							
							
							'invalid character in identifier' now is raised instead of
'f-string: empty expression not allowed' if a subexpression contains
only whitespaces and they are not accepted by Python parser.
(cherry picked from commit 2e9cd58 
							
						 
						
							2017-06-09 00:38:06 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								89a3102640 
								
							 
						 
						
							
							
								
								[3.6] bpo-29104: Fixed parsing backslashes in f-strings. (GH-490) ( #1812 )  
							
							... 
							
							
							
							(cherry picked from commit 0cd7a3f 
							
						 
						
							2017-05-25 14:18:55 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								4cc30ae313 
								
							 
						 
						
							
							
								
								Issue  #28739 : f-string expressions no longer accepted as docstrings and  
							
							... 
							
							
							
							by ast.literal_eval() even if they do not include subexpressions. 
							
						 
						
							2016-12-11 19:37:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								9b88fdf4f0 
								
							 
						 
						
							
							
								
								Fixed issue  #28633 : segfault when concatenating bytes literal and f-string.  
							
							
							
						 
						
							2016-11-07 17:54:01 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason R. Coombs 
								
							 
						 
						
							
							
							
							
								
							
							
								1c92a76a69 
								
							 
						 
						
							
							
								
								Update test_no_escapes_for_braces to clarify behavior with a docstring and expressions that clearly are not evaluated.  
							
							
							
						 
						
							2016-11-06 11:25:54 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason R. Coombs 
								
							 
						 
						
							
							
							
							
								
							
							
								da25abf712 
								
							 
						 
						
							
							
								
								Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying  #28590 .  
							
							
							
						 
						
							2016-11-06 11:14:48 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason R. Coombs 
								
							 
						 
						
							
							
							
							
								
							
							
								45cab8ccdd 
								
							 
						 
						
							
							
								
								Add an additional test with a newline, one that's very similar to test_parens_in_expressions, but because the newline is not a literal newline, but a backslash en, this error is triggered.  
							
							
							
						 
						
							2016-11-06 11:01:08 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								13c8f3266a 
								
							 
						 
						
							
							
								
								Update the f-string test broken in issue  #28385 .  
							
							
							
						 
						
							2016-10-31 08:13:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								35a24c5a43 
								
							 
						 
						
							
							
								
								Add another f-string comment test, to make sure # are being caught in the right place.  
							
							
							
						 
						
							2016-09-11 19:01:22 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								09835dcdbb 
								
							 
						 
						
							
							
								
								Make an f-string error message more exact and consistent.  
							
							
							
						 
						
							2016-09-11 18:58:20 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								451d0e38fc 
								
							 
						 
						
							
							
								
								Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.  
							
							
							
						 
						
							2016-09-09 21:56:20 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								6a4efce7a5 
								
							 
						 
						
							
							
								
								Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.  
							
							
							
						 
						
							2016-09-03 09:18:34 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								263893c261 
								
							 
						 
						
							
							
								
								Issue  #27626 : Further spelling fixes for 3.6  
							
							
							
						 
						
							2016-07-28 01:25:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								135d5f49f6 
								
							 
						 
						
							
							
								
								Fix issue 26287: While handling FORMAT_VALUE opcode, the top of stack was being corrupted if an error occurred in PyObject_Format().  
							
							
							
						 
						
							2016-02-05 18:23:08 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								b2080f6554 
								
							 
						 
						
							
							
								
								f-strings: More tests for empty expressions along with missing closing braces.  
							
							
							
						 
						
							2015-09-23 10:24:43 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								548c4d3178 
								
							 
						 
						
							
							
								
								Added more f-string test for empty expressions.  
							
							
							
						 
						
							2015-09-23 08:00:01 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								1d44c41b0c 
								
							 
						 
						
							
							
								
								Move f-string compilation of the expression earlier, before the conversion character and format_spec are checked. This allows for error messages that more closely match what a user would expect.  
							
							
							
						 
						
							2015-09-23 07:49:00 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								235a6f0984 
								
							 
						 
						
							
							
								
								Issue  #24965 : Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.  
							
							
							
						 
						
							2015-09-19 14:51:32 -04:00